Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BasicColumnarWriteTaskStats instead of BasicWriteTaskStats #1009

Closed
wants to merge 1 commit into from

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Oct 22, 2020

This fixes the plugin build against Spark 3.1.0 by using a custom BasicColumnarWriteTaskStats case class instead of trying to reuse Spark's BasicWriteTaskStats which recently changed in Spark 3.1.0.

Fixes #1006

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the build Related to CI / CD or cleanly building label Oct 22, 2020
@jlowe jlowe added this to the Oct 12 - Oct 23 milestone Oct 22, 2020
@jlowe jlowe self-assigned this Oct 22, 2020
@jlowe
Copy link
Member Author

jlowe commented Oct 22, 2020

build

@revans2
Copy link
Collaborator

revans2 commented Oct 23, 2020

The testes failed with a new error that looks like it is related to RegexpReplace

Looks like RegexpReplace needs to be added to the shim layer now.

https://issues.apache.org/jira/browse/SPARK-30796

apache/spark@eb33bcb

@revans2
Copy link
Collaborator

revans2 commented Oct 23, 2020

Looking at it we can probably get away with just the replacement rule for RegexpReplace being in the shim layer. They added in a new position argument. In 3.1+ we should verify that position is a literal that is 1 and then just ignore it when we replace it. We should also file a follow on issue to eventually support it properly.

@revans2
Copy link
Collaborator

revans2 commented Oct 23, 2020

This was merged/fixed as a part of #1012

@revans2 revans2 closed this Oct 23, 2020
@jlowe jlowe deleted the fix-310-build branch October 28, 2020 16:41
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#1009)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Spark3.1.0 changed BasicWriteTaskStats breaks BasicColumnarWriteTaskStatsTracker
2 participants