java - table not found with apache calcite -
i trying basic things calcite understand framework. have setup simple example supposed read 2 json files. model looks { version: '1.0', defaultschema: 'people', schemas: [ { name: 'people', type: 'custom', factory: 'demo.jsonschemafactory', operand: { directory: '/..../calcite-json/src/test/resources/files' } } ] } in test, seems model being loaded fine because when pull database metadata information, can see file being loaded table under people schema. right after statement trying select * table , error table not found. > -- null people table --> jun 29, 2015 8:53:30 org.apache.calcite.sql.validate.sqlvalidatorexception <init> severe: org.apache.calcite.sql.validate.sqlvalidatorexception: table 'a' not found jun 29, 2015 8:53:30 org.apache.calcite.runtime.calciteexception <init> severe: org.apache.calcite.runtime.calcitecontextexception: @ line 1,