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

ASF GitHub Bot updated SPARK-49018:
-----------------------------------
    Labels: pull-request-available  (was: )

> Fix approx_count_distinct not working correctly with collation
> --------------------------------------------------------------
>
>                 Key: SPARK-49018
>                 URL: https://issues.apache.org/jira/browse/SPARK-49018
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Viktor Lučić
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> When running in spark-shell:
> {code:java}
> create table t(col string collate utf8_lcase)
> insert into t values 'a', 'a', 'A'
> select approx_count_distinct(col) from t {code}
> we get 2 as an answer, but it should be 1.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to