Skip to content

Conversation

@abellina
Copy link
Collaborator

Fixes #7378

This issue prevented orc writes from succeeding when writing using dynamic partition overwrite mode, it was a miss from either the implementation time of GpuInsertIntoHadoopFsRelationCommand or an update we missed as there was an associated spark bug fix.

@abellina abellina self-assigned this Dec 16, 2022
@abellina abellina added the bug Something isn't working label Dec 16, 2022
@abellina
Copy link
Collaborator Author

build


val jobId = java.util.UUID.randomUUID().toString

val committerOutputPath = if (dynamicPartitionOverwrite) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, might be nice to pull the comment over:
// For dynamic partition overwrite, FileOutputCommitter's output path is staging path, files
// will be renamed from staging path to final output path during commit job

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, will do

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.d8f2a1e

tgravescs
tgravescs previously approved these changes Dec 16, 2022
@abellina
Copy link
Collaborator Author

build

@abellina abellina merged commit 1cabccd into NVIDIA:branch-23.02 Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][ORC] GpuInsertIntoHadoopFsRelationCommand should use staging directory for dynamic partition overwrite

3 participants