Login  Register

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

Posted by VenuReddy on Jul 20, 2020; 2:11pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Discussion-Implement-delete-and-update-feature-in-carbondata-SDK-tp96684p97667.html

+1

Have a small query regaridng this update API -
public CarbonSDKUID update(String path, String column, String value, String
updColumn,
String updValue);
I believe column argument is column to be matched for the given value
argument. so it is matchColumn & matchValue. Upon match we update updColumn
with the given updValue argument. Question is why not we have map of
updateColumnToValue ? I mean, like the one similar to another update
API(public void update(String path, Expression expression, Map<String,
String> columnToValue);) that you have added in it ?

Thanks,
Venu





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