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

    https://github.com/apache/spark/pull/15004#discussion_r78186609
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala 
---
    @@ -1246,7 +1269,7 @@ class DDLSuite extends QueryTest with 
SharedSQLContext with BeforeAndAfterEach {
         }
         // table to alter does not exist
         intercept[AnalysisException] {
    -      sql("ALTER TABLE does_not_exist SET SERDEPROPERTIES ('x' = 'y')")
    +      sql("ALTER TABLE does_not_exist PARTITION (a=1, b=2) SET 
SERDEPROPERTIES ('x' = 'y')")
    --- End diff --
    
    This is to fix a bug in `testSetSerdePartition`. This function is to test 
`ALTER TABLE PARTITION Set SERDEPROPERTIES`. It sounds like the previous coder 
just copied and pasted from another function. 


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