@@ -734,7 +734,7 @@ explain select * from testSubQueryLimit as t1 join (select * from testSubQueryLi
734734----
735735logical_plan
73673601)Limit: skip=0, fetch=10
737- 02)--Cross Join:
737+ 02)--Cross Join:
73873803)----SubqueryAlias: t1
73973904)------Limit: skip=0, fetch=10
74074005)--------TableScan: testsubquerylimit projection=[a, b], fetch=10
@@ -759,7 +759,7 @@ explain select * from testSubQueryLimit as t1 join (select * from testSubQueryLi
759759----
760760logical_plan
76176101)Limit: skip=0, fetch=2
762- 02)--Cross Join:
762+ 02)--Cross Join:
76376303)----SubqueryAlias: t1
76476404)------Limit: skip=0, fetch=2
76576505)--------TableScan: testsubquerylimit projection=[a, b], fetch=2
@@ -830,6 +830,9 @@ CREATE EXTERNAL TABLE test_limit_with_partitions
830830STORED AS PARQUET
831831LOCATION 'test_files/scratch/parquet/test_limit_with_partitions/';
832832
833+ statement ok
834+ set datafusion.explain.logical_plan_only = true;
835+
833836query TT
834837explain
835838with selection as (
@@ -849,12 +852,9 @@ logical_plan
84985204)------SubqueryAlias: selection
85085305)--------Limit: skip=0, fetch=1
85185406)----------TableScan: test_limit_with_partitions projection=[part_key], fetch=1
852- physical_plan
853- 01)ProjectionExec: expr=[foo@0 as foo]
854- 02)--SortExec: TopK(fetch=1000), expr=[part_key@1 ASC NULLS LAST], preserve_partitioning=[false]
855- 03)----ProjectionExec: expr=[1 as foo, part_key@0 as part_key]
856- 04)------CoalescePartitionsExec: fetch=1
857- 05)--------DataSourceExec: file_groups={3 groups: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/parquet/test_limit_with_partitions/part-2.parquet:0..265], [WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/parquet/test_limit_with_partitions/part-2.parquet:265..530], [WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/parquet/test_limit_with_partitions/part-2.parquet:530..794]]}, projection=[part_key], limit=1, file_type=parquet
855+
856+ statement ok
857+ set datafusion.explain.logical_plan_only = false;
858858
859859query I
860860with selection as (
0 commit comments