zeroshade commented on code in PR #974:
URL: https://github.com/apache/arrow-adbc/pull/974#discussion_r1288863074


##########
go/adbc/driver/snowflake/record_reader.go:
##########
@@ -36,6 +37,19 @@ import (
        "golang.org/x/sync/errgroup"
 )
 
+const defaultConcurrentPrefetch = 10
+
+var concurrentPrefetch int
+
+func init() {
+       concurrentPrefetch = defaultConcurrentPrefetch
+       if value := os.Getenv("ADBC_SNOWFLAKE_DEFAULT_CONCURRENT_PREFETCH"); 
value != "" {

Review Comment:
   I think so. In the snowflake python connector it is also an env var with a 
default, so that's why i went the environment variable route.



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