cloud-fan edited a comment on issue #25651: [SPARK-28948][SQL] Support passing 
all Table metadata in TableProvider
URL: https://github.com/apache/spark/pull/25651#issuecomment-544927711
 
 
   I was not trying to define the behavior, but talking about the existing 
behavior. `df.write.mode("append").parquet("path_with_existing_data")` will not 
do schema/partition inference, and just append the data even if the schema is 
incompatible. The following read will fail during schema inference. I think 
this is a reasonable behavior, as there is no "user-specified schema" in 
`DataFrameWriter` to skip schema inference.

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