[jira] [Created] (CALCITE-4716) ClassCastException converting SARG in RelNode to SQL

2021-08-04 Thread Jesus Camacho Rodriguez (Jira)
Jesus Camacho Rodriguez created CALCITE-4716: Summary: ClassCastException converting SARG in RelNode to SQL Key: CALCITE-4716 URL: https://issues.apache.org/jira/browse/CALCITE-4716 Project

Fwd: [DISCUSS] Developing an "Arrow Compute IR [Intermediate Representation]" to decouple language front ends from Arrow-native compute engines

2021-08-04 Thread Julian Hyde
On dev@arrow, Wes McKinney just started a discussion of a language for “programming” Arrow. One of its explicit goals is for systems like Calcite to generate such code as their physical plan. This would be great for Calcite. Arrow started as an excellent runtime for high-performance data proces

Re: ClassCastException: FamilyOperandTypeChecker cannot be cast to SqlOperandMetadata

2021-08-04 Thread Yanjing Wang
The ClassCastException just is the side effect of filterOperatorRoutinesByKind. Let's see substr('2021-07-27 12:12:12',0,11) in the sql, calcite will find three SqlFunctions of SqlKind.SUBSTR_XXX before filterOperatorRoutinesByKind because that the user has specified SqlLibrary.BIG_QUERY, SqlLibrar