You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Zhong,Jason (JIRA)" <ji...@apache.org> on 2016/03/18 04:49:33 UTC
[jira] [Resolved] (KYLIN-1472) Export csv get error when there is a
plus sign in the sql
[ https://issues.apache.org/jira/browse/KYLIN-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhong,Jason resolved KYLIN-1472.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: Backlog)
v1.5.1
v1.3.1
> 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.4.0, v1.2
> Reporter: nichunen
> Assignee: Zhong,Jason
> Fix For: v1.3.1, v1.5.1
>
> 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)