sketchmind commented on PR #25536:
URL: https://github.com/apache/spark/pull/25536#issuecomment-1195109151

   > @sketchmind Note that, we don't insert to a table only once. It doesn't 
make sense to define the table schema with its first insertion (CTAS). I think 
this is also why Postgres uses the same design.
   
   This is not only a problem with the first insert, a complete dataframe using 
the datasource createOrReplace API is also affected by this logic


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