You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yaqian Zhang (Jira)" <ji...@apache.org> on 2019/09/19 08:50:00 UTC

[jira] [Commented] (KYLIN-4068) Automatically add limit has bug

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

Yaqian Zhang commented on KYLIN-4068:
-------------------------------------

Verified.

This limit is working on the result of union on [v3.0.0-alpha2.|https://issues.apache.org/jira/issues/?jql=project+%3D+KYLIN+AND+fixVersion+%3D+v3.0.0-alpha2]

!image-2019-09-19-16-47-40-292.png|width=325,height=249!

> Automatically add limit has bug
> -------------------------------
>
>                 Key: KYLIN-4068
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4068
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: v2.6.2
>            Reporter: weibin0516
>            Assignee: weibin0516
>            Priority: Major
>             Fix For: v3.0.0-alpha2
>
>         Attachments: image-2019-09-19-16-47-40-292.png
>
>
> {code:sql}
> SELECT E_Name FROM Employees_China
> UNION
> SELECT E_Name FROM Employees_USA
> {code}
> will convert to 
> {code:sql}
> SELECT E_Name FROM Employees_China
> UNION
> SELECT E_Name FROM Employees_USA
> LIMIT 50000
> {code}
> This limit is not working on the result of union, but on SELECT E_Name FROM Employees_USA.
> We should use a more secure way to achieve the limit effect.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)