You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Zhichao Zhang (Jira)" <ji...@apache.org> on 2020/11/12 09:47:00 UTC

[jira] [Resolved] (KYLIN-4737) The precision in the returned result is different from the one by Spark SQL

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

Zhichao  Zhang resolved KYLIN-4737.
-----------------------------------
    Fix Version/s: v4.0.0-beta
       Resolution: Won't Fix

The root cause of this issue is that the algorithm used to calculate the 'percentile' values in Kylin 4.0 is different from the one of Spark SQL, so there is a little difference between them.

> The precision in the returned result is different from the one by Spark SQL
> ---------------------------------------------------------------------------
>
>                 Key: KYLIN-4737
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4737
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: v4.0.0-alpha
>            Reporter: Zhichao  Zhang
>            Assignee: Zhichao  Zhang
>            Priority: Minor
>             Fix For: v4.0.0-beta
>
>         Attachments: image-2020-09-02-12-07-18-076.png, image-2020-09-02-12-07-49-492.png
>
>
> The precision in the returned result is different from the one by Spark SQL, for example:
> the result from kylin:
> !image-2020-09-02-12-07-18-076.png!
> the result from SparkSQL:
> !image-2020-09-02-12-07-49-492.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)