You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Guoliang Sun (Jira)" <ji...@apache.org> on 2025/02/19 06:28:00 UTC

[jira] [Updated] (KYLIN-6010) If there is a `count distinct` in the view table definition, an error occurs when building the snapshot

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

Guoliang Sun updated KYLIN-6010:
--------------------------------
    Attachment: image-2025-02-19-14-26-58-795.png

> If there is a `count distinct` in the view table definition, an error occurs when building the snapshot
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-6010
>                 URL: https://issues.apache.org/jira/browse/KYLIN-6010
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Guoliang Sun
>            Priority: Major
>         Attachments: image-2025-02-19-14-26-58-795.png
>
>
> see following
> {code:java}
> java.lang.UnsupportedOperationException: count distinct does not have non-columnar implementation
> 	at org.apache.spark.sql.catalyst.expressions.aggregate.CountDistinct.initialValues$lzycompute(CountDistinct.scala:40) ~[gluten.jar]
> 	at org.apache.spark.sql.catalyst.expressions.aggregate.CountDistinct.initialValues(CountDistinct.scala:38) ~[gluten.jar]
> 	at org.apache.spark.sql.catalyst.expressions.aggregate.CountDistinct.initialValues(CountDistinct.scala:27) ~[gluten.jar] {code}



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