Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
Impala 2.3.0
-
None
-
None
Description
The following query will not work in Impala even though it should
-- It's working select 1;
or
/* It's working */ select 1;
The reason seems to be that the quote in the comment is treated as a literal quote and not ignored. This has two very very negative consequences
- The impala shell hangs when a comment with quotes is used and has to be killed.
- When the query is submitted via beeswax / hs2 the error message is missing quote, but the Impala debug webpage only shows "Session closed" with no further error message. Making it very hard to debug and since Impala shell hangs it's not even possible for the user to check what's happening locally.