[ 
https://issues.apache.org/jira/browse/CALCITE-6879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stamatis Zampetakis resolved CALCITE-6879.
------------------------------------------
      Assignee: Yu Xu
    Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/c5502965d9eee9544afd862f2292d4d423bbc98b

Thanks for the PR [~xuzifu666] and [~mbudiu] [~nobigo] for the reviews!

> Support APPROX_DISTINCT_COUNT for more dialects
> -----------------------------------------------
>
>                 Key: CALCITE-6879
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6879
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.38.0
>            Reporter: Yu Xu
>            Assignee: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.39.0
>
>
> Currently Phoenix/MSS support APPROX_DISTINCT_COUNT syntax and Clickhouse can 
> archive approx distinct count by UNIQ syntax, need to support it in Calcite 
> dialect.
> Phoenix:[https://phoenix.apache.org/language/functions.html#approx_count_distinct]
> MSS:[https://learn.microsoft.com/zh-cn/sql/t-sql/functions/approx-count-distinct-transact-sql]
> ClickHouse({*}uniq{*}: Calculates the approximate number of different values 
> of the argument.): 
> [https://clickhouse.com/docs/sql-reference/aggregate-functions/reference/uniq]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to