cpcloud commented on code in PR #974:
URL: https://github.com/apache/arrow-adbc/pull/974#discussion_r1288848680
##########
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:
Is this something a user should be able to configure? Just asking, no
opinion.
--
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]