abhishekagarwal87 commented on code in PR #12414:
URL: https://github.com/apache/druid/pull/12414#discussion_r846037205
##########
sql/src/main/codegen/includes/insert.ftl:
##########
@@ -34,7 +34,7 @@ SqlNode DruidSqlInsertEof() :
<CLUSTERED> <BY>
clusteredBy = ClusterItems()
]
- // EOF is also present in SqlStmtEof but is a special case and multiple
occurances together are valid with one token
+ // EOF is also present in SqlStmtEof but EOF is a special case and a single
EOF can be consumed multiple times. The reason for adding EOF here is to ensure
that we create a DruidSqlInsert node after the syntax has been validated and
throw SQL syntax errors before performing validations in the DruidSqlInsert
which can overshadow the actual error message```
Review Comment:
can we break this to multi-line comment?
--
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]