Member since
11-08-2021
2
Posts
0
Kudos Received
0
Solutions
11-09-2021
03:40 AM
Hive parameters are user input so it's not a fixed value that can be defined inside a hql. It must be passed as an argument. Pls advice.
... View more
11-08-2021
07:56 PM
Is it possible to send hive variables to multiple hql files/queries and execute them in a single hive session? when I try something like this, only the first query is picking up the variables and other is returning no result. $beeline -u "{$url}" --hivevar FROM=2020 --hivevar TO=2021 -e "$(cat loadTable1.hql loadTable2.hql)" Where both the hqls take these two variables as parameters. My goal is to run my hqls in parallel in one hive sessions, are there any cons to this approach? -Thanks
... View more
Labels:
- Labels:
-
Apache Hive