Description
This seems to be related to HIVE-13864 but I'm not sure that HIVE-16935 fixes it as the example is different. Please flag as a dupe and close if that's the case.
If you download the two attached files and run this command it's quits parsing at the comment.
beeline -u jdbc:hive2://localhost:10000 -f ./bug_run.sql
{{ Error: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line 1:7 Invalid table alias or column reference 'c1': (possible column names are: ) (state=42000,code=10004)}}