Skip to content

[CALCITE-1842] Wrong order of inputs for makeCost() call in Sort.computeSelfCost()#491

Closed
axeisghost wants to merge 1 commit intoapache:masterfrom
axeisghost:sort_cost
Closed

[CALCITE-1842] Wrong order of inputs for makeCost() call in Sort.computeSelfCost()#491
axeisghost wants to merge 1 commit intoapache:masterfrom
axeisghost:sort_cost

Conversation

@axeisghost
Copy link

Jira ticket 1842 addressed the problem already:

The mistake in the input computation of Sort will make the LIMIT does not get pushed into the Druid Query. The difference in performance can be huge.
Right now this problem was reported only in Druid Adapter but this change is generic for all adapters, so specific Druid test cases were not created.

I did not find any test cases to check the cost of RelNode and do not know where to put the test cases if we want to test it out. If test cases are still necessary please let me know where to add.

julianhyde pushed a commit to julianhyde/calcite that referenced this pull request Jul 6, 2017
julianhyde pushed a commit to julianhyde/calcite that referenced this pull request Jul 6, 2017
@asfgit asfgit closed this in 48a2066 Jul 6, 2017
@axeisghost axeisghost deleted the sort_cost branch July 18, 2017 00:15
ldming pushed a commit to ldming/mycalcite that referenced this pull request Sep 13, 2018
7mming7 pushed a commit to Kyligence/calcite that referenced this pull request Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant