Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
I've been running some queries for a while when I've noticed that my initscript has an error; and beeline stops interpreting the initscript after encountering the first error.
echo 'invalid;' > init.sql echo 'select 1;' > s1.sql beeline -u jdbc:hive2://localhost:10000/ -n hive -i init.sql -f s1.sql [...] Running init script init.sql 0: jdbc:hive2://localhost:10000/> invalid; Error: Error while compiling statement: FAILED: ParseException line 1:0 cannot recognize input near 'invalid' '<EOF>' '<EOF>' (state=42000,code=40000) 0: jdbc:hive2://localhost:10000/> select 1; [...] $ echo $? 0
Attachments
Attachments
Issue Links
- relates to
-
HIVE-19047 Only the first init file is interpreted
- Closed
- links to