Hi Lionel
Don't need to create table first, please find the example code in
ExampleUtils.scala
df.write
.format("carbondata")
.option("tableName", tableName)
.option("compress", "true")
.option("useKettle", "false")
.mode(mode)
.save()
Preparing API docs is in progress.
Regards
Liang
2016-11-28 20:24 GMT+08:00 Lu Cao <[email protected]>:
> Hi team,
> I'm trying to save spark dataframe to carbondata file. I see the example in
> your wiki
> option("tableName", "carbontable"). Does that mean I have to create a
> carbondata table first and then save data into the table? Can I save it
> directly without creating the carbondata table?
>
> the code is
> df.write.format("carbondata").mode(SaveMode.Append).save("
> hdfs:///user/****/data.carbon")
>
> BTW, do you have the formal api doc?
>
> Thanks,
> Lionel
>
--
Regards
Liang