blob: 61a4a06dc944bb9ec053102dee4b0b12443892dc [file] [log] [blame]
source ${system:hive.root}/data/files/starships.sql;
-- conditions on one side of the join ; PK/FK scale should be used
set hive.explain.user=true;
set hive.semantic.analyzer.hook=org.apache.hadoop.hive.ql.hooks.AccurateEstimatesCheckerHook;
explain analyze
select
s.id
from
ships s,
ship_types st,
torpedos t
where
st.type_name='galaxy class'
and ship_type_id=st.id
and ship_id=s.id
;