[jira] [Created] (KYLIN-2203) Deprecated class ModelDescController

2016-11-16 Thread Zhong,Jason (JIRA)
Zhong,Jason created KYLIN-2203:
--

 Summary: Deprecated class ModelDescController
 Key: KYLIN-2203
 URL: https://issues.apache.org/jira/browse/KYLIN-2203
 Project: Kylin
  Issue Type: Improvement
  Components: REST Service
Affects Versions: v1.6.0
Reporter: Zhong,Jason
Assignee: Zhong,Jason
 Fix For: v1.6.1


Move API in class ModelDescController to ModelController

and Deprecated ModelDescController



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: default.kylin_intermediate not found NoSuchObjectException

2016-11-16 Thread Billy(Yiming) Liu
No attachment found. I think the attachment may be blocked by mail list
service.

2016-11-17 9:28 GMT+08:00 移动苏州研发中心-陈雷雷 <775620...@qq.com>:

> Hi all:
>
>  My env is Cloudera Express 5.8.1, apache-kylin-1.5.4.1-cdh5.7-
> bin.tar.gz.
>   I created the sample cube with bin/sample.sh. And when I built the
> sample cube, in step 3, an execption occured which is 
> java.lang.RuntimeException:
> java.io.IOException: NoSuchObjectException(message:
> default.kylin_intermediate_kylin_sale* table not found). And the detailed
> information is in the attachment.
>  I have searched the archive of the mailing list, and  found out
> property hive.metastore.uris should be set , but I already set it before.
> And the intermdeiate table is in hive, while I check it using hive command.
> Can anyone give me a pointer where I should configure to solve the problem.
>
>
>
>
>
>
>


-- 
With Warm regards

Yiming Liu (刘一鸣)


Re: some confuse about Mandatory Dimensions

2016-11-16 Thread Billy(Yiming) Liu
If you set A, B, and C as mandatory dimensions, that means Kylin will save
the cuboid result by grouping A, B, C internally. But that not means you
could only query by grouping A, B, C.  If you only query A, B. The final
result will do post-aggregation by grouping the above cuboid. Same as query
grouping A. The cost is performance, since more post-aggregation needed.
But if you query by grouping D. There would be no result, since you missed
the mandatory dimension.

2016-11-17 13:31 GMT+08:00 张晓明(zhangxiaoming)-技术产品中心 :

> Hi,all
>
>  I have create a cube in My System with Mandatory Dimensions such
> as  A B C, and the Measure use count distinct filed “u” will HLL ,
>
> When the segment of the cube complete,I query the result with kylin sql
> as “select count(distinct u) from table where A=xxx and b=yyy” or “select
> count(distinct u) from table where A=xxx ”. The result is correct
>
> In my opinion, all of the query condition must be set (A=xxx,B=,C=zzz)
> ,the kylin sql can be wrok,
>
> The question is How the Kylin query the result and the distinct value is
> right ?  that is unbelievable
>



-- 
With Warm regards

Yiming Liu (刘一鸣)


[jira] [Created] (KYLIN-2202) Fix the conflict between KYLIN-1851 and KYLIN-2135

2016-11-16 Thread XIE FAN (JIRA)
XIE FAN created KYLIN-2202:
--

 Summary: Fix the conflict between KYLIN-1851 and KYLIN-2135
 Key: KYLIN-2202
 URL: https://issues.apache.org/jira/browse/KYLIN-2202
 Project: Kylin
  Issue Type: Bug
Affects Versions: v1.5.4.1
Reporter: XIE FAN
 Fix For: Future


In KYLIN-1851, we use a new dictionary(TrieDictionaryForest) to reduce the peek 
memory usage of the dictionary building procedure. In order to use the new 
dictionary, we need to make sure that the input data is sorted. But in 
KYLIN-2135, the output data is split into multi files and values in different 
files may be out-of-order. So we need to fix the conflict between this two 
issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-2201) Cube desc and aggregation group rule combination max check fail

2016-11-16 Thread Roger Shi (JIRA)
Roger Shi created KYLIN-2201:


 Summary: Cube desc and aggregation group rule combination max 
check fail
 Key: KYLIN-2201
 URL: https://issues.apache.org/jira/browse/KYLIN-2201
 Project: Kylin
  Issue Type: Bug
Reporter: Roger Shi






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-2200) CompileException on UNION ALL query when result only contains one column

2016-11-16 Thread Dayue Gao (JIRA)
Dayue Gao created KYLIN-2200:


 Summary: CompileException on UNION ALL query when result only 
contains one column
 Key: KYLIN-2200
 URL: https://issues.apache.org/jira/browse/KYLIN-2200
 Project: Kylin
  Issue Type: Bug
  Components: Query Engine
Affects Versions: v1.5.4.1
Reporter: Dayue Gao
Assignee: Dayue Gao


{code:sql}
select count(*) from kylin_sales
union all
select count(*) from kylin_sales
{code}

got following exception
{noformat}
Caused by: org.codehaus.commons.compiler.CompileException: Line 82, Column 32: 
Cannot determine simple type name "Record11_1"
at 
org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:10092)
at 
org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:5375)
at 
org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:5184)
at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:5165)
at org.codehaus.janino.UnitCompiler.access$12600(UnitCompiler.java:183)
at 
org.codehaus.janino.UnitCompiler$16.visitReferenceType(UnitCompiler.java:5096)
at org.codehaus.janino.Java$ReferenceType.accept(Java.java:2880)
at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:5136)
at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:5598)
at org.codehaus.janino.UnitCompiler.access$13300(UnitCompiler.java:183)
at org.codehaus.janino.UnitCompiler$16.visitCast(UnitCompiler.java:5104)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)