caicancai commented on code in PR #3643:
URL: https://github.com/apache/calcite/pull/3643#discussion_r1462644749
##########
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:
##########
@@ -5204,7 +5204,11 @@ public static List compact(List list) {
public static List arrayAppend(List list, Object element) {
final List result = new ArrayList(list.size() + 1);
result.addAll(list);
- result.add(element);
+ if (element instanceof Byte) {
+ result.add(((Byte) element).intValue());
Review Comment:
Thanks I will try other methods
--
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]