beliefer commented on a change in pull request #28154: [SPARK-31372][SQL] Check
the validity of built-in function aliases
URL: https://github.com/apache/spark/pull/28154#discussion_r405925424
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
##########
@@ -350,7 +350,7 @@ object FunctionRegistry {
expression[StringTrimLeft]("ltrim"),
expression[JsonTuple]("json_tuple"),
expression[ParseUrl]("parse_url"),
- expression[StringLocate]("position"),
+ expression[StringLocate]("position", true),
Review comment:
OK. I will open another PR to manually handle the aliases. This PR is used
to add more powerful guarantees so that aliases outputed by built-in functions
are correct.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]