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

Tim Armstrong updated IMPALA-8103:
----------------------------------
    Target Version: Product Backlog
          Priority: Minor  (was: Major)

> Plan hints show up as "--" comments in analysed query
> -----------------------------------------------------
>
>                 Key: IMPALA-8103
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8103
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Tim Armstrong
>            Assignee: Andrew Sherman
>            Priority: Minor
>
> I noticed that the hints added in IMPALA-5821 show up in the -- style rather 
> than /**/
> {code}
>     Sql Statement: select * from tpch.lineitem join /*+ broadcast */ 
> tpch.part on l_partkey = p_partkey limit 
> ...
> Analyzed query: SELECT * FROM tpch.lineitem INNER JOIN
> -- +broadcast
> tpch.part ON l_partkey = p_partkey LIMIT CAST(5 AS TINYINT)
> {code}
> I guess this works and maybe its fine, but I was really confused when I saw 
> it. It looks like getPlanHintsSql() uses this to generate views in such a way 
> that Hive will ignore the hints, but that concern doesn't seem relevant to 
> this use case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to