Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
TPCH05 is currently marked Ignored since it started timing out after we enabled new plans with hash join and hash aggregate. The logs show that the query progresses until a point where some downstream fragment is waiting for data or end of stream and the query times out. More diagnostic information needs to be added to track exactly what each fragment is doing. We need to re-enable this test after fixing the underlying cause for timeout.
Here's the physical plan for query 05:
Drill Physical :
ScreenPrel: rowcount = 9.638871459960938E8, cumulative cost =
, id = 17939
SingleMergeExchangePrel(sort0=[1 DESC]): rowcount = 9.638871459960938E8, cumulative cost =
, id = 17938
SortPrel(sort0=[$1], dir0=[DESC]): rowcount = 9.638871459960938E8, cumulative cost =
, id = 17937
HashToRandomExchangePrel(dist0=[[$1]]): rowcount = 9.638871459960938E8, cumulative cost =
, id = 17936
HashAggPrel(group=[
], revenue=[SUM($1)]): rowcount = 9.638871459960938E8, cumulative cost =
{7.842186464313281E10 rows, 1.1923900474720938E12 cpu, 0.0 io, 1.506145581014208E15 network}, id = 17935
HashToRandomExchangePrel(dist0=[[$0]]): rowcount = 9.638871459960938E9, cumulative cost =
, id = 17934
ProjectPrel(n_name=[$4], $f1=[*($17, -(1, $18))]): rowcount = 9.638871459960938E9, cumulative cost =
, id = 17933
HashJoinPrel(condition=[=($20, $6)], joinType=[inner]): rowcount = 9.638871459960938E9, cumulative cost =
, id = 17932
HashToRandomExchangePrel(dist0=[[$6]]): rowcount = 3.75, cumulative cost =
, id = 17920
HashJoinPrel(condition=[=($5, $2)], joinType=[inner]): rowcount = 3.75, cumulative cost =
, id = 17919
HashToRandomExchangePrel(dist0=[[$2]]): rowcount = 1.0, cumulative cost =
, id = 17917
FilterPrel(condition=[=(CAST($1):CHAR(6) CHARACTER SET "ISO-8859-1" COLLATE "ISO-8859-1$en_US$primary", 'EUROPE')]): rowcount = 1.0, cumulative cost =
, id = 17916
ScanPrel(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=/tpch/region.parquet]], selectionRoot=/tpch/region.parquet, columns=[SchemaPath [`r_name`], SchemaPath [`r_regionkey`]]]]): rowcount = 5.0, cumulative cost =
, id = 16822
HashToRandomExchangePrel(dist0=[[$2]]): rowcount = 25.0, cumulative cost =
, id = 17918
ScanPrel(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=/tpch/nation.parquet]], selectionRoot=/tpch/nation.parquet, columns=[SchemaPath [`n_name`], SchemaPath [`n_regionkey`], SchemaPath [`n_nationkey`]]]]): rowcount = 25.0, cumulative cost =
, id = 16833
HashToRandomExchangePrel(dist0=[[$13]]): rowcount = 1.7135771484375E10, cumulative cost =
, id = 17931
HashJoinPrel(condition=[AND(=($2, $13), =($9, $14))], joinType=[inner]): rowcount = 1.7135771484375E10, cumulative cost =
, id = 17930
HashToRandomExchangePrel(dist0=[[$2]], dist1=[[$9]]): rowcount = 7.6158984375E9, cumulative cost =
, id = 17928
HashJoinPrel(condition=[=($8, $6)], joinType=[inner]): rowcount = 7.6158984375E9, cumulative cost =
, id = 17927
HashToRandomExchangePrel(dist0=[[$6]]): rowcount = 843750.0, cumulative cost =
, id = 17925
HashJoinPrel(condition=[=($1, $5)], joinType=[inner]): rowcount = 843750.0, cumulative cost =
, id = 17924
HashToRandomExchangePrel(dist0=[[$1]]): rowcount = 1500.0, cumulative cost =
, id = 17921
ScanPrel(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=/tpch/customer.parquet]], selectionRoot=/tpch/customer.parquet, columns=[SchemaPath [`c_custkey`], SchemaPath [`c_nationkey`]]]]): rowcount = 1500.0, cumulative cost =
, id = 16829
HashToRandomExchangePrel(dist0=[[$2]]): rowcount = 3750.0, cumulative cost =
, id = 17923
FilterPrel(condition=[AND(>=($1, 1997-01-01), <($1, +(1997-01-01, 12)))]): rowcount = 3750.0, cumulative cost =
, id = 17922
ScanPrel(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=/tpch/orders.parquet]], selectionRoot=/tpch/orders.parquet, columns=[SchemaPath [`o_orderdate`], SchemaPath [`o_custkey`], SchemaPath [`o_orderkey`]]]]): rowcount = 15000.0, cumulative cost =
, id = 16879
HashToRandomExchangePrel(dist0=[[$1]]): rowcount = 60175.0, cumulative cost =
, id = 17926
ScanPrel(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=/tpch/lineitem.parquet]], selectionRoot=/tpch/lineitem.parquet, columns=[SchemaPath [`l_orderkey`], SchemaPath [`l_suppkey`], SchemaPath [`l_extendedprice`], SchemaPath [`l_discount`]]]]): rowcount = 60175.0, cumulative cost =
, id = 16839
HashToRandomExchangePrel(dist0=[[$1]], dist1=[[$2]]): rowcount = 100.0, cumulative cost =
, id = 17929
ScanPrel(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=/tpch/supplier.parquet]], selectionRoot=/tpch/supplier.parquet, columns=[SchemaPath [`s_nationkey`], SchemaPath [`s_suppkey`]]]]): rowcount = 100.0, cumulative cost =
, id = 17110