JiajunBernoulli commented on a change in pull request #2710:
URL: https://github.com/apache/calcite/pull/2710#discussion_r803490200
##########
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:
You're right. I'll pay attention later, but I won't change it this time.
**Accurate** and **Exact** are synonymous, so they do not affect
understanding.
--
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]