jduo commented on code in PR #38404:
URL: https://github.com/apache/arrow/pull/38404#discussion_r1382128804
##########
java/flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/converter/impl/DateAvaticaParameterConverter.java:
##########
@@ -35,12 +35,12 @@ public DateAvaticaParameterConverter(ArrowType.Date type) {
@Override
public boolean bindParameter(FieldVector vector, TypedValue typedValue, int
index) {
- Object value = typedValue.toLocal();
+ int value = (int) typedValue.toLocal();
Review Comment:
Sounds good to me.
--
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]