Opened 6 years ago
Closed 5 years ago
#1965 closed defect (duplicate)
Subset on edge is silently "reduced"
Reported by: | Dimitar Misev | Owned by: | apercov |
---|---|---|---|
Priority: | major | Milestone: | 9.8 |
Component: | qlparser | Version: | 9.7 |
Keywords: | Cc: | Peter Baumann, Vlad Merticariu, Bang Pham Huu | |
Complexity: | Medium |
Description (last modified by )
To reproduce the problem:
rasql --user rasadmin --passwd rasadmin -q \ 'create collection NEXTMap_5_DTM GreySet' rasql --user rasadmin --passwd rasadmin -q \ 'insert into NEXTMap_5_DTM values marray i in [27000:27848,-17000:-16000] values 1c' rasql -q 'Select sdom( c[27266:27548, -17042:-16952] ) FROM NEXTMap_5_DTM as c' --out string | grep Result rasql -q 'Select count_cells( c[27266:27548, -17042:-16952] != 1c ) FROM NEXTMap_5_DTM as c' --out string | grep Result
It should print
Result element 1: [27266:27548,-17042:-16952] Result element 1: 25753
But currently it prints
Result element 1: [27266:27548,-17000:-16952] Result element 1: 13867
In the query the subset [27266:27548, -17042:-16952]
is slightly outside the array sdom (on the second dimension, -17042:-17001
is outside of -17000:-16000
), and for some reason it's automatically reduced to fit in the tile domain [27266:27548,-17000:-16952]
.
Change History (3)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|---|
Owner: | set to |
Priority: | critical → major |
Status: | new → assigned |
comment:2 by , 5 years ago
Status: | assigned → accepted |
---|
comment:3 by , 5 years ago
Resolution: | → duplicate |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
This ticket is a duplicate of #1049 and is wrong in the suggestion to fix the result of this subset. It should throw an error in this case actually, as indicated in #1049.