Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
ghx-label-9
Description
I noticed that the hints added in IMPALA-5821 show up in the – style rather than /**/
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)
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.