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)