Description
The SQL below has unclosed bracketed comment.
/*abc*/ select 1 as a /* 2 as b /*abc*/ , 3 as c /**/ ;
But Spark will output:
a
1
PostgreSQL also supports the feature, and output:
SQL 错误 [42601]: Unterminated block comment started at position 47 in SQL /*abc*/ -- block comment select 1 as a /* 2 as b /*abc*/ , 3 as c /**/ . Expected */ sequence
Attachments
Issue Links
- causes
-
SPARK-37939 Use error classes in the parsing errors of properties
- Resolved
- links to