Member since
07-28-2022
1
Post
0
Kudos Received
0
Solutions
07-28-2022
02:32 PM
I have a directory of say 10 SQL files and out of which I need to run only 5 SQL files. I am trying to achieve this by creating an array of only the five files that I need to execute and trying to call Beeline -f in for loop to execute the files . But the solution does not seem to be working . The SQL can be triggered when I run beeline -f mysqlfile.sql for eachline in "${testarray[@]}" do beeline -f '${eachline}'.sql done
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive