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

nichunen updated KYLIN-1472:
----------------------------
    Attachment: KYLIN-1472-FOR2X.patch

> 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: v2.0, v1.2
>            Reporter: nichunen
>            Assignee: Zhong,Jason
>             Fix For: v2.1, v1.4
>
>         Attachments: KYLIN-1472-FOR1X.patch, KYLIN-1472-FOR2X.patch
>
>
> 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)

Reply via email to