baibaichen commented on issue #5668:
URL: 
https://github.com/apache/incubator-gluten/issues/5668#issuecomment-2102003962

   > A example
   > 
   > ```sql
   > select
   >   t1.n_nationkey, t2.n_nationkey from tpch_pq.nation as t1 left  join 
tpch_pq.nation as t2
   > on t1.n_nationkey = t2.n_nationkey 
   >   and t1.n_regionkey >= t2.n_regionkey ;
   > ```
   > 
   > `t1.n_regionkey >= t2.n_regionkey` contains columns from `t1` and `t2`.
   
   @lgbo-ustc 
   
   Let `CHJoinValidateUtil::shouldFallback` always return false. and try `tpch 
21` at 
https://github.com/apache/incubator-gluten/blob/53858ec3ded3cee2e675a1f729bee37718b57dd1/backends-clickhouse/src/test/scala/org/apache/gluten/execution/GlutenClickHouseTPCHSuite.scala#L174
   
   TPCH21 has `!=` in `On` clause
   ```
   +- ^(169) RowToCHNativeColumnar
      +- *(1) BroadcastHashJoin [l_orderkey#9760L], [l_orderkey#9807L], 
LeftAnti, BuildRight, NOT (l_suppkey#9809L = l_suppkey#9762L), false
         :- *(1) BroadcastHashJoin [l_orderkey#9760L], [l_orderkey#9790L], 
LeftSemi, BuildRight, NOT (l_suppkey#9792L = l_suppkey#9762L), false
   ```


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