lipzhu opened a new pull request #27663: [SPARK-30895]:The behavior of 
CsvToStructs should not depend on SQLConf.get
URL: https://github.com/apache/spark/pull/27663
 
 
   ### What changes were proposed in this pull request?
   In the PR, I add the `nameOfCorruptRecord` parameter to the `CsvToStructs` 
expression.
   
   ### Why are the changes needed?
   This allows to avoid the issue when the configuration change between 
different phases of planning, and this can silently break a query plan which 
can lead to crashes or data corruption.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   By CsvExpressionsSuite.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to