panbingkun commented on code in PR #48087: URL: https://github.com/apache/spark/pull/48087#discussion_r1758494554
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala: ########## @@ -618,3 +619,45 @@ case class SQLKeywords() extends LeafExpression with Generator with CodegenFallb override def prettyName: String = "sql_keywords" } + +@ExpressionDescription( + usage = """_FUNC_() - Get all of the Spark SQL string collations""", + examples = """ + Examples: + > SELECT * FROM _FUNC_() LIMIT 2; + SYSTEM BUILTIN UTF8_BINARY NULL NULL ACCENT_SENSITIVE CASE_SENSITIVE NO_PAD NULL + SYSTEM BUILTIN UTF8_LCASE NULL NULL ACCENT_SENSITIVE CASE_INSENSITIVE NO_PAD NULL Review Comment: Yes, `UTF8_BINARY` and `UTF8_LCASE` have always been at the forefront <img width="762" alt="image" src="https://github.com/user-attachments/assets/0f2bc20d-e51d-4f14-b51e-61046d3315ef"> -- 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]
