ivan-kiselev commented on PR #27867:
URL: https://github.com/apache/datafusion/pull/27867#issuecomment-7319077213

   Found one regression with a model here:
   ```SQL
   SET datafusion.execution.target_partitions = 4;
   SET datafusion.execution.batch_size = 2;
   SET datafusion.execution.parquet.pushdown_filters = true;
   
   COPY (
     SELECT column1 AS c, column2 AS a, column3 AS b
     FROM VALUES (6, 5, 1), (6, 4, 2), (6, -1, 7), (6, 9, -3)
   ) TO 'constant-input.parquet' STORED AS PARQUET;
   
   CREATE EXTERNAL TABLE t STORED AS PARQUET
   LOCATION 'constant-input.parquet';
   
   SELECT a + b + 1 AS k, a
   FROM t
   WHERE c = a + b AND c + 1 = 7
   ORDER BY k, a;
   ```
   
   Pre-PR optimizer returnins `(7, -1), (7, 4), (7, 5), (7, 9)`.
   Head of this branch: `SanityCheckPlan: order and distribution requirements 
stopped holding after physical optimizer rule 'ProjectionPushdown`


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