GitHub user chunhui-shi opened a pull request: https://github.com/apache/drill/pull/795
DRILL-5089: Get only partial schemas of relevant storage plugins inst⦠â¦ead of all storages ahead. 1. For each query, rootSchema is empty, add schemas of a storage plugin only when needed -- when asked for a schemaPath. 2. Allow mock environments to provide dynamic schemas. 3. SchemaUtils.findSchema used in many Sql handlers now is handled by SqlConverter.catalog to allow expand schema dynamically 4. Temp table resolve also could not take a schema tree and assume it is complete. NOTE: pom.xml in this pull request is pointing to temporary calcite versoin 'r20-test', this should change to 'r20' once this pull request is ready to commit You can merge this pull request into a Git repository by running: $ git pull https://github.com/chunhui-shi/drill DRILL-5089 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/795.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #795 ---- commit 4814e37eefd16ee7aa1ba6d21d66211e41922dbf Author: chunhui-shi <c...@maprtech.com> Date: 2017-01-06T09:13:02Z DRILL-5089: Get only partial schemas of relevant storage plugins instead of all storages ahead. 1. For each query, rootSchema is empty, add schemas of a storage plugin only when needed -- when asked for a schemaPath. 2. Allow mock environments to provide dynamic schemas. 3. SchemaUtils.findSchema used in many Sql handlers now is handled by SqlConverter.catalog to allow expand schema dynamically 4. Temp table resolve also could not take a schema tree and assume it is complete. NOTE: pom.xml in this pull request is pointing to temporary calcite versoin 'r20-test', this should change to 'r20' once this pull request is ready to commit ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---