maropu edited a comment on issue #26275: [SPARK-29615][SQL]Add a new insertInto method with byName parameter in DataFrameWriter. URL: https://github.com/apache/spark/pull/26275#issuecomment-546790898 > When we write SQL query to insert data, we can hardly trigger such problem, but if we use the DataFrameWriter.insertInto API, it may cause some confusion that developer may assume Spark matches the columns by name automatically. It seems this is a document-related issue? Also, I like a simpler API and the behaviour of `DataFrameWriter.insertInto` should be the same with SQL insert.
---------------------------------------------------------------- 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]
