srielau commented on PR #47186: URL: https://github.com/apache/spark/pull/47186#issuecomment-2214573156
> We need to be careful when adding new Spark-only SQL syntaxes, but it doesn't mean Spark can't be the first one to do innovation. > > It seems to be a natural extension of the existing `::` syntax. Does it introduce any ambiguity to our parser rules? Where do we document it? I don't think there can be an ambiguity. It would require`:: :param` which is not legal. As for docs: You are making a good point. I cannot find existing docs for `try_cast` or `::`. Should fix all that in one go. -- 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]
