adriangb opened a new issue, #16973:
URL: https://github.com/apache/datafusion/issues/16973

   ### Is your feature request related to a problem or challenge?
   
   In https://github.com/apache/datafusion/pull/16954 we are only going to 
support inner joins because of complexities with other join types.
   
   This would benefit cases such as:
   
   ```sql
   COPY (SELECT 1 AS c1) TO 't1.parquet';
   COPY (SELECT 1 AS c1, 2 AS c2) TO 't2.parquet';
   
   CREATE EXTERNAL TABLE t1 (
       c1 INT NOT NULL
   )
   STORED AS PARQUET
   LOCATION  't1.parquet';
   
   CREATE EXTERNAL TABLE t2 (
       c1 INT NOT NULL,
       c2 INT NOT NULL
   )
   STORED AS PARQUET
   LOCATION  't2.parquet';
   
   select *
   from t1
   left join t2 using (c1)
   order by t2.c2
   limit 100;
   ```
   
   ### Describe the solution you'd like
   
   An implementation similar to that of the logical optimizer that accounts for 
the edge cases and allows some filters to be pushed down.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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...@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to