Login  Register

Re: spark streaming insert data error

Posted by Jocean shi on Mar 20, 2019; 8:13am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/spark-streaming-insert-data-error-tp76128p76133.html

HI yanggs:

The example is SparkStreamingExample in source code. Streaming table don't
support update/delete

Best
Jocean.shi

Jocean shi <[hidden email]> 于2019年3月20日周三 下午4:09写道:

> HI:
>
> I dont't use CarbonTable.getCreateOrderColumn method.
> All the method controller is Carbondata.
> If my DataFrame schema order don't match table schema order then error
>
> Best
> Jocean.shi
>
>
> David CaiQiang <[hidden email]> 于2019年3月20日周三 下午3:48写道:
>
>> You can get table schema by CarbonTable.getCreateOrderColumn method.
>> It will return the correct table schema.
>>
>> "name,city,id,salary" is the order of column storage, it is not the table
>> schema.
>>
>>
>>
>> -----
>> Best Regards
>> David Cai
>> --
>> Sent from:
>> http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
>>
>