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

[C++] Allow scanner to assert an ordering and/or support implicit ordering #34698

Open
westonpace opened this issue Mar 23, 2023 · 1 comment

Comments

@westonpace
Copy link
Member

Describe the enhancement requested

The scan node currently assigned "unordered" to its output. This is the correct ordering when the scan is done in parallel and there is no attempt at sequencing the output.

However, the scanner is capable of sequencing its output. When this is done we should assign the implicit ordering.

In addition, users should be able to assert that their data is ordered according to some ordering. For example, if a user knows their data is ordered on disk by column "x" then they should be able to assert that in the scan options. The scan node should verify this as it is scanning and report an error if it encounters unsorted data.

This later task (asserting an ordering) could also be implemented in a follow-up task if that makes things easier (there's a bit of complexity associated with verifying data is ordered as the user states).

Component(s)

C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants