[jira] [Resolved] (KYLIN-1996) Keep original column order when designing cube

2016-09-09 Thread Billy(Yiming) Liu (JIRA)

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

Billy(Yiming) Liu resolved KYLIN-1996.
--
   Resolution: Fixed
Fix Version/s: v1.5.4

> Keep original column order when designing cube 
> ---
>
> Key: KYLIN-1996
> URL: https://issues.apache.org/jira/browse/KYLIN-1996
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.2
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
>Priority: Minor
> Fix For: v1.5.4
>
> Attachments: 
> 0001-KYLIN-1996-Keep-original-column-order-when-designing.patch
>
>
> [Quote from Luke's mail]
> I think the designer should keep original order when create "data model"
> And allow user to re-order in a data model.
> When create a cube, it should also keep the same order from data model.
> User could adjust the order after created dimensions and metrics later



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


[jira] [Commented] (KYLIN-1770) Upgrade Calcite dependency (v1.9)

2016-09-09 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15477446#comment-15477446
 ] 

Billy(Yiming) Liu commented on KYLIN-1770:
--

https://issues.apache.org/jira/browse/CALCITE-1371
one more bug fixed for Calcite 1.9

> Upgrade Calcite dependency (v1.9)
> -
>
> Key: KYLIN-1770
> URL: https://issues.apache.org/jira/browse/KYLIN-1770
> Project: Kylin
>  Issue Type: Bug
>  Components: Driver - JDBC
>Affects Versions: v1.5.1, v1.5.2
>Reporter: Dayue Gao
>Assignee: Yiming Liu
>
> Sample code to reproduce:
> {code:java}
> final String sql = "select count(*) from kylin_sales where 
> LSTG_SITE_ID between ? and ?";
> try (PreparedStatement stmt = conn.prepareStatement(sql)) {
> stmt.setInt(1, 0);
> stmt.setInt(2, 5);
> try (ResultSet rs = stmt.executeQuery()) {
> printResultSet(rs);
> }
> }
> {code}
> Exception stack trace from server log:
> {noformat}
> java.sql.SQLException: Error while preparing statement [select count(*) from 
> kylin_sales where LSTG_SITE_ID between ? and ?]
> at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
> at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement_(CalciteConnectionImpl.java:203)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:184)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:85)
> at 
> org.apache.calcite.avatica.AvaticaConnection.prepareStatement(AvaticaConnection.java:153)
> at 
> org.apache.kylin.rest.service.QueryService.execute(QueryService.java:353)
> at 
> org.apache.kylin.rest.service.QueryService.queryWithSqlMassage(QueryService.java:274)
> at 
> org.apache.kylin.rest.service.QueryService.query(QueryService.java:120)
> at 
> org.apache.kylin.rest.service.QueryService$$FastClassByCGLIB$$4957273f.invoke()
> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)
> at 
> org.apache.kylin.rest.service.QueryService$$EnhancerByCGLIB$$8610374f.query()
> at 
> org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:192)
> at 
> org.apache.kylin.rest.controller.QueryController.prepareQuery(QueryController.java:101)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> at 
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> at 
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> at 
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> 

[jira] [Updated] (KYLIN-1928) Query elapsed time not shown when query returns 0 result

2016-09-09 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-1928:
-
Attachment: 0001-KYLIN-1928-Query-elapsed-time-not-shown-when-query-r.patch

I have fixed this bug.Please check it .Thanks!

> Query elapsed time not shown when query returns 0 result
> 
>
> Key: KYLIN-1928
> URL: https://issues.apache.org/jira/browse/KYLIN-1928
> Project: Kylin
>  Issue Type: Improvement
>Reporter: hongbin ma
>Assignee: Zhong,Jason
> Attachments: 
> 0001-KYLIN-1928-Query-elapsed-time-not-shown-when-query-r.patch
>
>




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


[jira] [Created] (KYLIN-2005) Move all storage side behavior hints to GTScanRequest

2016-09-09 Thread hongbin ma (JIRA)
hongbin ma created KYLIN-2005:
-

 Summary: Move all storage side behavior hints to GTScanRequest
 Key: KYLIN-2005
 URL: https://issues.apache.org/jira/browse/KYLIN-2005
 Project: Kylin
  Issue Type: Bug
Reporter: hongbin ma
Assignee: hongbin ma






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