OCaml Forge
SCM

Detail: [#1207] View + max raise an unexpected exception when the table is empty

Bugs: Browse | Download .csv | Monitor

[#1207] View + max raise an unexpected exception when the table is empty

Date:
2012-08-24 17:07
Priority:
3
State:
Open
Submitted by:
Jacques-Pascal Deplaix (jpdeplaix)
Assigned to:
Nobody (None)
Hardware:
None
Resolution:
None
Severity:
critical
Version:
None
Component:
None
Operating System:
Linux
Product:
None
 
URL:
Summary:
View + max raise an unexpected exception when the table is empty

Detailed description
For the following test case, the following exception is raised when the table is empty:
Failure("Parser error [Failure(\"int_of_string\")] on input 0 [NULL]")

Test case:
let test = (<:table< test (
rank integer NOT NULL DEFAULT(1)
) >>)

Query.view db (<:view< group {
rank = max[c.rank]
} | c in $test$ >>)

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item