Skip to content

Conversation

discord9
Copy link
Contributor

@discord9 discord9 commented Oct 17, 2025

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

#7102
GreptimeTeam/greptime-proto#285 need merge first

What's changed and what's your intention?

to avoid substrait decode error, use index not name, which will prevent substrait from confuse column names since it will decoded to a slightly different plan(but project node's input schema should still in the same order)

This pull request contains AI slop

PR Checklist

Please convert it to a draft if some of the following conditions are not met.

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.
  • API changes are backward compatible.
  • Schema or data changes are backward compatible.

@discord9 discord9 requested review from a team and waynexia as code owners October 17, 2025 11:52
@github-actions github-actions bot added size/M docs-not-required This change does not impact docs. labels Oct 17, 2025
@discord9 discord9 requested a review from evenyag October 17, 2025 11:59
@killme2008
Copy link
Contributor

It looks like there’s a lot of duplicated code and structs. Can we refactor them?

@discord9
Copy link
Contributor Author

It looks like there’s a lot of duplicated code and structs. Can we refactor them?

refactor some method, but the "unfix" struct seems necessary, as refactor to either enum or use macro does seems even more messy, this is due to datafusion provided extension deserializer didn't provide input logical plan hence cause this issue

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM

@killme2008 killme2008 added this pull request to the merge queue Oct 22, 2025
@discord9 discord9 removed this pull request from the merge queue due to a manual request Oct 22, 2025
@discord9 discord9 enabled auto-merge October 22, 2025 08:30
@discord9 discord9 added this pull request to the merge queue Oct 22, 2025
Merged via the queue into GreptimeTeam:main with commit a9a3e0b Oct 22, 2025
42 checks passed
@discord9 discord9 deleted the fix/prom_ql_alias branch October 22, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-not-required This change does not impact docs. size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants