tkalkirill commented on code in PR #13543:
URL: https://github.com/apache/ignite/pull/13543#discussion_r3924125501
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/util/TypeUtils.java:
##########
@@ -309,7 +309,7 @@ public static <Row> Function<Row, Row>
resultTypeConverter(ExecutionContext<Row>
/** */
private static Function<Object, Object> fieldConverter(ExecutionContext<?>
ectx, RelDataType fieldType) {
- Type storageType = ectx.getTypeFactory().getJavaClass(fieldType);
+ Type storageType = SqlTypeUtil.isBinary(fieldType) ? byte[].class :
ectx.getTypeFactory().getJavaClass(fieldType);
Review Comment:
This was needed because the previous implementation was only for a `byte[]`,
now it is not needed, I got rid of it.
--
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]