[jira] [Created] (CALCITE-3132) Simply expressions in LogicalFilter generated for subqueries with quantified predicate

2019-06-17 Thread Vineet Garg (JIRA)
Vineet Garg created CALCITE-3132: Summary: Simply expressions in LogicalFilter generated for subqueries with quantified predicate Key: CALCITE-3132 URL: https://issues.apache.org/jira/browse/CALCITE-3132

[jira] [Created] (CALCITE-3131) In LatticeSuggester, record whether columns are used as "dimensions" or "measures"

2019-06-17 Thread Julian Hyde (JIRA)
Julian Hyde created CALCITE-3131: Summary: In LatticeSuggester, record whether columns are used as "dimensions" or "measures" Key: CALCITE-3131 URL: https://issues.apache.org/jira/browse/CALCITE-3131

Re: How do I enable logging/tracing in Apache Calcite using Sqlline?

2019-06-17 Thread Muhammad Gelbana
I assume you can specify the log level in the JVM options for SqlLine. The JVM option is on the website/docs. Probably the *how to* page. Thanks, Gelbana On Mon, Jun 17, 2019 at 5:09 PM Pirk, Holger wrote: > Hi folks, > > I posted a question on SO (see < >

How do I enable logging/tracing in Apache Calcite using Sqlline?

2019-06-17 Thread Pirk, Holger
Hi folks, I posted a question on SO (see ) but figured that I might get a better and/or quicker answer here (I am happy to copy responses from one to the other). Here is the question

Re: A NPE when rounding a nullable numeric

2019-06-17 Thread Muhammad Gelbana
*This is the optimized generated code* final Object[] current = (Object[]) inputEnumerator.current(); final Integer inp0_ = (Integer) current[0]; final Integer inp1_ = (Integer) current[1]; final java.math.BigDecimal v1 = new java.math.BigDecimal( inp0_.intValue() / inp1_.intValue()); *// NPE*