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

Enhance unnest support in decoupled mode #17550

Draft
wants to merge 100 commits into
base: master
Choose a base branch
from

Conversation

kgyrtkirk
Copy link
Member

  • adds DruidRelFieldTrimmer
  • Unnest now uses unnestFieldType instead of blindly taking the rowType
  • removed the possibly problematic column reuse in UnnestCleanupRule (the trimmer should take care of that)
  • lots of iq file changes because earlier no proper trimming was done below LogicalCorrelate and Unnest -s

return makeIdentityMapping(input);
}

protected TrimResult dummyProject(int fieldCount, RelNode input,

Check notice

Code scanning / CodeQL

Missing Override annotation

This method overrides [RelFieldTrimmer.dummyProject](1); it is advisable to add an Override annotation.
return result(input, mapping);
}

public TrimResult trimFields(

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
CalciteTestBase.makeColumnExpression
should be avoided because it has been deprecated.
@github-actions github-actions bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 Area - Querying
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant