Member since
02-20-2023
2
Posts
0
Kudos Received
0
Solutions
02-27-2023
10:48 PM
@AsimShaikh version used for hive cli 1.2.1. Version used for beeline 3.1.3. I am using shell script redirect just to log into a log file. hive -v -e "alter table table1 drop partition(keyword='value');" > test.log
... View more
02-20-2023
04:26 AM
I am looking for beeline equivalent for hive cli -v(echo executed SQL to the console). In beeline --verbose mode is there but it does not echo executed SQL like cli does. It just shows the error and debugging info. Is there any way i can get executed SQL for beeline? sample queries) hive -v -e "alter table table1 drop partition(keyword='value');" > test.log - add SQL to test.log beeline --verbose -e "alter table table1 drop partition(keyword='value');" > test.log - does not add SQL to test.log
... View more
Labels:
- Labels:
-
Apache Hive