You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/06/26 20:28:05 UTC
[jira] [Created] (CALCITE-775) Instantiate custom schemas, tables
as plugins
Julian Hyde created CALCITE-775:
-----------------------------------
Summary: Instantiate custom schemas, tables as plugins
Key: CALCITE-775
URL: https://issues.apache.org/jira/browse/CALCITE-775
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Custom schemas and tables are currently instantiated by looking for a public default constructor. When instantiating them, we also need to look for a static member called INSTANCE, and if there is a '#' in the class name look for named static field.
For the fields JsonCustomSchema.factory and JsonCustomTable.factory, fix the code in ModelHandler to use AvaticaUtils.instantiatePlugin, update the javadoc and update the documentation in model.md.
Also JdbcSchema.dataSourceName.
Also the "class" operand passed to ReflectiveSchema.Factory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)