Possibly related to https://issues.apache.org/jira/browse/CALCITE-3436 
<https://issues.apache.org/jira/browse/CALCITE-3436>.

> On Nov 1, 2019, at 2:08 AM, zhaojun <[email protected]> wrote:
> 
> Hi, all
> 
> I have found a cache property in JsonSchema, default value was true,calcite 
> version was 1.20.0
> But when I create a calcite connection through DriverManager.getConnection, 
> cache property value was null after Jackson deserialization.
> My code is like this
> 
> ```
> Properties properties = new Properties();
> properties.setProperty("schema", schemaName);
> result.setProperty("schemaFactory", 
> MemorySchemaFactory.class.getCanonicalName());
> result.setProperty("lex", "MYSQL");
> 
> DriverManager.getConnection(CONNECTION_URL, properties);
> 
> ```
> How can I solve this issue?
> 
> Regards
> 
> ------------------
> Zhao Jun
> Apache Sharding-Sphere & ServiceComb
> 

Reply via email to