You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "curtisleefulton (via GitHub)" <gi...@apache.org> on 2024/01/26 16:18:56 UTC

[I] Optimizer schema change assert error has incorrect error [arrow-datafusion]

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

   ### Describe the bug
   
   In datafusion/optimizer/src/optimizer.rs:271 when calling `assert_schema_is_the_same` prev_plan / new_plan are backwards. This causes an incorrect / confusing assert error, indicating the optimized plan is actually the original plan.
   
   ### To Reproduce
   
   Any optimization error that produces a schema change will reproduce this bug.
   
   In this particular case, the root cause of the schema change dropping timezone metadata for timestamps somewhere in  the Optimizer rule `simplify_expressions`. Fixing this bug will help find the root cause.
   
   ### Expected behavior
   
   _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-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] Optimizer schema change assert error has incorrect error [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #9010: Optimizer schema change assert error has incorrect error
URL: https://github.com/apache/arrow-datafusion/issues/9010


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