Using DataFrame to write carbondata file cause no table found error
Posted by
ZhuWilliam on
Nov 25, 2016; 10:06am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Using-DataFrame-to-write-carbondata-file-cause-no-table-found-error-tp3203.html
here the code:
```
val df = func(rdd)
val writer = df.write
if (_resource != "") {
writer.option("path", _resource)
}
writer.options(_cfg).mode(SaveMode.valueOf(_mode)).format(_format).save()
```
and the configurations:
···
{
"name": "stream.output",
"params": [
{
"format": "carbondata",
"mode": "Append",
"tableName": "carbon1",
"compress": "true",
"useKettle": "false",
"tempCSV":"false"
}
]
}
···