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

Add file-create-config to hive config and propagate to file sink #8031

Closed

Conversation

tanjialiang
Copy link
Contributor

This change will allow us to specify the write file create options through hive config or session properties.

Copy link

netlify bot commented Dec 13, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit e82c7fa
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/657a97e0fdf6fa00098be53f

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 13, 2023
Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@tanjialiang LGTM. Thanks!

@@ -595,6 +596,8 @@ uint32_t HiveDataSink::appendWriter(const HiveWriterId& id) {
setMemoryReclaimers(writerInfo_.back().get());

dwio::common::WriterOptions options;
const auto connectorSessionProperties =
Copy link
Contributor

Choose a reason for hiding this comment

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

s/const auto connectorSessionProperties/const auto* connectorSessionProperties/

@tanjialiang tanjialiang force-pushed the tw_write_config branch 3 times, most recently from c629936 to 28b3406 Compare December 14, 2023 02:28
@facebook-github-bot
Copy link
Contributor

@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@tanjialiang merged this pull request in 62f20e2.

Copy link

Conbench analyzed the 1 benchmark run on commit 62f20e2f.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants