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_r280264497
##########
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";
+ public static final LongValidator PARQUET_REFRESH_TIMEOUT_VALIDATOR = new
LongValidator(PARQUET_REFRESH_TIMEOUT,
Review comment:
Make this `PositiveLongValidator` since timeout of 0 does not make sense.
Maximum value can be `Integer.MAX_VALUE`
----------------------------------------------------------------
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