[
https://issues.apache.org/jira/browse/HIVE-20963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699341#comment-16699341
]
Alan Gates commented on HIVE-20963:
-----------------------------------
Zoltan is correct, // is not standard SQL. And Hive does support /* */ style,
as can be seen from some of the unit tests that use them, e.g. comment.q
> Handle C-Style comments in hive query
> -------------------------------------
>
> Key: HIVE-20963
> URL: https://issues.apache.org/jira/browse/HIVE-20963
> Project: Hive
> Issue Type: Bug
> Components: Parser
> Reporter: Shubhangi Pardeshi
> Priority: Major
>
> h3. Problem
> Currently only Std. SQL. style comment i.e. "–" can be used in query.
> Requesting to add support for C-Style single line as well as multiline
> comments.
> 1. /* <comment text line1> */
> 2. /* <comment text line1>
> <comment text line2> */
> 3. // <comment text line1>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)