Login  Register

Re: [Discussion] Implement delete and update feature in carbondata SDK.

Posted by Karan-c980 on Jul 23, 2020; 11:50am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Discussion-Implement-delete-and-update-feature-in-carbondata-SDK-tp96684p97861.html

Hi Venu,

In public CarbonSDKUID update(String path, String column, String value,
String updColumn, String updValue); Api. We will preapre filterExpression
from arguments column and value and updateColumnToValue mapping from
arguments updColumn and updValue. After preparing this information we will
call this API (public void update(String path, Expression expression,
Map<String,
String> columnToValue)) internally. User can directly call this API (public
void update(String path, Expression expression, Map<String, String>
columnToValue)) by providing filterExpression and UpdateMapping or he can
just pass the column name and value and we will prepare this information
internally.

Thanks,
Karan



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/