CurtHagenlocher commented on code in PR #3872:
URL: https://github.com/apache/arrow-adbc/pull/3872#discussion_r2838252338


##########
c/include/arrow-adbc/adbc.h:
##########
@@ -1612,6 +1627,24 @@ ADBC_EXPORT
 AdbcStatusCode AdbcConnectionRelease(struct AdbcConnection* connection,
                                      struct AdbcError* error);
 
+/// \brief Set a warning handler.
+///
+/// May be set before or after AdbcConnectionInit.
+///
+/// \since ADBC API revision 1.2.0

Review Comment:
   Agreed that we wouldn't want drivers to be too noisy. My ideal for something 
like a lossy conversion might be to warn about it the first time and then to 
report it at the end as a statistical summary e.g. "there were 3065 lossy 
conversions in this result".
   
   I have a slight preference for this specific case to put serialization / 
concurrency safety onto the consumer but I don't feel strongly about it. The 
driver can't reasonably anticipate the host's concurrency requirements.



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