drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4728) Add support for new metadata fetch APIs
Date Fri, 05 Aug 2016 21:49:20 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410127#comment-15410127
] 

ASF GitHub Bot commented on DRILL-4728:
---------------------------------------

Github user sudheeshkatkam commented on a diff in the pull request:

    https://github.com/apache/drill/pull/527#discussion_r73764478
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java ---
    @@ -97,7 +94,7 @@ public QueryContext(final UserSession session, final DrillbitContext
drillbitCon
             plannerSettings.getPlanningMemoryLimit());
         bufferManager = new BufferManagerImpl(this.allocator);
         viewExpansionContext = new ViewExpansionContext(this);
    -    schemaTreesToClose = Lists.newArrayList();
    +    schemaTreeProvider = new SchemaTreeProvider(drillbitContext);
    --- End diff --
    
    Does this need to be created once per query? Can one instance live in Drillbit or UserSession?


> Add support for new metadata fetch APIs
> ---------------------------------------
>
>                 Key: DRILL-4728
>                 URL: https://issues.apache.org/jira/browse/DRILL-4728
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Metadata
>            Reporter: Venki Korukanti
>            Assignee: Venki Korukanti
>             Fix For: 1.8.0
>
>
> Please see the doc attached to the parent JIRA DRILL-4714 for details on APIs.
> Add support for following APIs (including {{protobuf}} messages, server handling code
and Java client APIs)
> {code}
>    List<Catalog> getCatalogs(Filter catalogNameFilter)
>    List<Schema> getSchemas(
>       Filter catalogNameFilter,
>       Filter schemaNameFilter
>    )
>    List<Table> getTables(
>       Filter catalogNameFilter,
>       Filter schemaNameFilter,
>      Filter tableNameFilter
>    )
>    List<Column> getColumns(
>       Filter catalogNameFilter,
>       Filter schemaNameFilter,
>       Filter tableNameFilter,
>       Filter columnNameFilter
>    )
> {code}
> Note: native client changes are not going to be included in this patch. Will file a separate
JIRA.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message