Skip to content

[CALCITE-6748] RelToSqlConverter returns the wrong result when Aggregate is on Sort#4117

Merged
mihaibudiu merged 1 commit intoapache:mainfrom
suibianwanwank:calcite-6748
Jan 7, 2025
Merged

[CALCITE-6748] RelToSqlConverter returns the wrong result when Aggregate is on Sort#4117
mihaibudiu merged 1 commit intoapache:mainfrom
suibianwanwank:calcite-6748

Conversation

@suibianwanwank
Copy link
Copy Markdown
Contributor

No description provided.

return true;
}

if (rel instanceof Aggregate
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

seems you need an extra check for null here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, the wrong reference object was used here.

Copy link
Copy Markdown
Contributor

@ILuffZhe ILuffZhe left a comment

Choose a reason for hiding this comment

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

Can you squash the commits? I think this PR is ready to merge.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Jan 7, 2025

@ILuffZhe ILuffZhe added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Jan 7, 2025
@mihaibudiu mihaibudiu merged commit 7d4135e into apache:main Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants