[
https://issues.apache.org/jira/browse/KYLIN-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184740#comment-15184740
]
Zhong,Jason commented on KYLIN-1472:
------------------------------------
Yes, it works for '+'
> 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)