kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peng.jianhua (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KYLIN-3103) Export result failed when sql with comments
Date Thu, 14 Dec 2017 06:48:00 GMT

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

peng.jianhua edited comment on KYLIN-3103 at 12/14/17 6:47 AM:
---------------------------------------------------------------

Hi,[~Zhixiong Chen],if the sql like following:
\-- query trans_id
select trans_id from kylin_sales

The old code will convert '\n' to space,so the sql will become "-- query trans_id select trans_id
from kylin_sales" when we export the result.
Therefore,we can't download the result.


was (Author: peng.jianhua):
Hi,[~Zhixiong Chen],if the sql like following:
-- query trans_id
select trans_id from kylin_sales

The old code will convert '\n' to space,so the sql will become "-- query trans_id select trans_id
from kylin_sales" when we export the result.
Therefore,we can't download the result.

> Export result failed when sql with comments
> -------------------------------------------
>
>                 Key: KYLIN-3103
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3103
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>         Attachments: 0001-KYLIN-3103-Export-result-failed-when-sql-with-commen.patch,
error.PNG
>
>
> \-- query trans_id
> select trans_id from kylin_sales
> sql like this above,execute success,export failed,please refer to error.PNG



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message