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

Fix incorrect comparator usage in FinalizingFieldAccessPostAggregator #16555

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Next Next commit
add test
  • Loading branch information
kgyrtkirk committed Jun 5, 2024
commit 31ffbba01522281581fa4c801a35acff836e64fd
Original file line number Diff line number Diff line change
Expand Up @@ -1746,6 +1746,18 @@ public void testAnyAggregatorsSkipNullsWithFilter()
);
}

@Test
public void testOrderByEarliestFloatSubQuery()
{
testBuilder()
.sql(
"select dim1,e "
+ "from (SELECT dim1, EARLIEST(f1) e FROM druid.numfoo GROUP BY 1 ORDER BY 2 LIMIT 10) t "
+ "order by 1 limit 2"
)
.run();
}

@Test
public void testOrderByEarliestFloat()
{
Expand Down