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

[Hotfix] Set table properties in GenericTaskWriters #3442

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

XBaith
Copy link
Contributor

@XBaith XBaith commented Feb 24, 2025

Why are the changes needed?

related to #3273 (comment)

Brief change log

  • set correct write metrics for writers

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@github-actions github-actions bot added the module:mixed-trino trino module for Mixed Format label Feb 25, 2025
@@ -62,7 +62,7 @@ public void testStats() {
.matches(
"VALUES "
+ "('id', NULL, NULL, 0e0, NULL, '1', '4'), "
+ "('name$name', 548e0, NULL, 0e0, NULL, NULL, NULL), "
+ "('name$name', 429e0, NULL, 0e0, NULL, NULL, NULL), "
Copy link
Contributor Author

@XBaith XBaith Feb 25, 2025

Choose a reason for hiding this comment

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

It is a estimated value and used by query optimize and cost estimation. So I think the change is not a issue

@XBaith XBaith merged commit b81d3e1 into apache:master Feb 25, 2025
4 checks passed
@XBaith XBaith deleted the appender-set-table-properties branch February 25, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:mixed-trino trino module for Mixed Format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants