bersprockets commented on PR #38727: URL: https://github.com/apache/spark/pull/38727#issuecomment-1324453979
Tested PR https://github.com/apache/spark/pull/38737. That PR incidentally seems to fix this issue: ``` SELECT try_to_binary(col1, col2) from values ('abc', 'utf-8') as data(col1, col2); [DATATYPE_MISMATCH.NON_FOLDABLE_INPUT] Cannot resolve "to_binary(col1, col2)" due to data type mismatch: the input fmt should be a foldable "STRING" expression; however, got "col2".; line 1 pos 7; 'Project [unresolvedalias(try_to_binary(col1#0, col2#1), None)] +- SubqueryAlias data +- LocalRelation [col1#0, col2#1] spark-sql> ``` Therefore, closing this PR. -- 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]
