You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "nichunen (JIRA)" <ji...@apache.org> on 2016/03/07 03:36:40 UTC
[jira] [Created] (KYLIN-1472) Export csv get error when there is a
plus sign in the sql
nichunen created KYLIN-1472:
-------------------------------
Summary: Export csv get error when there is a plus sign in the sql
Key: KYLIN-1472
URL: https://issues.apache.org/jira/browse/KYLIN-1472
Project: Kylin
Issue Type: Bug
Components: Web
Affects Versions: v1.2, v2.0
Reporter: nichunen
Assignee: nichunen
Fix For: v2.1, v1.3
For example, query the sample cube with "select max(price)+min(price) from KYLIN_SALES", get the result on the web window. But click the "export" button get an error message "Encountered \"min\" at line 1, column 19. Was expecting one of...".
This is because the export button visit the api url directly, in the url, the plus sign is treated as blank, so kylin server get sql "select max(price) min(price) from KYLIN_SALES" which is an invalid sql.
I will submit two patches for 1.x and 2.x.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)