[jira] [Created] (CALCITE-4747) it seemes that collecGarbage in HepPlanner dose not clean outdated edges?

2021-08-18 Thread Jianhui Dong (Jira)
Jianhui Dong created CALCITE-4747: - Summary: it seemes that collecGarbage in HepPlanner dose not clean outdated edges? Key: CALCITE-4747 URL: https://issues.apache.org/jira/browse/CALCITE-4747

Re: Runtime Exception while using SqlParse.

2021-08-18 Thread Yanjing Wang
Further, you may try sqlNode.toSqlString().getSql(). Julian Hyde 于2021年8月19日周四 上午5:48写道: > Yes, the error message is not good enough. Can you please log a bug? The > error comes from org.apache.calcite.linq4j.tree.BinaryExpression, which I > very much doubt happens at parse time. If you can add

Re: Runtime Exception while using SqlParse.

2021-08-18 Thread Julian Hyde
Yes, the error message is not good enough. Can you please log a bug? The error comes from org.apache.calcite.linq4j.tree.BinaryExpression, which I very much doubt happens at parse time. If you can add a test case, or a complete error stack, that would be appreciated. > On Aug 18, 2021, at

Re: Runtime Exception while using SqlParse.

2021-08-18 Thread Jariv Narup
Hi Thomas, That is my bad - a carry over from the debugging. However the error still persists even with the following query: *SELECT Purchase.Purchase_Date, Products.Product_Name FROM Purchase JOIN Products ON Purchase.Product_ID = Products.ID WHERE Purchase.Quantity > 10* This is what I see:

[jira] [Created] (CALCITE-4746) Pivots with pivotAgg without alias fail

2021-08-18 Thread Toni Mueller (Jira)
Toni Mueller created CALCITE-4746: - Summary: Pivots with pivotAgg without alias fail Key: CALCITE-4746 URL: https://issues.apache.org/jira/browse/CALCITE-4746 Project: Calcite Issue Type:

Re: Restore the NOT_EQUALS expression when converting Rel to Sql

2021-08-18 Thread Yanjing Wang
Please Ignore this thread, fixed in CALCITE-4449 . Yanjing Wang 于2021年8月18日周三 下午4:52写道: > Hi Community, > > I found c1 <> '' RexNode will be simplified as c1 > '' and c1 < ''. > Could we restore it to the c1 <> '' when converting Rel to Sql?

Restore the NOT_EQUALS expression when converting Rel to Sql

2021-08-18 Thread Yanjing Wang
Hi Community, I found c1 <> '' RexNode will be simplified as c1 > '' and c1 < ''. Could we restore it to the c1 <> '' when converting Rel to Sql?