gruuya commented on code in PR #9097:
URL: https://github.com/apache/arrow-datafusion/pull/9097#discussion_r1474332556
##########
datafusion/sqllogictest/test_files/predicates.slt:
##########
@@ -732,20 +732,22 @@ AggregateExec: mode=SinglePartitioned, gby=[p_partkey@2
as p_partkey], aggr=[SUM
--ProjectionExec: expr=[l_extendedprice@0 as l_extendedprice, l_discount@1 as
l_discount, p_partkey@2 as p_partkey, ps_suppkey@4 as ps_suppkey]
----CoalesceBatchesExec: target_batch_size=8192
------HashJoinExec: mode=Partitioned, join_type=Inner, on=[(p_partkey@2,
ps_partkey@0)]
---------ProjectionExec: expr=[l_extendedprice@1 as l_extendedprice,
l_discount@2 as l_discount, p_partkey@3 as p_partkey]
-----------CoalesceBatchesExec: target_batch_size=8192
-------------HashJoinExec: mode=Partitioned, join_type=Inner, on=[(l_partkey@0,
p_partkey@0)]
---------------CoalesceBatchesExec: target_batch_size=8192
-----------------RepartitionExec: partitioning=Hash([l_partkey@0], 4),
input_partitions=4
-------------------RepartitionExec: partitioning=RoundRobinBatch(4),
input_partitions=1
---------------------CsvExec: file_groups={1 group:
[[WORKSPACE_ROOT/datafusion/core/tests/tpch-csv/lineitem.csv]]},
projection=[l_partkey, l_extendedprice, l_discount], has_header=true
+--------CoalesceBatchesExec: target_batch_size=8192
+----------RepartitionExec: partitioning=Hash([p_partkey@2], 4),
input_partitions=4
Review Comment:
Ok, the issue here was that mapping was done not on the input eq_props but
on the computed output one. I replaced it now, and it the explains now match
well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]