Skip to content

Enable WINDOW_LEAF_OPERATOR for native engine to support queries without group by#16753

Merged
kgyrtkirk merged 2 commits intoapache:masterfrom
sreemanamala:eat-leaf-op
Jul 22, 2024
Merged

Enable WINDOW_LEAF_OPERATOR for native engine to support queries without group by#16753
kgyrtkirk merged 2 commits intoapache:masterfrom
sreemanamala:eat-leaf-op

Conversation

@sreemanamala
Copy link
Copy Markdown
Contributor

Description

This commit is to temporarily fix the issues with window queries without a group by clause, by setting the leaf operator to empty instead of null so as to stop the planner to rewrite the query assigning a leaf operator.
Once the Wire Transferable interface is fixed, we can disable this.


Key changed/added classes in this PR
  • NativeSqlEngine

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@kgyrtkirk kgyrtkirk merged commit c9aae9d into apache:master Jul 22, 2024
sreemanamala added a commit to sreemanamala/druid that referenced this pull request Aug 6, 2024
@sreemanamala sreemanamala deleted the eat-leaf-op branch September 18, 2024 11:24
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants