I am trying to run hql file present in cloud storage using airflow script,there are two parameters through which we can pass the path to DataprocHiveOperator :
- Query: 'gs://bucketpath/filename.q'
Error occuring - cannot recognize input near 'gs' ':' '/'
- query_uri :'gs://bucketpath/filename.q'
Error occuring: PendingDeprecationWarning: Invalid arguments were passed to DataProcHiveOperator. Support for passing such arguments will be dropped in Airflow 2.0. Invalid arguments were:
*args: ()
**kwargs: {'query_uri': 'gs://poonamp_pcloud/hive_file1.q'
Using Query param , i have successfully run hive queries(select * from table)
Is there any way to run hql file stored in cloud storage bucket through dataprochiveoperator ?