LucidDB / luciddb

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

[FRG-265] exception stack is getting repeated #607

Open dynamobi-build opened 12 years ago

dynamobi-build commented 12 years ago

[reporter="elin", created="Wed, 25 Apr 2007 11:57:14 -0500 (GMT-05:00)"] It looks like after runtime errors get converted to sql exceptions in (FarragoJdbcUtil.newSqlException) we're getting repeats. See open/farrago/unitsql/expressions/constants.ref for the example below:

select cast('xyz' as int)+2 from (values(0));
Error: java.lang.NumberFormatException: For input string: "xyz" (state=,code=0)
Error: Could not calculate result column 1 for the following row:
[0]
Messages: java.lang.NumberFormatException: For input string: "xyz" (state=,code=0)
Error: error while fetching from cursor (state=,code=0)
Error: Failed while executing internal statement (state=,code=0)
Error: Failed while executing internal statement (state=,code=0)
Error: error while fetching from cursor (state=,code=0)
Error: Failed while executing internal statement (state=,code=0)
Error: Failed while executing internal statement (state=,code=0)