LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-216] Java calc 'expression splitting' causes serious problems #656

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="jhyde", created="Sun, 24 Sep 2006 23:13:32 -0500 (GMT-05:00)"] The java calc 'expression splitting' introduced recently in IterCalcRel causes serious problems.

First, if the statement list contains a 'continue' statement, this statement is invalid if it is pushed into function.

Second, if the first problem is fixed, the query

select * from sys_boot.jdbc_metadata.columns_view where TABLE_NAME = 'BIDS'

hangs during execution (with 100% CPU). I presume that the code generated is wrong.

I have disabled the optimization. Search for Bug.FrgFixed.

dynamobi-build commented 12 years ago

[author="jvs", created="Mon, 25 Sep 2006 08:42:12 -0500 (GMT-05:00)"] 1) Expressions should not be generating continue statements; they shouldn't make any assumptions about being inside of a loop.

2) That statement does not hang for me; the repro you sent me involves red-zone code.