sdreynolds opened a new pull request, #2975:
URL: https://github.com/apache/calcite/pull/2975

   ## Why:
   When rewriting the query for a semi join, the
   `JoinOnUniqueToSemiJoinRule` pushes a new project via `RelBuilder`. This 
project is *almost* a good copy of the original `Project` -- it is just missing 
the field names.
   
   ## How:
   This change uses `RelDataType` of the `Project` to get the field names for 
the new `Project` pushed on the `Relbuilder` stack. This is similar to what is 
done in `SemiJoinRule#perform`


-- 
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: commits-unsubscr...@calcite.apache.org

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

Reply via email to