Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/7693#issuecomment-125263737
  
    Reproduced this test failure locally. A proper fix for this issue can be:
    
    ```scala
        withSQLConf(HiveContext.CONVERT_METASTORE_PARQUET.key -> "false") {
          checkExistence(sql("DESC EXTENDED ctas5"), true,
            "name:key", "type:string", "name:value", "ctas5",
            "org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat",
            "org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat",
            "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe",
            "MANAGED_TABLE"
          )
        }
    ```
    
    The reason is that, the `MetastoreRelation` in `DESC EXTENDED ctas5` is 
converted to a Parquet data source table.
    
    @viirya I'm going to open a new PR to fix this issue since it is probably 
breaking the PR builder. Will attribute the new PR to you. Thanks for bringing 
up and investigating this issue!


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