johanl-db commented on code in PR #53732:
URL: https://github.com/apache/spark/pull/53732#discussion_r2675493495
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceStrategy.scala:
##########
@@ -174,8 +175,8 @@ object DataSourceAnalysis extends Rule[LogicalPlan] {
InsertIntoDataSourceDirCommand(storage, provider.get, query, overwrite)
case i @ InsertIntoStatement(
- l @ LogicalRelationWithTable(t: HadoopFsRelation, table), parts, _,
query, overwrite, _, _)
Review Comment:
What happens here if `withSchemaEvolution` = `true`?
Will the query fail because we can't resolve InsertIntoStatement?
I'm trying to understand whether we are throwing a proper error message in
cases where WITH SCHEMA EVOLUTION wouldn't be supported
--
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]