Grant Henke has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12446 )

Change subject: [client] Fix GetUnscaledDecimal backward compatiblity
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/12446/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12446/1//COMMIT_MSG@10
PS1, Line 10: KuduPartialRow
> What about fixing that const/non-const in src/kudu/client/scan_batch.h as w
That was never an issue.


http://gerrit.cloudera.org:8080/#/c/12446/1/src/kudu/common/partial_row.h
File src/kudu/common/partial_row.h:

http://gerrit.cloudera.org:8080/#/c/12446/1/src/kudu/common/partial_row.h@365
PS1, Line 365: Status GetUnscaledDecimal(const Slice& col_name, int128_t* val) 
WARN_UNUSED_RESULT
> Add  ATTRIBUTE_DEPRECATED("non-const version of GetUnscaledDecimal will be
I was worried about adding this given users don't have a lot of control over 
which one is called. If a user has a non-const instance of KuduPartialRow it 
will call the non-const function, but once removed it will happily call the 
const version.



--
To view, visit http://gerrit.cloudera.org:8080/12446
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1bce3f6df6a09327a503f2793ed1317e147349c9
Gerrit-Change-Number: 12446
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Comment-Date: Mon, 11 Feb 2019 22:04:30 +0000
Gerrit-HasComments: Yes

Reply via email to