davidhcoe commented on code in PR #2917:
URL: https://github.com/apache/arrow-adbc/pull/2917#discussion_r2127776277


##########
docs/source/driver/snowflake.rst:
##########
@@ -469,6 +469,10 @@ These options map 1:1 with the Snowflake `Config object 
<https://pkg.go.dev/gith
     non-zero scaled columns will be returned as ``Float64`` typed Arrow 
columns.
     The default is ``true``.
 
+``adbc.snowflake.sql.client_option.use_max_microseconds_precision``
+    When ``true``, nanoseconds will be converted to microseconds
+    to avoid the overflow of the Timestamp type. Does not affect the Time32 or 
Time64 types.

Review Comment:
   It’s just an arrow.Timestamp issue. Are you thinking of calling out the 
different Snowflake types?
   
   I started down another path of trying to specify the precision type in 
combination with a context change (outlined in 
https://github.com/snowflakedb/gosnowflake/issues/1430) but that didn’t work.
   
   I settled on microsecond precision as a similar pattern to the 
useHighPrecision setting so the caller can specify the desired behavior.
   



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to