Opened 16 months ago

Last modified 16 months ago

#2754 closed defect

FIX - rasql wrong error about scaling / extending — at Version 2

Reported by: Bang Pham Huu Owned by: mrodionych@…
Priority: major Milestone: 10.2
Component: server Version: 10.2
Keywords: Cc: javierurien@…
Complexity: Medium

Description (last modified by Dimitar Misev)

r="rasql --user rasadmin --passwd rasadmin"
$r -q 'create collection test_sdom_error GreySet3'
$r -q 'insert into test_sdom_error values marray i in [0:0,0:0,0:0] values 0c'
$r -q 'update test_sdom_error as c set c assign marray i in [2:2,2035:3034,126:1125] values 200c'
$r -q 'update test_sdom_error as c set c assign marray i in [2:2,2035:3034,1126:1375] values 200c'
$r -q 'update test_sdom_error as c set c assign marray i in [2:2,3035:3051,126:1125] values 200c'
$r -q 'update test_sdom_error as c set c assign marray i in [2:2,3035:3051,1126:1375] values 200c'
$r -q 'update test_sdom_error as c set c assign marray i in [1:1,3199:3204,-9:1302] values 100c'

$r -q 'c0[2,2446:3204,-9:1166] FROM test_sdom_error AS c0'

the SELECT query throws

rasdaman error 344: Execution error 344 in line 3, column 13, near token [: Subset extends outside the array sdom.

but it should work without error.

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].

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.

Change History (2)

comment:1 by Dimitar Misev, 16 months ago

Description: modified (diff)
Owner: changed from Dimitar Misev to mrodionych@…

comment:2 by Dimitar Misev, 16 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.