[ https://issues.apache.org/jira/browse/DRILL-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913459#comment-16913459 ]
ASF GitHub Bot commented on DRILL-7356: --------------------------------------- arina-ielchiieva commented on pull request #1846: DRILL-7356: Introduce session options for the Drill Metastore URL: https://github.com/apache/drill/pull/1846#discussion_r316767345 ########## 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 + * is set, {@code ROW_GROUP} level metadata wouldn't be collected and stored into the metastore. Review comment: ```suggestion * is set, {@code ROW_GROUP} level metadata eon't be collected and stored into the Metastore. ``` ---------------------------------------------------------------- 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: us...@infra.apache.org > Introduce session options for the Drill Metastore > ------------------------------------------------- > > Key: DRILL-7356 > URL: https://issues.apache.org/jira/browse/DRILL-7356 > Project: Apache Drill > Issue Type: Sub-task > Affects Versions: 1.17.0 > Reporter: Volodymyr Vysotskyi > Assignee: Volodymyr Vysotskyi > Priority: Major > Fix For: 1.17.0 > > > Introduce a new session option for enabling metastore: {{metastore.enabled}}. > It will be used during the next steps of development. -- This message was sent by Atlassian Jira (v8.3.2#803003)