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 <qiang...@qq.com> 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 <rahulfora...@facebook.com>
          mob : 8588915184

Reply via email to