Github user opme commented on the issue:
https://github.com/apache/spark/pull/14995
I compiled this pull request into the main branch. I can confirm it fixes
the problem where I was performing joins between tables with 2 million and 300
million records + making counts and then getting the java Integer error.
Previous to building the patched version, I had tried setting 2000 partitions
on the Dataframes with spark.sql.shuffle.partitions and the failure still
occurred. I don't see there is a valid workaround through partitioning or
that the failure occurs as a program design issue. I would like to see this
patch incorporated into a released version.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]