Abacn commented on PR #35588:
URL: https://github.com/apache/beam/pull/35588#issuecomment-3082065635

   testProjectArrayFieldWithCoGBKJoin failed for similar reason:
   
   Did a bisect (use un-vendored Calcite: 
https://github.com/Abacn/beam/commit/d2aff89cd7b2669336dda6e15edc82bcd719b388). 
Previously (Calcite 1.38 and below), parsed query:
   
   ```
   LogicalProject(f_stringArr=[$2])
     LogicalJoin(condition=[=($1, $3)], joinType=[inner])
       BeamIOSourceRel(table=[[beam, PCOLLECTION]])
       LogicalAggregate(group=[{0}])
         LogicalValues(tuples=[[{ 'A' }, { 'B' }, ... }]])
   ```
   
   and Beam plan successfully convert to
   
   ```
   BeamCalcRel(expr#0..3=[{inputs}], f_stringArr=[$t2])
     BeamCoGBKJoinRel(condition=[=($1, $3)], joinType=[inner])
       BeamIOSourceRel(table=[[beam, PCOLLECTION]])
       BeamValuesRel(tuples=[[{ 'A' }, { 'B' },...]])
   ```
   
   In Calcite 1.39+, the parsed query becomes
   
   ```
   LogicalProject(f_stringArr=[$2])
     LogicalFilter(condition=[IN($1, {
   LogicalValues(tuples=[[{ 'A' }, { 'B' }, ...]])
   })])
       BeamIOSourceRel(table=[[beam, PCOLLECTION]])
   ```
   
   and not able to convert due to the same reason, LogicalFilter(convention: 
None -> BEAM_LOGICAL) not implemented.
   


-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to