beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Mingmin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-2214) support `JOIN` in explain
Date Mon, 08 May 2017 18:09:04 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xu Mingmin updated BEAM-2214:
-----------------------------
    Description: 
Support keyword {{JOIN}} to to replace node in explain,
{code}
LogicalJoin(condition=[=($0, $8)], joinType=[inner|left|right|full])
{code} 

examples as below:
{code}
sql = "select * from ORDER_DETAILS join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int = ORDER_FILTERED_DETAILS.f_int";
sql = "select * from ORDER_DETAILS inner join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
sql = "select * from ORDER_DETAILS left outer join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
sql = "select * from ORDER_DETAILS right outer join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
{code}

  was:
Support keyword {{JOIN}} to to replace node in explain,
{code}
LogicalJoin(condition=[=($0, $8)], joinType=[inner|left|right])
{code} 

examples as below:
{code}
sql = "select * from ORDER_DETAILS join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int = ORDER_FILTERED_DETAILS.f_int";
sql = "select * from ORDER_DETAILS inner join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
sql = "select * from ORDER_DETAILS left outer join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
sql = "select * from ORDER_DETAILS right outer join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
{code}


> support `JOIN` in explain
> -------------------------
>
>                 Key: BEAM-2214
>                 URL: https://issues.apache.org/jira/browse/BEAM-2214
>             Project: Beam
>          Issue Type: Sub-task
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>            Assignee: Xu Mingmin
>
> Support keyword {{JOIN}} to to replace node in explain,
> {code}
> LogicalJoin(condition=[=($0, $8)], joinType=[inner|left|right|full])
> {code} 
> examples as below:
> {code}
> sql = "select * from ORDER_DETAILS join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
> sql = "select * from ORDER_DETAILS inner join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
> sql = "select * from ORDER_DETAILS left outer join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
> sql = "select * from ORDER_DETAILS right outer join ORDER_FILTERED_DETAILS on ORDER_DETAILS.f_int
= ORDER_FILTERED_DETAILS.f_int";
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message