Github user chenghao-intel commented on the pull request:

    https://github.com/apache/spark/pull/4289#issuecomment-72671869
  
    Sorry for the late reply @jeanlyn !
    I think it's a bug of Hive DDL, which probably was resolved in Hive 0.14 / 
0.15, and I am not sure if we really want to fix that in Spark SQL. @yhuai , do 
you have any comment on this?
    However, in this particular case, another work around in your product:
    1) Rename the existed table;
    2) Create a new table with schema you altered, and also the partitions.
    3) Manually move the previous data into the new table folder from the HDFS.
    4) Drop the old table.


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