[VOTE] [RESULT] Migrate to gitbox

2018-02-04 Thread Billy Liu
The vote passed with the following +1's, no -1. 5+ Binding(PMC): Dong Li, Shaofeng Shi, Luke Han, Billy Liu, Dayue Gao 9+ Non Binding: Kaisen Kang, Cheng Wang, Shaoxiong Zhan, Zhixiong CHen, Kaige Liu, Guosheng Lu, Yongjie Zhao, Jianhua Peng, Jingke He I will follow up the migration request to A

答复: 答复: Can't delete segment

2018-02-04 Thread 张 佑铖
You mean a patch for github ? I am very pleased to do it. I haven't done it before, but I will try it these few days. Why not I also met other problems, I will write another mail to start. 发件人: ShaoFeng Shi 发送时间: 2018年2月2日 22:01 收件人: dev 主题: Re: 答复: Can't delet

Timezone offset with java.sql.Date with kylin jdbc

2018-02-04 Thread 张 佑铖
Hi kylin team, Single problem, column with type Date values '2018-02-02' in hive. Query in kylin sight is okay return value with '2018-02-02'. But when I used jdbc it returns '2018-02-01'. Apparently it is a problem with timezone. 1. Check the configuration first kylin.web.timezone=GMT+8 user.ti

Re: [Discuss] Apache Kylin Component Owner Plan

2018-02-04 Thread kangkaisen
I would like to take the ownership of "Spark engine" components. I also could be a backup owner for "Job Engine" components. In this year,I and Dayue will contribute and take over "Storage-Druid" components. -- Sent from: http://apache-kylin.74782.x6.nabble.com/

Re: [Discuss] Apache Kylin Component Owner Plan

2018-02-04 Thread ShaoFeng Shi
Cool, thanks kaisen and others! I see there are many issues related to the "count distinct" and global dictionary; The function is across multiple components like job, query, metadata, web, etc. Top-N is also another case. So I propose to add independent components called "Measure - Count Distinc

[jira] [Created] (KYLIN-3233) CacheController can not handle if cacheKey has "/"

2018-02-04 Thread jiatao.tao (JIRA)
jiatao.tao created KYLIN-3233: - Summary: CacheController can not handle if cacheKey has "/" Key: KYLIN-3233 URL: https://issues.apache.org/jira/browse/KYLIN-3233 Project: Kylin Issue Type: Improv

[jira] [Created] (KYLIN-3234) Resource should add a API that can recursively list path.

2018-02-04 Thread jiatao.tao (JIRA)
jiatao.tao created KYLIN-3234: - Summary: Resource should add a API that can recursively list path. Key: KYLIN-3234 URL: https://issues.apache.org/jira/browse/KYLIN-3234 Project: Kylin Issue Type:

Re: [Discuss] Apache Kylin Component Owner Plan

2018-02-04 Thread Billy Liu
I would like to take the ownership of "BI Integration", or make it easier as "Integration" 2018-02-02 10:39 GMT+08:00 ShaoFeng Shi : > Hello, Kylin community, > > In the past, we don't have a clear rule on Kylin each component's > ownership, which caused many external patches be pending there as n

Re: Timezone offset with java.sql.Date with kylin jdbc

2018-02-04 Thread ShaoFeng Shi
Check whether this can help: http://apache-kylin.74782.x6.nabble.com/JDBC-query-result-Date-column-get-wrong-value-td5370.html 2018-02-04 19:29 GMT+08:00 张 佑铖 : > Hi kylin team, > > Single problem, column with type Date values '2018-02-02' in hive. Query > in kylin sight is okay return value with

Re: 答复: 答复: Can't delete segment

2018-02-04 Thread ShaoFeng Shi
Cool! Git patch is welcomed. You can generate the patch by following the guide here: https://kylin.apache.org/development/howto_contribute.html 2018-02-04 19:01 GMT+08:00 张 佑铖 : > > You mean a patch for github ? > I am very pleased to do it. > I haven't done it before, but I will try it these few

答复: 答复: 答复: Can't delete segment

2018-02-04 Thread 张 佑铖
Thank you Shaofeng, Actually I have checked the code in master, the function dropJob has been improved already, with commit 8191b8ed39c32d8cfa30eaa596c03552db736a70 [cid:17efd413-3b20-46e0-9c07-3e51d3fc7606] before delete job, check if exist relatedCube, if exist throw badrequestexception. Mayb

答复: Timezone offset with java.sql.Date with kylin jdbc

2018-02-04 Thread 张 佑铖
Hi Shaofeng, Thank you for reply, but a little strange is that when I use in previous version 2.1.0 and not encounter this problem. I will check it later. Thanks again 发件人: ShaoFeng Shi 发送时间: 2018年2月4日 21:03 收件人: dev 主题: Re: Timezone offset with java.sql.Date

Re: 答复: 答复: 答复: Can't delete segment

2018-02-04 Thread Zhixiong Chen
Thanks Cheng There is a jira already. https://issues.apache.org/jira/browse/KYLIN-3215 I will merge this patch recently. Thanks! Zhixiong Chen From: 张 佑铖 Reply-To: "dev@kylin.apache.org" Date: Sunday, 4 February 2018 at 9:25 PM To: "dev@kylin.apache.org" Subject: 答复: 答复: 答复: Can't delete segm

Re: 答复: Timezone offset with java.sql.Date with kylin jdbc

2018-02-04 Thread Billy Liu
If you think there is something wrong between different versions, new test cases on the timezone issue should be added. Then we could guarantee the regression test. Patch or PR is welcomed. 2018-02-04 21:42 GMT+08:00 张 佑铖 : > Hi Shaofeng, > > Thank you for reply, but a little strange is that when

Re: 答复: 答复: 答复: Can't delete segment

2018-02-04 Thread ShaoFeng Shi
Thanks Zhixiong and Youcheng's information, then I marked this Jira as duplicated. Thanks! 2018-02-04 21:42 GMT+08:00 Zhixiong Chen : > Thanks Cheng > There is a jira already. > https://issues.apache.org/jira/browse/KYLIN-3215 > I will merge this patch recently. > > Thanks! > Zhixiong Chen > > F

Re: [Discuss] Apache Kylin Component Owner Plan

2018-02-04 Thread Jianhua Peng
+1. I would like to take the ownership of "Security" components. I also could be a backup owner for "Job Engine" components. Best regards, Jianhua Peng On 2018/02/02 02:39:38, ShaoFeng Shi wrote: > Hello, Kylin community, > > In the past, we don't have a clear rule on Kylin each component's

Re: [Discuss] Apache Kylin Component Owner Plan

2018-02-04 Thread yu feng
may I take JDBC components, and backup with @Dong Li , Thanks. 2018-02-05 9:11 GMT+08:00 Jianhua Peng : > +1. > > I would like to take the ownership of "Security" components. > I also could be a backup owner for "Job Engine" components. > > Best regards, > Jianhua Peng > > On 2018/02/02 02:39:38,

About adding new components

2018-02-04 Thread Zhong, Yanghong
Hi kylin devs, Since we have introduced a metrics framework in 2.3, https://issues.apache.org/jira/browse/KYLIN-2721, and we’re working on extract the cache module, it’s better to add new components for them correspondingly. What’s more, for future commits, how about adding the component info f

答复: 答复: Timezone offset with java.sql.Date with kylin jdbc

2018-02-04 Thread 张 佑铖
I am sorry it's my mistake, In previous version, I used 3 int fields year,month,day separately in the model so it was okay. Actually in my case the date column is just a constant field of a dimension table and just with year,month,day without time. I think it is not wise to find all the case i

Re: About adding new components

2018-02-04 Thread Billy Liu
+1 2018-02-05 10:51 GMT+08:00 Zhong, Yanghong : > Hi kylin devs, > > Since we have introduced a metrics framework in 2.3, > https://issues.apache.org/jira/browse/KYLIN-2721, and we’re working on > extract the cache module, it’s better to add new components for them > correspondingly. > > What’s

Re: About adding new components

2018-02-04 Thread ShaoFeng Shi
Make sense to add a new component for "Metrics". Regarding "cache", Can you describe the detail of "cache" component? Can it be a part of "Query Engine"? The component will be marked at JIRA level, so if the commit message has JIRA number associated, user would know the component it affects; Besid

[jira] [Created] (KYLIN-3235) add null check for SQL

2018-02-04 Thread Zhong Yanghong (JIRA)
Zhong Yanghong created KYLIN-3235: - Summary: add null check for SQL Key: KYLIN-3235 URL: https://issues.apache.org/jira/browse/KYLIN-3235 Project: Kylin Issue Type: Improvement Re

答复: 答复: Timezone offset with java.sql.Date with kylin jdbc

2018-02-04 Thread 张 佑铖
Finally after watch document of calcite, I changed connect url from "jdbc:kylin//" --> "jdbc:kylin:timeZone=UTC//" maybe not a good solution, welcome suggestions. Thanks best regards 发件人: 张 佑铖 发送时间: 2018年2月5日 10:58 收件人: dev@kylin.apache.org 主题: 答复: 答复: Timezone

[jira] [Created] (KYLIN-3236) The function 'reGenerateAdvancedDict()' has an error logical judgment, which will cause the exception when you edit the cube.

2018-02-04 Thread Peng Xing (JIRA)
Peng Xing created KYLIN-3236: Summary: The function 'reGenerateAdvancedDict()' has an error logical judgment, which will cause the exception when you edit the cube. Key: KYLIN-3236 URL: https://issues.apache.org/jira/

[jira] [Created] (KYLIN-3237) Improve the way of dealing with NPE

2018-02-04 Thread Zhong Yanghong (JIRA)
Zhong Yanghong created KYLIN-3237: - Summary: Improve the way of dealing with NPE Key: KYLIN-3237 URL: https://issues.apache.org/jira/browse/KYLIN-3237 Project: Kylin Issue Type: Improvement

[jira] [Created] (KYLIN-3238) Fix NPE when CubeInstance.getLatestReadySegment() returns null

2018-02-04 Thread Zhong Yanghong (JIRA)
Zhong Yanghong created KYLIN-3238: - Summary: Fix NPE when CubeInstance.getLatestReadySegment() returns null Key: KYLIN-3238 URL: https://issues.apache.org/jira/browse/KYLIN-3238 Project: Kylin