lgbo-ustc opened a new issue, #6544:
URL: https://github.com/apache/incubator-gluten/issues/6544

   ### Description
   
   Following sql will fallback on `ExsistenceJoin`
   ```sql
   select t1.a from join_t1 as t1 where exists (select t2.a from join_t2 as t2 
where t1.a = t2.a) or t1.a > 0;
   ```
   ```
   CHNativeColumnarToRow
   +- ^(7) ProjectExecTransformer [a#3L]
      +- ^(7) FilterExecTransformer (exists#30 OR (a#3L > cast(0 as bigint)))
         +- ^(7) InputIteratorTransformer[a#3L, exists#30]
            +- RowToCHNativeColumnar
               +- *(1) BroadcastHashJoin [a#3L], [a#8L], 
ExistenceJoin(exists#30), BuildRight, false
                  :- CHNativeColumnarToRow
                  :  +- ^(5) NativeFileScan parquet default.join_t1[a#3L] 
Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 
paths)[file:/data3/liangjiabiao/docker/local_gluten/spark-3.3.2-bin-hadoop3/s...,
 PartitionFilters: [], PushedFilters: [], ReadSchema: struct<a:bigint>
                  +- BroadcastExchange 
HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=211]
                     +- CHNativeColumnarToRow
                        +- ^(6) NativeFileScan parquet default.join_t2[a#8L] 
Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 
paths)[file:/data3/liangjiabiao/docker/local_gluten/spark-3.3.2-bin-hadoop3/s...,
 PartitionFilters: [], PushedFilters: [], ReadSchema: struct<a:bigint>
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to