amansinha100 commented on a change in pull request #1776: DRILL-7223: Create an
option to control timeout for REFRESH METADATA
URL: https://github.com/apache/drill/pull/1776#discussion_r280265323
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
##########
@@ -354,6 +354,10 @@ private ExecConstants() {
"enables statistics usage for varchar and decimal data types. Default is
unset, i.e. empty string. " +
"Allowed values: 'true', 'false', '' (empty string)."), "true", "false",
"");
+ public static final String PARQUET_REFRESH_TIMEOUT =
"store.parquet.refresh_timeout_per_runnable_in_msec";
Review comment:
We should avoid the word 'refresh' here and other places for the timeout
since this parameter is intended for any timed runnable task, not just the ones
initiated by the REFRESH command. For instance, in normal query planning
without using metadata cache, the FooterGatherer also creates multiple
`TimedCallable` threads to read parquet footers directly.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services