Changes between Initial Version and Version 1 of Ticket #1222


Ignore:
Timestamp:
Feb 17, 2016, 7:34:40 AM (9 years ago)
Author:
Bang Pham Huu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1222

    • Property Priority majorminor
    • Property Component petascopeconversion
  • Ticket #1222 – Description

    initial v1  
    1 WCPS query which multiple a coverage with another different size coverage
     1Rasql encode function does not catch the exception when calculate 2 different size matrices.
     2
     3with csv() function, it will throw exception correctly.
    24
    35
    46{{{
    5 for c in (eobstest) return encode(
    6 count(c[Lat(20.5:35.1),t(0:0), Long(10.5:75.3)]
    7  * c[Lat(20.5:35.1),t(0:20), Long(10.5:75.3)] = (8)
    8 ), "csv")
     7rasql -q 'SELECT csv( c[0,-29:100,81:109] * c[0:4,-29:100,81:109] ) FROM eobstest AS c' --out string
     8
     9Executing retrieval query...rasdaman error 351: Execution error 351 in line 1, column 33,
     10near token *: Spatial domains of the binary induce operands are incompatible.
     11
    912}}}
    1013
    11 
    12 with WCPS 1.0 will throw an exception
     14when encode() function will return error in connection
    1315
    1416
    1517{{{
    16 <ows:ExceptionText>
    17 Error evaluating rasdaman query: 'select csv(count_cells(((((c[0:0,-29:100,80:110])*(c[0:20,-29:100,80:110])))=(8)))) from eobstest AS c where oid(c)=46081
    18 </ows:ExceptionText>
    19 </ows:Exception>
    20 <ows:Exception exceptionCode="RuntimeError">
    21 <ows:ExceptionText>
    22 org.odmg.QueryException : Execution error 351 in line 1, column 50, near token *: Spatial domains of the binary induce operands are incompatible.
    23 </ows:ExceptionText>
    24 </ows:Exception>
     18rasql -q 'SELECT encode( count_cells(c[0,-29:100,81:109] * c[0:4,-29:100,81:109] = 8) , "csv" ) FROM eobstest AS c' --out string
     19rasql: rasdaman query tool v1.0, rasdaman v9.2.0-beta1-gf79e291 -- generated on 21.01.2016 14:39:26.
     20opening database RASBASE at localhost:7001...ok
     21Executing retrieval query...rasdaman error 0: General error received from the server.
     22aborting transaction...E0217 08:28:24.313064520    7109 tcp_client_posix.c:171]     failed to connect to 'ipv4:10.70.11.237:7002': socket error: connection refused
     23
    2524}}}
    26 
    27 while WCPS 1.5 will have error in GRPC and should use same exception as WCPS 1.0.
    28 
    29 
    30 {{{
    31 <ows:Exception exceptionCode="SemanticError">
    32 <ows:ExceptionText>
    33 GRPC Exception: Status code:UNAVAILABLE Status description:Connection going away, but for unknown reason Network channel closed
    34 </ows:ExceptionText>
    35 </ows:Exception>
    36 <ows:Exception exceptionCode="RuntimeError">
    37 <ows:ExceptionText>
    38 java.lang.RuntimeException : GRPC Exception: Status code:UNAVAILABLE Status description:Connection going away, but for unknown reason Network channel closed
    39 </ows:ExceptionText>
    40 </ows:Exception>
    41 </ows:ExceptionReport>
    42 }}}