Login  Register

Re: why there is a table name option in carbon source format?

Posted by anubhavtarar on Jan 04, 2017; 4:32am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/why-there-is-a-table-name-option-in-carbon-source-format-tp5385p5428.html

exactly my point if table name in create table statement and table name in
carbon source option is different consider this example

0: jdbc:hive2://localhost:10000> CREATE TABLE testing2(String string)USING
org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1",
"bucketcolumns"="String",tableName=" testing1");

then the table which get created in hdfs is testing1 not testing testing2
it is quite confusing from user side

On Wed, Jan 4, 2017 at 8:33 AM, QiangCai <[hidden email]> wrote:

> For Spark 2,  when using SparkSession to create carbon table, need
> tableName
> option to create carbon schema in store location folder. Better to use
> CarbonSession to create carbon table now.
>
>
>
> --
> View this message in context: http://apache-carbondata-
> mailing-list-archive.1130556.n5.nabble.com/why-there-is-a-
> table-name-option-in-carbon-source-format-tp5385p5420.html
> Sent from the Apache CarbonData Mailing List archive mailing list archive
> at Nabble.com.
>



--
Thanks and Regards

*   Anubhav Tarar     *


* Software Consultant*
      *Knoldus Software LLP <http://www.knoldus.com/home.knol>       *
       LinkedIn <http://in.linkedin.com/in/rahulforallp>     Twitter
<https://twitter.com/RahulKu71223673>    fb <[hidden email]>
          mob : 8588915184