Skip to content

Davis/ordering fields as precombine#570

Draft
Davis-Zhang-Onehouse wants to merge 2 commits intoapache:mainfrom
vinishjail97:davis/ordering-fields-as-precombine
Draft

Davis/ordering fields as precombine#570
Davis-Zhang-Onehouse wants to merge 2 commits intoapache:mainfrom
vinishjail97:davis/ordering-fields-as-precombine

Conversation

@Davis-Zhang-Onehouse
Copy link
Copy Markdown

Description

How are the changes test-covered

  • N/A
  • Automated tests (unit and/or integration tests)
  • Manual tests
    • Details are described below

/// Initialize env_logger exactly once for the lifetime of the loaded shared library.
///
/// Reads RUST_LOG from the environment at the time the first FileGroupReader is created.
/// Example: RUST_LOG=hudi_core=debug enables all hudi-core debug logs.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can we split the changes into separate PR pls? the title suggests it's about support "ordering fields" as alias, so let's separate out logger changes?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

sorry, all these PRs are still WIP, please ignore all PRs under my name.

let get_result = if matches!(self, Self::PrecombineField) {
get_result.or_else(|_| {
configs
.get("hoodie.table.ordering.fields")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we need to add a new enum item called OrderingFields as a table config, and mark PrecombineField as deprecated. Then all applicable callers resolve ordering fields first then fall back to precombine

@xushiyan xushiyan marked this pull request as draft April 2, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants