dtenedor commented on PR #44939:
URL: https://github.com/apache/spark/pull/44939#issuecomment-1920150550

   @MaxGekk I tried several different ways of testing this bug with DSV2 CSV 
scans, but was unable to use a schema with column defaults and hitting that 
breakpoint in the DSV2 `CSVPartitionReaderFactory`. I can hit that breakpoint, 
but not when loading the table schema from Hive which is necessary to get the 
column default metadata in there.
   
   At any rate, I updated `CSVOptions.isColumnPruningEnabled` only have one 
overload that takes the required schema and checks for column defaults, which 
enforces that all V1 and V2 callers use the same code now. So we should be OK.


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