[jira] [Created] (CALCITE-4707) Optimize incremental maintenance of materialized views

2021-07-28 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-4707: Summary: Optimize incremental maintenance of materialized views Key: CALCITE-4707 URL: https://issues.apache.org/jira/browse/CALCITE-4707 Project: Calcite Is

[jira] [Created] (CALCITE-4706) JDBC adapter generates casts exceeding Redshift's data types bounds

2021-07-28 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-4706: Summary: JDBC adapter generates casts exceeding Redshift's data types bounds Key: CALCITE-4706 URL: https://issues.apache.org/jira/browse/CALCITE-4706

Re: SQL Dialect Question

2021-07-28 Thread Stamatis Zampetakis
Hi Charles, Start by creating a JIRA and then you can do more or less what was done for EXASOL dialect [1]. Tests for dialects are usually added in RelToSqlConverterTest as you can see also in [1]. If the new dialect is very similar to an existing one then maybe there is no reason to create a new

SQL Dialect Question

2021-07-28 Thread Charles Givre
Hi Calcite Devs! I'm interested in writing a SQL dialect for Apache Drill and contributing it to Calcite. What is the process for contributing a dialect? I'm asking because I didn't see any unit tests for dialects. Thanks! -- C

Re: ClassCastException: FamilyOperandTypeChecker cannot be cast to SqlOperandMetadata

2021-07-28 Thread Yanjing Wang
It may be a bug caused by CALCITE-4427 , I think lookupSubjectRoutines behavior is a bit strange. when found routines are less than two, It returns directly whatever the routine SqlKind is. otherwise filtered by SqlKind. This behavior may cause em