apache-calcite

Apache calcite geode JDBC adapte not working with Gemfire 8.x and 9.X

≯℡__Kan透↙ 提交于 2019-12-11 14:49:42
问题 I am trying to connect Gemfire 8.2 using apache calcite geode adopter. As per following logs its connectied properly but while try to execute query getting exception . Note : http://calcite.apache.org/news/2018/03/19/release-1.16.0/ Moreover, a new adapter to read data from Apache Geode was added in this release. In addition, more progress has been made for the existing adapters 1) Connection class package com.khan.vaquar; import java.sql.Connection; import java.sql.DriverManager; import java

Apache Calcite | Querying data from MongoDB by using Relational algebra

女生的网名这么多〃 提交于 2019-12-07 14:26:32
问题 I am able to get a MongoDB connection and able to get a node (LogicalTableScan(table=[[enlivenDev, collection1]])) But when I execute the node, I am getting null pointer exception. Complete code: private void executeMongoDB(){ final FrameworkConfig config = mongoConfig().build(); final RelBuilder builder = RelBuilder.create(config); final RelNode node = builder.scan("collection1").build(); System.out.println(RelOptUtil.toString(node)); PreparedStatement ps = RelRunners.run(node); ResultSet

table not found with apache calcite

杀马特。学长 韩版系。学妹 提交于 2019-11-29 08:43:33
I am trying to do some basic things with calcite to understand the framework. I have setup a simple example that is supposed to read from 2 json files. My model looks like { version: '1.0', defaultSchema: 'PEOPLE', schemas: [ { name: 'PEOPLE', type: 'custom', factory: 'demo.JsonSchemaFactory', operand: { directory: '/..../calcite-json/src/test/resources/files' } } ] } In my test, it seems that the model is being loaded fine because when I pull the database metadata information, I can see that my file is being loaded as a table under PEOPLE schema. But then right after that statement I am

table not found with apache calcite

瘦欲@ 提交于 2019-11-28 02:06:55
问题 I am trying to do some basic things with calcite to understand the framework. I have setup a simple example that is supposed to read from 2 json files. My model looks like { version: '1.0', defaultSchema: 'PEOPLE', schemas: [ { name: 'PEOPLE', type: 'custom', factory: 'demo.JsonSchemaFactory', operand: { directory: '/..../calcite-json/src/test/resources/files' } } ] } In my test, it seems that the model is being loaded fine because when I pull the database metadata information, I can see that