Tim Armstrong created IMPALA-8103:
-------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]