calcite
calcite copied to clipboard
Apache Calcite
To reproduce (agg.iq) ``` !use post !set outputformat mysql SELECT avg(deptno) as a FROM emp; ``` Should return 22.1429, but returns 22. The current default logic of Calcite setting the...
See CALCITE-5529.
[Calcite-3373] Decorrelate boolean context IN or existential subquery directly into SEMI/ANTI join
Adds `SqlNode`s for DescribeDatabase, DescribeCatalog, and DescribeStatement. JIRA: https://issues.apache.org/jira/browse/CALCITE-1221
- Since the implementation of group distinct is implemented through mongo API, group, etc. are deleted in the statement. - sales_fact_1997, sales_fact_1998 has been removed from the database. So can't...
Infer list generic type while Table instance is created at ReflectiveSchema class
This test fails due to the impossible cast of byte[] to ByteString in the moveNext() method: ``` public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) { final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.catchall.CatchallSchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).everyTypes).select(new...
Test case for [CALCITE-6882] RelMdColumnUniqueness incorrectly claims fields are not unique if constant refinement occurs in a node above join If you comment out the first line of the method...
As description in JIRA: https://issues.apache.org/jira/browse/CALCITE-6970