JiajunBernoulli commented on a change in pull request #2710:
URL: https://github.com/apache/calcite/pull/2710#discussion_r805488431
##########
File path:
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java
##########
@@ -6043,6 +6043,25 @@ private void checkLiteral2(String expression, String
expected) {
sql.ok(expected);
}
+ @Test void testSelectApproxCountDistinct() {
+ final String query = "select approx_count_distinct(\"product_id\") from
\"product\"";
+ final String expectedAccurate = "SELECT COUNT(DISTINCT \"product_id\")\n"
Review comment:
I changed the word by the way when I rebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]