hcy created KYLIN-4830:
--------------------------

             Summary: avg(metric) error when dynamic column is set true
                 Key: KYLIN-4830
                 URL: https://issues.apache.org/jira/browse/KYLIN-4830
             Project: Kylin
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: v3.1.0
            Reporter: hcy


When set kylin.query.enable-dynamic-column=true,avg() is error.

Test Cube is kylin sample  cube  "KYLIN_SALES_CUBE",

test sql:

select ops_region,
 sum(price),
 count(*),
 sum(price)/count(*),
 avg(price)
from kylin_sales
group by ops_region

error log:

{color:#b94a48}Can't find $4 from child columnrowtype while executing SQL: 
"select ops_region, sum(price), count(*), sum(price)/count(*), avg(price) from 
kylin_sales group by ops_region"{color}

if not set dynamic-column,the sql query is ok.

 

 

{color:#808080} {color}



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

Reply via email to