NobiGo commented on code in PR #4052:
URL: https://github.com/apache/calcite/pull/4052#discussion_r1849618690
##########
arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowData.java:
##########
@@ -237,35 +239,38 @@ public void writeArrowDataType(File file) throws
IOException {
vectorSchemaRoot.setRowCount(numRows);
for (Field field : vectorSchemaRoot.getSchema().getFields()) {
FieldVector vector = vectorSchemaRoot.getVector(field.getName());
- switch (vector.getMinorType()) {
- case TINYINT:
+ switch (field.getName()) {
+ case "tinyIntField":
Review Comment:
This is a necessary change? What is the difference between decimalField2 and
decimalField?
--
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]