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

Hive: New test case for writing to the table with projection and column specification #2121

Merged
merged 4 commits into from
Feb 3, 2021

Conversation

pvary
Copy link
Contributor

@pvary pvary commented Jan 20, 2021

During the test found several issues with vectorization for which I raised #2120

There are no issues with vectorization turned off, but having a test case for it helps finding possible issues later

@github-actions github-actions bot added the MR label Jan 20, 2021
@pvary
Copy link
Contributor Author

pvary commented Jan 25, 2021

@marton-bod, @lcspinter: Could you please review?

Thanks,
Peter

Copy link
Collaborator

@marton-bod marton-bod left a comment

Choose a reason for hiding this comment

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

LGTM, my only question would be the same as Laszlo's

Copy link
Contributor

@lcspinter lcspinter left a comment

Choose a reason for hiding this comment

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

+1 (non-binding)

@pvary
Copy link
Contributor Author

pvary commented Feb 1, 2021

@rdblue: Could you please take a look at this PR? Only adds a single test case which failed for tez writes. Nothing fancy, but good to have a test case for MR as well.

Thanks,
Peter

@@ -186,6 +186,9 @@ private HiveConf initializeConf() {
// Tez configuration
hiveConf.setBoolean("tez.local.mode", true);

// Disable vectorization for HiveIcebergInputFormat
hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED, false);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is fine, but I'm curious: do we plan to add vectorized writes? Or is this not something that we think is important?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it is important, but no hard data on yet. Will work on read/write performance in the near future, so would guess that vectorization will be something we check too.

@rdblue
Copy link
Contributor

rdblue commented Feb 1, 2021

Overall, this looks fine. One minor question about why it creates an extra list. Otherwise +1.

@rdblue rdblue merged commit e4185cd into apache:master Feb 3, 2021
@rdblue
Copy link
Contributor

rdblue commented Feb 3, 2021

Thanks, @pvary!

@pvary pvary deleted the newtest branch February 3, 2021 08:49
@pvary
Copy link
Contributor Author

pvary commented Feb 3, 2021

Thanks for the review and the merge @rdblue!

coolderli pushed a commit to coolderli/iceberg that referenced this pull request Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants