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/21 03:32:00 UTC
[jira] [Resolved] (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 resolved KYLIN-6010.
---------------------------------
Fix Version/s: 5.0.2
Reviewers: Longfei Jiang
Resolution: Fixed
> 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
> Assignee: Guoliang Sun
> Priority: Major
> Fix For: 5.0.2
>
> 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)