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

feat(fuzzer): Allow bucket columns to overlap as sort columns in writer fuzzer #12007

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HeidiHan0000
Copy link
Contributor

Allow bucket columns to overlap as sort columns by using some of the bucket columns as sort columns and generating the rest of the sort columns.

@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 Jan 2, 2025
Copy link

netlify bot commented Jan 2, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit fe7d648
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/677b6f6c1f7d1000088495e9

@facebook-github-bot
Copy link
Contributor

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

4 similar comments
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

…er fuzzer (#12007)

Summary:
Allow bucket columns to overlap as sort columns by using some of the bucket columns as sort columns and generating the rest of the sort columns.


Differential Revision: D67775105

Pulled By: HeidiHan0000
@facebook-github-bot facebook-github-bot force-pushed the WriterFuzzer-bucket-and-sort-by-same-col branch from e19c9d7 to fe7d648 Compare January 6, 2025 05:51
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67775105

Comment on lines +360 to +362
auto [sortColumns, offset] =
generateSortColumns(3, names, types, bucketColumns);
sortColumnOffset -= offset;
Copy link
Contributor

Choose a reason for hiding this comment

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

A more straightforward way I can think of is keep the original code which generates the independentSortColumns, and pick some columns from bucket columns, then merge those two together.
Is it doable?

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. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants