longvu-db commented on code in PR #53732:
URL: https://github.com/apache/spark/pull/53732#discussion_r2676263742


##########
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:
   It fails with the usual TOO_MANY_COLUMNS, basically schema enforcement 
exceptions, but probably I should have been belt and suspenders and added the 
user-facing exception
   
   Added it now



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

Reply via email to