You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by anubhav100 <gi...@git.apache.org> on 2017/07/12 05:35:41 UTC

[GitHub] carbondata pull request #984: [CARBONDATA-1008] Make Carbon table schema com...

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

    https://github.com/apache/carbondata/pull/984#discussion_r126867371
  
    --- 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---