dejankrak-db commented on PR #59640: URL: https://github.com/apache/spark/pull/59640#issuecomment-6688755402
Thanks for the review. On the untested branches, 2c11bb0be93 adds tests for the following: - registration of a UDF returning `FILE EXTERNAL` with `spark.sql.fileType.enabled` off, which raises no FILE error (a query that calls it then fails with `UNSUPPORTED_FILE_TYPE` because the type is disabled, so the query-time check cannot be reached with the flag off); - return types `ARRAY<MAP<FILE, INT>>` and `MAP<STRING, MAP<FILE, INT>>`, rejected with `FILE_TYPE_IN_ROUTINE_SIGNATURE_UNSUPPORTED_MAP_KEY`; - a `testcat` scalar function whose result type is `FILE EXTERNAL`, rejected at analysis when it binds as an `ApplyFunctionExpression`, and accepted with a plain `FILE`; - a non-scalar Python UDF (`mapInPandas`) whose row schema holds `FILE EXTERNAL`, which passes the query-time check; - `Deduplicate` and `DeduplicateWithinWatermark` keyed only on a column other than the FILE column, analyzed directly, which pass. The PR title and description now say "equality or an ordering". The follow-up JIRAs will be linked in the description once they are filed. -- 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]
