Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13093#discussion_r64314433
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala
 ---
    @@ -377,7 +377,8 @@ case class InsertIntoTable(
       }
     
       assert(overwrite || !ifNotExists)
    -  override lazy val resolved: Boolean = childrenResolved && 
expectedColumns.forall { expected =>
    +  override lazy val resolved: Boolean =
    +    childrenResolved && table.resolved && expectedColumns.forall { 
expected =>
    --- End diff --
    
    I see, for `InsertIntoTable(SimpleCatalogRelation)` we always want it to be 
unresolved so we can throw the exception you added


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to