jduo commented on code in PR #38404:
URL: https://github.com/apache/arrow/pull/38404#discussion_r1379399791


##########
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:
   This doesn't seem right? Wouldn't we expect these types to be submitted as 
Date objects from the user?



-- 
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]

Reply via email to