Changes between Version 1 and Version 2 of Ticket #2754
- Timestamp:
- Jul 31, 2023, 10:48:18 AM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2754 – Description
v1 v2 2 2 r="rasql --user rasadmin --passwd rasadmin" 3 3 $r -q 'create collection test_sdom_error GreySet3' 4 $r -q 'insert into test_sdom_error values marray i in [0:0,0:0,0:0] values 200c'4 $r -q 'insert into test_sdom_error values marray i in [0:0,0:0,0:0] values 0c' 5 5 $r -q 'update test_sdom_error as c set c assign marray i in [2:2,2035:3034,126:1125] values 200c' 6 6 $r -q 'update test_sdom_error as c set c assign marray i in [2:2,2035:3034,1126:1375] values 200c' 7 7 $r -q 'update test_sdom_error as c set c assign marray i in [2:2,3035:3051,126:1125] values 200c' 8 8 $r -q 'update test_sdom_error as c set c assign marray i in [2:2,3035:3051,1126:1375] values 200c' 9 $r -q 'update test_sdom_error as c set c assign marray i in [1:1,3199:3204,-9:1302] values 100c' 9 10 10 $r -q 'SELECT 11 scale( 12 c0[2,2446:3204,-9:1166], 13 [0:257, 0:337] 14 )[172:257, 47:191] 15 FROM test_sdom_error AS c0' 11 $r -q 'c0[2,2446:3204,-9:1166] FROM test_sdom_error AS c0' 16 12 }}} 17 13 the SELECT query throws … … 21 17 but it should work without error. 22 18 19 The problem I guess is that the slice at `[2,...]` has sdom `[2:2,2035:3051,126:1375]` which doesn't cover `[2,2446:3204,-9:1166]`. 20 21 However, the full sdom of the array is `[0:2,0:3204,-9:1375]`, which covers fine that subset, so no error should be thrown.