Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.32.0
-
None
-
None
Description
give the sql parser s simple input:
first(`my_column`)
After the SQL string is parsed as SqlNode, then an extra parameter is added to the first function, and the sql becomes:
first(`my_column`, 0)
Error would be thrown when the above sql is executed by spark:
"The second argument in first should be a boolean literal"