You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/14 14:00:36 UTC

[GitHub] [arrow-datafusion] andygrove opened a new issue, #2907: Optimization rules create invalid projections

andygrove opened a new issue, #2907:
URL: https://github.com/apache/arrow-datafusion/issues/2907

   **Describe the bug**
   I am trying to run some complex SQL and am seeing errors such as:
   
   ```
   thread 'q11' panicked at 'index out of bounds: the len is 12 but the index is 12', /home/andy/.cargo/git/checkouts/arrow-datafusion-71ae82d9dec9a01c/9401d6d/datafusion/optimizer/src/projection_push_down.rs:159:39
   ```
   
   With the changes in https://github.com/apache/arrow-datafusion/pull/2900 I see a slighter more informative error:
   
   ```
   FAILURE: Plan("Projection has mismatch between number of expressions (12) and number of fields in schema (42)")
   ```
   
   **To Reproduce**
   I do not have a repro to share currently. I am in the process of debugging this.
   
   **Expected behavior**
   Should not fail. Rules should avoid changing plans if there are errors rather than panic.
   
   **Additional context**
   None
   


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

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


[GitHub] [arrow-datafusion] andygrove commented on issue #2907: Optimization rule `CommonSubexprEliminate` creates invalid projections

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2907:
URL: https://github.com/apache/arrow-datafusion/issues/2907#issuecomment-1184568931

   @waynexia fyi - if you have any time available maybe you can give some guidance on this?


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

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


[GitHub] [arrow-datafusion] alamb closed issue #2907: Optimization rule `CommonSubexprEliminate` creates invalid projections

Posted by GitBox <gi...@apache.org>.
alamb closed issue #2907: Optimization rule `CommonSubexprEliminate` creates invalid projections
URL: https://github.com/apache/arrow-datafusion/issues/2907


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

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