arina-ielchiieva commented on a change in pull request #1846: DRILL-7356: 
Introduce session options for the Drill Metastore
URL: https://github.com/apache/drill/pull/1846#discussion_r316767216
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
 ##########
 @@ -1044,4 +1044,67 @@ public static String bootDefaultFor(String name) {
   public static final RangeLongValidator QUERY_MAX_ROWS_VALIDATOR = new 
RangeLongValidator(QUERY_MAX_ROWS, 0, Integer.MAX_VALUE,
       new OptionDescription("The maximum number of rows that the query will 
return. This can be only set at a SYSTEM level by an admin. (Drill 1.16+)"));
 
+  /**
+   * Option that enables Drill metastore usage.
+   */
+  public static final String METASTORE_ENABLED = "metastore.enabled";
+  public static final BooleanValidator METASTORE_ENABLED_VALIDATOR = new 
BooleanValidator(METASTORE_ENABLED,
+      new OptionDescription("Enables Drill metastore usage to be able to store 
table metadata " +
+          "during ANALYZE TABLE commands execution and to be able to read 
table metadata during regular " +
+          "queries execution or when querying some INFORMATION_SCHEMA tables. 
" +
+          "This option is not active for now. Default is false. (Drill 
1.17+)"));
+
+  /**
+   * Option for specifying maximum level depth for collecting metadata
+   * which will be stored in the Drill metastore. For example, when {@code 
FILE} value
 
 Review comment:
   ```suggestion
      * which will be stored in the Drill metastore. For example, when {@code 
FILE} level 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

Reply via email to