cloud-fan commented on PR #25536: URL: https://github.com/apache/spark/pull/25536#issuecomment-1410310853
Can you explain the use cases? It seems people agreed with the SQL behavior (consistent with postgres), but had concerns about Scala API. Note that, Spark also provides Scala APIs to create a table, so you can keep the nullability of table schema ``` val df = ... spark.catalog.createTable(..., df.schema) df.writeTo(...).append() ``` -- 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]
