carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anubhav100 <>
Subject [GitHub] carbondata pull request #984: [CARBONDATA-1008] Make Carbon table schema com...
Date Wed, 12 Jul 2017 05:35:41 GMT
Github user anubhav100 commented on a diff in the pull request:
    --- Diff: integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
    @@ -189,10 +189,52 @@ case class CreateTable(cm: TableModel) extends RunnableCommand {
           // Need to fill partitioner class when we support partition
           val tablePath = catalog.createTableFromThrift(tableInfo, dbName, tbName, null)(sqlContext)
           try {
    -        sqlContext.sql(
    -          s"""CREATE TABLE $dbName.$tbName USING carbondata""" +
    -          s""" OPTIONS (tableName "$dbName.$tbName", tablePath "$tablePath") """)
    -          .collect
    +        val useCompatibleSchema = sqlContext.sparkContext.conf
    --- End diff --
    @cenyuhai changes in this class is not required till now we are only supporting hive with
spark 2.1 and hadoop 2.7

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.

View raw message