cloud-fan commented on code in PR #38864:
URL: https://github.com/apache/spark/pull/38864#discussion_r1045673103
##########
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4:
##########
@@ -40,6 +40,11 @@ options { tokenVocab = SqlBaseLexer; }
* When true, double quoted literals are identifiers rather than STRINGs.
*/
public boolean double_quoted_identifiers = false;
+
+ /**
+ * When true, identifiers that begin from `:` are considered as named
parameters.
+ */
+ public boolean parameters_enabled = false;
Review Comment:
This is a new SQL syntax, it won't break any existing queries. Do we really
need a feature flag?
--
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]