@@ -2744,23 +2744,20 @@ async fn test_count_wildcard_on_where_exist() -> Result<()> {
27442744
27452745 assert_snapshot ! (
27462746 pretty_format_batches( & sql_results) . unwrap( ) ,
2747- @r###"
2748- +---------------+---------------------------------------------------------+
2749- | plan_type | plan |
2750- +---------------+---------------------------------------------------------+
2751- | logical_plan | LeftSemi Join: |
2752- | | TableScan: t1 projection=[a, b] |
2753- | | SubqueryAlias: __correlated_sq_1 |
2754- | | Projection: |
2755- | | Aggregate: groupBy=[[]], aggr=[[count(Int64(1))]] |
2756- | | TableScan: t2 projection=[] |
2757- | physical_plan | NestedLoopJoinExec: join_type=RightSemi |
2758- | | ProjectionExec: expr=[] |
2759- | | PlaceholderRowExec |
2760- | | DataSourceExec: partitions=1, partition_sizes=[1] |
2761- | | |
2762- +---------------+---------------------------------------------------------+
2763- "###
2747+ @r"
2748+ +---------------+-----------------------------------------------------+
2749+ | plan_type | plan |
2750+ +---------------+-----------------------------------------------------+
2751+ | logical_plan | LeftSemi Join: |
2752+ | | TableScan: t1 projection=[a, b] |
2753+ | | SubqueryAlias: __correlated_sq_1 |
2754+ | | EmptyRelation |
2755+ | physical_plan | NestedLoopJoinExec: join_type=RightSemi |
2756+ | | PlaceholderRowExec |
2757+ | | DataSourceExec: partitions=1, partition_sizes=[1] |
2758+ | | |
2759+ +---------------+-----------------------------------------------------+
2760+ "
27642761 ) ;
27652762
27662763 let df_results = ctx
@@ -2783,23 +2780,20 @@ async fn test_count_wildcard_on_where_exist() -> Result<()> {
27832780
27842781 assert_snapshot ! (
27852782 pretty_format_batches( & df_results) . unwrap( ) ,
2786- @r###"
2787- +---------------+---------------------------------------------------------------------+
2788- | plan_type | plan |
2789- +---------------+---------------------------------------------------------------------+
2790- | logical_plan | LeftSemi Join: |
2791- | | TableScan: t1 projection=[a, b] |
2792- | | SubqueryAlias: __correlated_sq_1 |
2793- | | Projection: |
2794- | | Aggregate: groupBy=[[]], aggr=[[count(Int64(1)) AS count(*)]] |
2795- | | TableScan: t2 projection=[] |
2796- | physical_plan | NestedLoopJoinExec: join_type=RightSemi |
2797- | | ProjectionExec: expr=[] |
2798- | | PlaceholderRowExec |
2799- | | DataSourceExec: partitions=1, partition_sizes=[1] |
2800- | | |
2801- +---------------+---------------------------------------------------------------------+
2802- "###
2783+ @r"
2784+ +---------------+-----------------------------------------------------+
2785+ | plan_type | plan |
2786+ +---------------+-----------------------------------------------------+
2787+ | logical_plan | LeftSemi Join: |
2788+ | | TableScan: t1 projection=[a, b] |
2789+ | | SubqueryAlias: __correlated_sq_1 |
2790+ | | EmptyRelation |
2791+ | physical_plan | NestedLoopJoinExec: join_type=RightSemi |
2792+ | | PlaceholderRowExec |
2793+ | | DataSourceExec: partitions=1, partition_sizes=[1] |
2794+ | | |
2795+ +---------------+-----------------------------------------------------+
2796+ "
28032797 ) ;
28042798
28052799 Ok ( ( ) )
0 commit comments