You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2026/02/13 18:07:51 UTC

[I] Default values doesn't work with `native_datafusion` [datafusion-comet]

comphead opened a new issue, #3515:
URL: https://github.com/apache/datafusion-comet/issues/3515

   ### Describe the bug
   
   During DF52 migration #3046 the test 
   `select column with default value` stopped to work. The default values are not applied
   
   ```
     == Results ==
     !== Correct Answer - 1 ==   == Spark Answer - 1 ==
      struct<col2:boolean>       struct<col2:boolean>
     ![true]                     [null] (QueryTest.scala:244)
   ```
   
   The reason DF expects default values to be sent before `Column` expressions to replace respective value by column name, however currently Comet sends default values after `Column`
   
   ### Steps to reproduce
   
   ```
   make core && RUST_BACKTRACE=1 COMET_PARQUET_SCAN_IMPL=native_datafusion ./mvnw test -Dsuites="org.apache.comet.CometFuzzTestSuite select column with default value"
   ```
   
   ### 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@datafusion.apache.org.apache.org

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


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


Re: [I] Default values doesn't work with `native_datafusion` [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3515:
URL: https://github.com/apache/datafusion-comet/issues/3515#issuecomment-3898670258

   failing tests 
   ```
   test("INSERT rows, ALTER TABLE ADD COLUMNS with DEFAULTs, then SELECT them")
   ``` can also be related


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

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


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


Re: [I] Default values doesn't work with `native_datafusion` [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3515:
URL: https://github.com/apache/datafusion-comet/issues/3515#issuecomment-3898926351

   it is related to df52, @andygrove recommended to ignore it for now and address in post migration. 
   


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

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


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


Re: [I] Default values doesn't work with `native_datafusion` [datafusion-comet]

Posted by "mbutrovich (via GitHub)" <gi...@apache.org>.
mbutrovich commented on issue #3515:
URL: https://github.com/apache/datafusion-comet/issues/3515#issuecomment-3898790882

   Are you saying they don't work in `main` or are you tracking `df52` branch issues? As far as I know, `main` is still working as expected after #1756. If this is new behavior in the `df52` branch, then we should clarify.


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

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


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