spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenghao-intel <>
Subject [GitHub] spark pull request: [SPARK-3343] [SQL] Add serde support for CTAS
Date Wed, 01 Oct 2014 06:50:39 GMT
Github user chenghao-intel commented on a diff in the pull request:
    --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
    @@ -32,6 +32,54 @@ case class Nested3(f3: Int)
      * valid, but Hive currently cannot execute it.
     class SQLQuerySuite extends QueryTest {
    +  test("CTAS with serde") {
    +    sql("CREATE TABLE ctas1 AS SELECT key k, value FROM src ORDER BY k, value").collect
    +    sql(
    +      """CREATE TABLE ctas2
    +        | ROW FORMAT SERDE "org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe"
    +        | STORED AS RCFile AS
    +        |   SELECT key, value
    +        |   FROM src
    +        |   ORDER BY key, value""".stripMargin).collect
    --- End diff --
    That's a good question, I will add the `explain` command to verify if the properties are
correctly set.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message