Changes between Initial Version and Version 1 of Ticket #2754


Ignore:
Timestamp:
Jul 31, 2023, 10:42:00 AM (15 months ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2754

    • Property Owner changed from Dimitar Misev to mrodionych@…
  • Ticket #2754 – Description

    initial v1  
    1 - First download tiff files and ingredients file from this testing data provided by rasdaman user: https://drive.google.com/drive/folders/1daeSIzUtwXA917R7weJhtZvqkBNyvHt_?usp=sharing
    2 - Import the ingredients file
    3 - Then, check this query. It should work instead of throwing error:
     1{{{
     2r="rasql --user rasadmin --passwd rasadmin"
     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'
     5$r -q 'update test_sdom_error as c set c assign marray i in [2:2,2035:3034,126:1125] values 200c'
     6$r -q 'update test_sdom_error as c set c assign marray i in [2:2,2035:3034,1126:1375] values 200c'
     7$r -q 'update test_sdom_error as c set c assign marray i in [2:2,3035:3051,126:1125] values 200c'
     8$r -q 'update test_sdom_error as c set c assign marray i in [2:2,3035:3051,1126:1375] values 200c'
    49
     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'
     16}}}
     17the SELECT query throws
    518{{{
    6  rasql -q 'SELECT ENCODE((  (  EXTEND ( scale( scale( scale( ( ( c0[2,2446:3204,-9:1166] ) ), [0:257, 0:337] )  [172:257, 47:191], [0:255, 0:255] ), [0:127, 0:255] ), [0:255, 0:255] ) )  ), "png", "{\"nodata\":[-0.999]}") FROM timeseries_test_8 AS c0'
     19rasdaman error 344: Execution error 344 in line 3, column 13, near token [: Subset extends outside the array sdom.
     20}}}
     21but it should work without error.
    722
    8 Executing retrieval query... rasdaman error 344: Execution error 344 in line 1, column 102, near token [: Subset extends outside the array sdom.
    9 aborting transaction... ok.
    10 
    11 }}}
    12 
    13 The spatial domain of the collection is:
    14 
    15 
    16 {{{
    17 rasql -q 'select sdom(c) from timeseries_test_8 as c' --out string
    18 Result element 1: [0:2,0:3204,-9:1375]
    19 }}}
    20 
    21 
    22 
    23