dejankrak-db commented on PR #60741: URL: https://github.com/apache/spark/pull/60741#issuecomment-7044547268
Replies to the summary-only findings of the review above: **classic PySpark (FileTypeOps.scala:69)**: Thanks, this is a real gap, but I'd leave it for the PySpark support of FILE rather than add an error here. That work gives `EvaluatePython` and the Python `FileType` a conversion for FILE values (`needConversion`/`fromInternal`), which replaces the dict with a proper value, so an error added now would be removed again there. Until then the gap is behind `spark.sql.fileType.enabled`, which is internal and off by default, and Spark Connect already fails with `UNSUPPORTED_DATATYPE`. **hashing (FileTypeOps.scala:69)**: Done: the generated and interpreted hash dispatch (Murmur3, xxHash64, Hive hash) raise `UNSUPPORTED_DATATYPE` for a non-null FILE value, and a null value keeps the seed. Tests in `FileTypeOpsSuite` (both paths, top level and in a struct) and `FileTypeDatasetSuite` (`approx_count_distinct` and a shuffled `count(DISTINCT)`, and all-null input). Rejecting these aggregates at analysis is SPARK-61304. -- 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]
