Opened 5 years ago
Closed 5 years ago
#2213 closed defect (fixed)
rasql: multiple marray variables not evaluated properly
Reported by: | Peter Baumann | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | critical | Milestone: | 10.0 |
Component: | rasql | Version: | 9.8 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
If an marray contains more than one variables occurrences of some variables are not treated properly.
Example: y not interpreted properly here:
select encode( marray x in [1:5], y in [1:5] values x+y, "csv" )
This returns (wrongly)
{2,2,2,2,2},{4,4,4,4,4},{6,6,6,6,6},{8,8,8,8,8},{10,10,10,10,10}
Workaround: use a multi-dimensional variable:
select encode( marray x in [1:5,1:5] values x[0]+x[1], "csv" )
Change History (5)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 5 years ago
Priority: | major → critical |
---|
comment:4 by , 5 years ago
Owner: | changed from | to
---|
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Another workaround, add [0] to the x and y: