group.subgroup is undefined if group by is used on an expression involving only constants #6082
Last updated: 2017-03-03 10:24:17 +0100
Date: 2016-10-22 14:06:55 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
This bug was reported by José Cavieres in the mailing list. I tried to simplify the query as much as possible, so it might not make any sense :)
Steps to Reproduce:
sql> create table foo (a int, b int);
A MAL plan is generated but during its execution the instruction group.subgroupdone is found to be undefined.
The generated MAL plan:
Date: 2016-10-26 23:41:08 +0200
This error is already triggered in sql_optimizer line 228.
Date: 2017-02-03 14:44:16 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=6520196eefda
Date: 2017-02-08 20:57:39 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=16a638844c75
Date: 2017-02-08 20:58:43 +0100
fixed. make sure we have a bat before calling a group_done
Date: 2017-03-03 10:24:17 +0100
Dec2016-SP2 has been released, incorporating the fix.
The text was updated successfully, but these errors were encountered: