Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-775

Instantiate custom schemas, tables as plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: