[jira] [Created] (KYLIN-3283) Support values RelNode

2018-03-08 Thread yiming.xu (JIRA)
yiming.xu created KYLIN-3283:


 Summary: Support values RelNode
 Key: KYLIN-3283
 URL: https://issues.apache.org/jira/browse/KYLIN-3283
 Project: Kylin
  Issue Type: New Feature
  Components: Query Engine
Affects Versions: v2.3.0
Reporter: yiming.xu
Assignee: yiming.xu


for queries like:
select leaf_categ_id, sum(price) as sum_price from test_kylin_fact  group by 
leaf_categ_id
union all
select 1 as leaf_categ_id2, 2 as sum_price2 
the expected logical plan after volcano is:

{code:java}
OLAPToEnumerableConverter
  OLAPLimitRel(ctx=[], fetch=[5])
OLAPAggregateRel(group=[{}], EXPR$0=[SUM($0)], ctx=[])
  OLAPProjectRel(count=[$1], ctx=[])
OLAPSortRel(sort0=[$1], dir0=[DESC], ctx=[])
  OLAPAggregateRel(group=[{0}], count=[COUNT()], ctx=[])
OLAPProjectRel(LSTG_FORMAT_NAME=[$3], ctx=[])
  OLAPTableScan(table=[[DEFAULT, TEST_KYLIN_FACT]], ctx=[], 
fields=[[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 
20, 21, 22, 23, 24, 25, 26]])
{code}

however the actual is:
{code:java}
OLAPToEnumerableConverter
  OLAPLimitRel(ctx=[], fetch=[5])
OLAPUnionRel(all=[true], ctx=[], all=[true])
  OLAPAggregateRel(group=[{0}], SUM_PRICE=[SUM($1)], ctx=[])
OLAPProjectRel(LEAF_CATEG_ID=[$4], PRICE=[$8], ctx=[])
  OLAPTableScan(table=[[DEFAULT, TEST_KYLIN_FACT]], ctx=[], fields=[[0, 
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 
23, 24, 25, 26]])
  OLAPProjectRel(LEAF_CATEG_ID2=[1], SUM_PRICE2=[2], ctx=[])
OLAPValuesRel(type=[RecordType(INTEGER ZERO)], tuples=[[{ 0 }]])
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


kylin installation issues--at stage Extract Fact Table Distince Columns

2018-03-08 Thread zhangz...@missfresh.cn
Dear Kylin Group,

I've been installing Kylin1.6 for one week, and keeping having problems on the 
same issue. The following is the details:
I tried to build the example cube and always failed at the stage--Extract Fact 
Table Distince Columns.
and then i  googled online ,and find it was the classpath issue, so i try to 
add the following info in mapred-site.xml and yarn-site.xml
but still no working, and coming with issue show lacking of 
/home/hadoop/contrib/capacity-scheduler/*.jar. But i can't find
this dir at all. 
so i google online again, and find the following solutions:
but my hadoop cluster is not under test environment, so i don't want to do this 
and resume my hadoop cluster.

So, please tell me am i on the right way to solve this issue, and please 
provide your kind suggestions.
 if you are looking for more details or info, please let me know.
Million thanks.


zaki






zhangz...@missfresh.cn


[jira] [Created] (KYLIN-3281) OlapProjectRule not working with projectrel + sortrel

2018-03-08 Thread yiming.xu (JIRA)
yiming.xu created KYLIN-3281:


 Summary: OlapProjectRule not working with  projectrel + sortrel
 Key: KYLIN-3281
 URL: https://issues.apache.org/jira/browse/KYLIN-3281
 Project: Kylin
  Issue Type: Bug
  Components: Query Engine
Affects Versions: v2.3.0
Reporter: yiming.xu






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] coveralls commented on issue #113: KYLIN-3280

2018-03-08 Thread GitBox
coveralls commented on issue #113: KYLIN-3280
URL: https://github.com/apache/kylin/pull/113#issuecomment-371696607
 
 
   ## Pull Request Test Coverage Report for [Build 
3030](https://coveralls.io/builds/15887406)
   
   * **0** of **0**  **(NaN%)** changed or added relevant lines in **0** files 
are covered.
   * **3** unchanged lines in **1** file lost coverage.
   * Overall coverage increased (+**0.03%**) to **23.581%**
   
   ---
   
   
   |  Files with Coverage Reduction | New Missed Lines | % |
   | :-|--|--: |
   | 
[core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java](https://coveralls.io/builds/15887406/source?filename=core-cube%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fcube%2Finmemcubing%2FMemDiskStore.java#L449)
 | 3 | 78.42% |
   
   
   |  Totals | [![Coverage 
Status](https://coveralls.io/builds/15887406/badge)](https://coveralls.io/builds/15887406)
 |
   | :-- | --: |
   | Change from base [Build 3028](https://coveralls.io/builds/15835845): |  
0.03% |
   | Covered Lines: | 14140 |
   | Relevant Lines: | 59964 |
   
   ---
   # ?  - [Coveralls](https://coveralls.io)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] xingpeng1 opened a new pull request #113: KYLIN-3280

2018-03-08 Thread GitBox
xingpeng1 opened a new pull request #113: KYLIN-3280
URL: https://github.com/apache/kylin/pull/113
 
 
   KYLIN-3280 The delete button should not be enabled without any segment in 
cube segment delete confirm dialog


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] asfgit commented on issue #113: KYLIN-3280

2018-03-08 Thread GitBox
asfgit commented on issue #113: KYLIN-3280
URL: https://github.com/apache/kylin/pull/113#issuecomment-371694247
 
 
   Can one of the admins verify this patch?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (KYLIN-3280) The delete button should not be enabled without any segment in cube segment delete confirm dialog

2018-03-08 Thread Peng Xing (JIRA)
Peng Xing created KYLIN-3280:


 Summary: The delete button should not be enabled without any 
segment in cube segment delete confirm dialog
 Key: KYLIN-3280
 URL: https://issues.apache.org/jira/browse/KYLIN-3280
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Affects Versions: v2.4.0
Reporter: Peng Xing
Assignee: Peng Xing
 Attachments: delete_segment.png

1. Open cube list, choose one disabled cube, then select 'Delete Segment';

2. The Delete button is enabled without any segment, and if you click it, it 
has no prompt.

please see the attachment picture.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3279) Util Class for encryption and decryption

2018-03-08 Thread nichunen (JIRA)
nichunen created KYLIN-3279:
---

 Summary: Util Class for encryption and decryption
 Key: KYLIN-3279
 URL: https://issues.apache.org/jira/browse/KYLIN-3279
 Project: Kylin
  Issue Type: Improvement
  Components: Others
Affects Versions: v2.3.0
Reporter: nichunen
Assignee: nichunen
 Fix For: v2.4.0


Extract methods of "encrypt" and "decrypt" in 
org.apache.kylin.rest.security.PasswordPlaceholderConfigurer to a Util class in 
core-common package. This will make them more reusable. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)