Skip to content

Allow setting partition column name in sources #381

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

Merged
merged 7 commits into from
Feb 14, 2025

Conversation

varant-zlai
Copy link
Collaborator

@varant-zlai varant-zlai commented Feb 14, 2025

Summary

Allow setting partition column name in sources. Maps it to the default partition name upon read and partition checking.

Checklist

  • Added Unit Tests
  • Covered by existing CI
  • Integration tested
  • Documentation update

Summary by CodeRabbit

  • New Features
    • Enabled configurable partition columns in query, join, and data generation operations for improved data partitioning.
  • Refactor
    • Streamlined partition handling and consolidated import structures to enhance workflow efficiency.
  • Tests
    • Added test cases for verifying partition column functionality and adjusted data generation volumes for better validation.
    • Introduced new tests specifically for different partition columns to ensure accurate handling of partitioned data.

These enhancements provide increased flexibility and accuracy in managing partitioned datasets during data processing and join operations.

Copy link

coderabbitai bot commented Feb 14, 2025

Walkthrough

This pull request introduces a new optional partitionColumn parameter across query building, data generation, and join operations in the API, Spark core, and testing modules. It updates method and struct signatures in Scala and Thrift, adds new implicit classes for handling partition columns, and modifies test cases to validate the new functionality.

Changes

Files Change Summary
api/src/main/scala/ai/chronon/api/Builders.scala
api/thrift/api.thrift
Added partitionColumn to the Query definitions (Scala method and Thrift struct) to support partition-based query construction.
spark/src/main/scala/ai/chronon/spark/{Analyzer.scala, Extensions.scala, GroupBy.scala, JoinBase.scala, LabelJoin.scala, TableUtils.scala} Extended method signatures and internal logic to accept and process partitionColumn (includes new implicit classes and parameter propagation for join and table utilities).
spark/src/test/scala/ai/chronon/spark/test/{DataFrameGen.scala, JoinTest.scala} Updated data generation methods and join tests to incorporate and validate custom partition column handling.

Possibly related PRs

Suggested reviewers

  • nikhil-zlai
  • piyush-zlai

Poem

In the code, a new column shines bright,
Partitioning streams with newfound might.
Methods extend, implicit magic in flow,
Data and joins now gracefully grow.
A concise change, a developer's delight!
🚀🎉

Warning

Review ran into problems

🔥 Problems

GitHub Actions and Pipeline Checks: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository.

Please grant the required permissions to the CodeRabbit GitHub App under the organization or repository settings.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
spark/src/main/scala/ai/chronon/spark/LabelJoin.scala (1)

195-197: LGTM! Good replacement of null with explicit Query.

Improves code clarity by removing null and being explicit about partition column.

Consider adding a comment explaining the significance of Constants.LabelPartitionColumn.

spark/src/main/scala/ai/chronon/spark/Extensions.scala (1)

394-397: Consider simplifying the Option nesting.

The nested Options could be flattened for better readability.

-    def effectivePartitionColumn(implicit tableUtils: TableUtils): String =
-      Option(query).flatMap(q => Option(q.partitionColumn)).getOrElse(tableUtils.partitionColumn)
+    def effectivePartitionColumn(implicit tableUtils: TableUtils): String =
+      Option(query.partitionColumn).getOrElse(tableUtils.partitionColumn)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)

📥 Commits

Reviewing files that changed from the base of the PR and between a493d35 and 0207e63.

📒 Files selected for processing (10)
  • api/src/main/scala/ai/chronon/api/Builders.scala (2 hunks)
  • api/thrift/api.thrift (2 hunks)
  • spark/src/main/scala/ai/chronon/spark/Analyzer.scala (3 hunks)
  • spark/src/main/scala/ai/chronon/spark/Extensions.scala (2 hunks)
  • spark/src/main/scala/ai/chronon/spark/GroupBy.scala (1 hunks)
  • spark/src/main/scala/ai/chronon/spark/JoinBase.scala (4 hunks)
  • spark/src/main/scala/ai/chronon/spark/LabelJoin.scala (2 hunks)
  • spark/src/main/scala/ai/chronon/spark/TableUtils.scala (4 hunks)
  • spark/src/test/scala/ai/chronon/spark/test/DataFrameGen.scala (1 hunks)
  • spark/src/test/scala/ai/chronon/spark/test/JoinTest.scala (28 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: non_spark_tests
  • GitHub Check: spark_tests
  • GitHub Check: scala_compile_fmt_fix
  • GitHub Check: enforce_triggered_workflows
🔇 Additional comments (20)
spark/src/test/scala/ai/chronon/spark/test/DataFrameGen.scala (3)

41-44: LGTM! Clean addition of partition column parameter.

The optional parameter with default value maintains backward compatibility while adding flexibility.


52-61: LGTM! Good extraction of partition column string.

Early extraction of partitionColumnString improves code clarity.


65-71: LGTM! Consistent handling of partition column.

Properly propagates partition column to both local usage and downstream call.

api/src/main/scala/ai/chronon/api/Builders.scala (1)

49-63: LGTM! Clean addition to Query builder.

Maintains builder pattern while adding partition column support.

spark/src/main/scala/ai/chronon/spark/Extensions.scala (1)

387-392: LGTM! Clean implementation of Source extension.

Good use of Option for null safety in partition column handling.

api/thrift/api.thrift (2)

19-19: LGTM! Added optional partition column support to Query struct.

The new field enhances partition handling while maintaining backward compatibility.


53-56: LGTM! Added optional partition column support to StagingQuery struct with clear documentation.

The field's purpose for max_date template is well documented.

spark/src/main/scala/ai/chronon/spark/JoinBase.scala (3)

54-54: LGTM! Added implicit tableUtils for better code organization.

Reduces parameter passing and improves readability.


173-174: LGTM! Added partition column handling to unfilledRanges call.

Correctly propagates the effective partition column from join configuration.


488-489: LGTM! Added partition column handling to unfilledRanges call.

Correctly propagates the effective partition column from join configuration.

spark/src/main/scala/ai/chronon/spark/Analyzer.scala (3)

35-35: LGTM! Added QuerySparkOps import.

Provides access to query-related extensions.


94-94: LGTM! Added implicit tableUtils for better code organization.

Reduces parameter passing and improves readability.


316-319: LGTM! Added partition column handling to unfilledRanges call.

Correctly propagates the effective partition column from join configuration.

spark/src/main/scala/ai/chronon/spark/GroupBy.scala (1)

629-629: LGTM! Updated metaColumns to use source query's partition column.

Correctly uses the actual partition column from the source query instead of null.

spark/src/main/scala/ai/chronon/spark/TableUtils.scala (3)

202-204: LGTM! Good addition of the partition column parameter.

The optional parameter with a default value maintains backward compatibility.


597-603: LGTM! Good propagation of partition column parameter.

The optional parameter enables flexible partition column handling in unfilled ranges computation.


836-850: LGTM! Good handling of partition column renaming.

The code correctly handles partition column mapping between query and table.

spark/src/test/scala/ai/chronon/spark/test/JoinTest.scala (3)

129-130: Good test data optimization.

Reduced entity count from 300/50 to improve test execution time.


434-556: LGTM! Good test coverage for partition column feature.

Comprehensive test case validating custom partition column functionality.


189-191: LGTM! Good query configuration update.

Added partition column to join configuration.

@varant-zlai varant-zlai force-pushed the vz--partition_column_in_source_v2 branch from 0207e63 to 2a05b64 Compare February 14, 2025 05:33
@@ -265,16 +260,25 @@ class LabelJoin(joinConf: api.Join, tableUtils: TableUtils, labelDS: String) {
leftDf
}

val updatedRight =
Copy link
Contributor

Choose a reason for hiding this comment

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

add a comment?

Copy link
Contributor

@nikhil-zlai nikhil-zlai left a comment

Choose a reason for hiding this comment

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

change a bootstrap and label join test also?

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
spark/src/test/scala/ai/chronon/spark/test/bootstrap/TableBootstrapTest.scala (1)

116-116: Remove commented out code.

Clean up unused code to improve maintainability.

-//val bootstrapDf2 = bootstrapDf2Partition.withColumnRenamed("date", "ds")
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)

📥 Commits

Reviewing files that changed from the base of the PR and between 30ecf89 and 44ea0f6.

📒 Files selected for processing (4)
  • spark/src/main/scala/ai/chronon/spark/BootstrapInfo.scala (3 hunks)
  • spark/src/main/scala/ai/chronon/spark/Join.scala (1 hunks)
  • spark/src/test/scala/ai/chronon/spark/test/JoinTest.scala (27 hunks)
  • spark/src/test/scala/ai/chronon/spark/test/bootstrap/TableBootstrapTest.scala (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: spark_tests
  • GitHub Check: scala_compile_fmt_fix
  • GitHub Check: non_spark_tests
  • GitHub Check: enforce_triggered_workflows
🔇 Additional comments (9)
spark/src/main/scala/ai/chronon/spark/BootstrapInfo.scala (2)

89-89: LGTM!

Clean implicit parameter addition for dependency injection.


187-191: LGTM!

Correctly uses effectivePartitionColumn and improves error message with schema context.

spark/src/main/scala/ai/chronon/spark/Join.scala (1)

518-518: LGTM!

Correctly uses effectivePartitionColumn for partition column customization.

spark/src/test/scala/ai/chronon/spark/test/bootstrap/TableBootstrapTest.scala (2)

47-48: LGTM! Well-structured partition column handling.

The changes correctly implement partition column name customization while maintaining backward compatibility.

Also applies to: 59-59, 67-69, 75-76, 81-81


113-114: LGTM! Good test coverage.

Test case effectively validates custom partition column functionality.

spark/src/test/scala/ai/chronon/spark/test/JoinTest.scala (4)

128-129: LGTM! Improved test performance and partition handling.

Reduced test data size and added proper partition column support.

Also applies to: 176-177


229-236: LGTM! SQL query properly updated.

Query correctly handles custom partition column.


433-555: LGTM! Comprehensive test for partition columns.

Test thoroughly validates the new partition column functionality.


565-565: LGTM! Consistent test optimization.

Test data size reduced across all test cases for better performance.

Also applies to: 863-863, 864-864, 879-880, 887-887, 1073-1074, 1139-1140, 1160-1161, 1269-1270, 1290-1291, 1326-1327, 1339-1340, 712-713

@varant-zlai varant-zlai merged commit 8071323 into main Feb 14, 2025
7 checks passed
@varant-zlai varant-zlai deleted the vz--partition_column_in_source_v2 branch February 14, 2025 07:23
tchow-zlai added a commit that referenced this pull request Feb 20, 2025
## Summary

- #381 introduced the ability
to configure a partition column at the node-level. This PR simply fixes
a missed spot on the plumbing of the new StagingQuery attribute.

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced the query builder to support specifying a partition column,
providing greater customization for query formation and partitioning.
- **Improvements**
- Improved handling of partition columns by introducing a fallback
mechanism to ensure valid values are used when necessary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Thomas Chow <[email protected]>
kumar-zlai pushed a commit that referenced this pull request Apr 25, 2025
## Summary

Allow setting partition column name in sources. Maps it to the default
partition name upon read and partition checking.

## Checklist
- [x] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enabled configurable partition columns in query, join, and data
generation operations for improved data partitioning.
- **Refactor**
- Streamlined partition handling and consolidated import structures to
enhance workflow efficiency.
- **Tests**
- Added test cases for verifying partition column functionality and
adjusted data generation volumes for better validation.
- Introduced new tests specifically for different partition columns to
ensure accurate handling of partitioned data.

These enhancements provide increased flexibility and accuracy in
managing partitioned datasets during data processing and join
operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ezvz <[email protected]>
Co-authored-by: Nikhil Simha <[email protected]>
kumar-zlai pushed a commit that referenced this pull request Apr 25, 2025
## Summary

- #381 introduced the ability
to configure a partition column at the node-level. This PR simply fixes
a missed spot on the plumbing of the new StagingQuery attribute.

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced the query builder to support specifying a partition column,
providing greater customization for query formation and partitioning.
- **Improvements**
- Improved handling of partition columns by introducing a fallback
mechanism to ensure valid values are used when necessary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Thomas Chow <[email protected]>
kumar-zlai pushed a commit that referenced this pull request Apr 29, 2025
## Summary

Allow setting partition column name in sources. Maps it to the default
partition name upon read and partition checking.

## Checklist
- [x] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enabled configurable partition columns in query, join, and data
generation operations for improved data partitioning.
- **Refactor**
- Streamlined partition handling and consolidated import structures to
enhance workflow efficiency.
- **Tests**
- Added test cases for verifying partition column functionality and
adjusted data generation volumes for better validation.
- Introduced new tests specifically for different partition columns to
ensure accurate handling of partitioned data.

These enhancements provide increased flexibility and accuracy in
managing partitioned datasets during data processing and join
operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ezvz <[email protected]>
Co-authored-by: Nikhil Simha <[email protected]>
kumar-zlai pushed a commit that referenced this pull request Apr 29, 2025
## Summary

- #381 introduced the ability
to configure a partition column at the node-level. This PR simply fixes
a missed spot on the plumbing of the new StagingQuery attribute.

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced the query builder to support specifying a partition column,
providing greater customization for query formation and partitioning.
- **Improvements**
- Improved handling of partition columns by introducing a fallback
mechanism to ensure valid values are used when necessary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Thomas Chow <[email protected]>
chewy-zlai pushed a commit that referenced this pull request May 15, 2025
## Summary

Allow setting partition column name in sources. Maps it to the default
partition name upon read and partition checking.

## Checklist
- [x] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enabled configurable partition columns in query, join, and data
generation operations for improved data partitioning.
- **Refactor**
- Streamlined partition handling and consolidated import structures to
enhance workflow efficiency.
- **Tests**
- Added test cases for verifying partition column functionality and
adjusted data generation volumes for better validation.
- Introduced new tests specifically for different partition columns to
ensure accurate handling of partitioned data.

These enhancements provide increased flexibility and accuracy in
managing partitioned datasets during data processing and join
operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ezvz <[email protected]>
Co-authored-by: Nikhil Simha <[email protected]>
chewy-zlai pushed a commit that referenced this pull request May 15, 2025
## Summary

- #381 introduced the ability
to configure a partition column at the node-level. This PR simply fixes
a missed spot on the plumbing of the new StagingQuery attribute.

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced the query builder to support specifying a partition column,
providing greater customization for query formation and partitioning.
- **Improvements**
- Improved handling of partition columns by introducing a fallback
mechanism to ensure valid values are used when necessary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Thomas Chow <[email protected]>
chewy-zlai pushed a commit that referenced this pull request May 15, 2025
## Summary

Allow setting partition column name in sources. Maps it to the default
partition name upon read and partition checking.

## Checklist
- [x] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enabled configurable partition columns in query, join, and data
generation operations for improved data partitioning.
- **Refactor**
- Streamlined partition handling and consolidated import structures to
enhance workflow efficiency.
- **Tests**
- Added test cases for verifying partition column functionality and
adjusted data generation volumes for better validation.
- Introduced new tests specifically for different partition columns to
ensure accurate handling of partitioned data.

These enhancements provide increased flexibility and accuracy in
managing partitioned datasets during data processing and join
operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ezvz <[email protected]>
Co-authored-by: Nikhil Simha <[email protected]>
chewy-zlai pushed a commit that referenced this pull request May 15, 2025
## Summary

- #381 introduced the ability
to configure a partition column at the node-level. This PR simply fixes
a missed spot on the plumbing of the new StagingQuery attribute.

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced the query builder to support specifying a partition column,
providing greater customization for query formation and partitioning.
- **Improvements**
- Improved handling of partition columns by introducing a fallback
mechanism to ensure valid values are used when necessary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Thomas Chow <[email protected]>
@coderabbitai coderabbitai bot mentioned this pull request May 16, 2025
4 tasks
chewy-zlai pushed a commit that referenced this pull request May 16, 2025
## Summary

Allow setting partition column name in sources. Maps it to the default
partition name upon read and partition cheour clientsing.

## Cheour clientslist
- [x] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enabled configurable partition columns in query, join, and data
generation operations for improved data partitioning.
- **Refactor**
- Streamlined partition handling and consolidated import structures to
enhance workflow efficiency.
- **Tests**
- Added test cases for verifying partition column functionality and
adjusted data generation volumes for better validation.
- Introduced new tests specifically for different partition columns to
ensure accurate handling of partitioned data.

These enhancements provide increased flexibility and accuracy in
managing partitioned datasets during data processing and join
operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ezvz <[email protected]>
Co-authored-by: Nikhil Simha <[email protected]>
chewy-zlai pushed a commit that referenced this pull request May 16, 2025
## Summary

- #381 introduced the ability
to configure a partition column at the node-level. This PR simply fixes
a missed spot on the plumbing of the new StagingQuery attribute.

## Cheour clientslist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced the query builder to support specifying a partition column,
providing greater customization for query formation and partitioning.
- **Improvements**
- Improved handling of partition columns by introducing a fallbaour clients
mechanism to ensure valid values are used when necessary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to traour clients
the status of staour clientss when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Thomas Chow <[email protected]>
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