ptupitsyn commented on a change in pull request #245:
URL: https://github.com/apache/ignite-3/pull/245#discussion_r677191027
##########
File path:
modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientTupleBuilder.java
##########
@@ -55,62 +63,168 @@
}
/** {@inheritDoc} */
- @Override public <T> T valueOrDefault(String colName, T def) {
- return (T)map.getOrDefault(colName, def);
+ @Override public <T> T valueOrDefault(String columnName, T def) {
+ T res = value(columnName);
+
+ return res == null ? def : res;
Review comment:
Good catch, fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]