juliuszsompolski commented on pull request #34815:
URL: https://github.com/apache/spark/pull/34815#issuecomment-989805420
I don't have a strong opinion either, but in this case it is a `;` inside a
comment, and other examples here showed that `;` inside a comment should not
terminate command:
```
spark-sql> /* SELECT /*+ HINT() 4; */
> SELECT 1;
```
if the `;` after `HINT()` does not terminate a command here,
then I think the `;` at end of line in
```
spark-sql> /* This is a comment without end symbol SELECT 1;
```
also shouldn't?
I can imagine an edge case, where someone has a multi-line comment in their
SQL that contains either some snippet of code with `;` terminated lines, or
some bullet points with some arguments terminated with `;` that they copy paste
into the console.
But I don't have a strong opinion and for the most part I think it's not a
practical edge case...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]