Skip to content

[Hotfix] Set table properties in GenericTaskWriters#3442

Merged
xxubai merged 2 commits into
apache:masterfrom
xxubai:appender-set-table-properties
Feb 25, 2025
Merged

[Hotfix] Set table properties in GenericTaskWriters#3442
xxubai merged 2 commits into
apache:masterfrom
xxubai:appender-set-table-properties

Conversation

@xxubai
Copy link
Copy Markdown
Contributor

@xxubai xxubai 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
"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
Copy Markdown
Contributor Author

@xxubai xxubai 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

@xxubai xxubai merged commit b81d3e1 into apache:master Feb 25, 2025
@xxubai xxubai 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