carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anubhav100 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1347: [CARBONDATA-1465] resolved bug for hive cant ...
Date Wed, 13 Sep 2017 12:31:15 GMT
Github user anubhav100 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1347#discussion_r138604260
  
    --- Diff: integration/hive/hive-guide.md ---
    @@ -91,7 +91,6 @@ $HIVE_HOME/bin/hive
     ### Query data from hive table
     
     ```
    -alter table hive_carbon set location '<hdfs store path>/hive_carbon';
    --- End diff --
    
    @chenliang613 this code right here
     val serdeInfo = table.getSd.getSerdeInfo
                serdeInfo.setSerializationLib("org.apache.carbondata.hive.CarbonHiveSerDe")
                val tablePath = serdeInfo.getParameters.get("tablePath")
                if (tablePath != null) {
                  table.getSd.setLocation(tablePath)
                }


---

Mime
View raw message