You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2017/12/14 06:48:00 UTC

[jira] [Comment Edited] (KYLIN-3103) Export result failed when sql with comments

    [ 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)