You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/10/22 12:05:34 UTC

[GitHub] [spark] cloud-fan edited a comment on issue #25651: [SPARK-28948][SQL] Support passing all Table metadata in TableProvider

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org