metanil commented on PR #59760: URL: https://github.com/apache/spark/pull/59760#issuecomment-6804832081
Thanks @dongjoon-hyun for the review, really appreciate! Pushed 4c70fe4fa3c for 18–29 and 0ff948c32da for 17, and updated the description. For 17 I went a bit further than the narrower-key case, since it isn't only about the widening cast. I ran real Pandas and Arrow cogroups through Python workers in the test JVM, on master, the previous head and this one: 756 runs, over `shuffle.enabled`, AQE (on, off, no coalescing), `pushPartValues`, shuffle partitions, `requireAllClusterKeysForCoPartition`, and the bucketed side as the left or the right child. Whenever the key is stored differently from the layout's column, the one-side shuffle paired groups wrongly, or the cogroup failed in a task with `AssertionError`/`ClassCastException`, depending on which side has the wider type. That includes cases that were already wrong on master, e.g. an `INT` column with a `BIGINT` key, or Iceberg-style `SMALLINT` with `INT`. All of them now fail while planning; matching types, joins and same-storage pairs (`TIMESTAMP`/`BIGINT`) are unchanged in every combination. -- 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]
