Opened 6 years ago
Last modified 5 years ago
#1965 closed defect
Subset on edge is silently "reduced" — at Version 1
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 (1)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|---|
Owner: | set to |
Priority: | critical → major |
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.