Opened 9 years ago

Closed 8 years ago

#1222 closed defect (fixed)

Rasql_Throw server GRPC exception when spatial domains are incompatible

Reported by: Bang Pham Huu Owned by:
Priority: minor Milestone: 9.3
Component: conversion Version: development
Keywords: wcps 2.0, difference spatial expression Cc: Dimitar Misev, Alex Dumitru, Vlad Merticariu
Complexity: Medium

Description (last modified by Bang Pham Huu)

Rasql encode function does not catch the exception when calculate 2 different size matrices.

with csv() function, it will throw exception correctly.

rasql -q 'SELECT csv( c[0,-29:100,81:109] * c[0:4,-29:100,81:109] ) FROM eobstest AS c' --out string

Executing retrieval query...rasdaman error 351: Execution error 351 in line 1, column 33, 
near token *: Spatial domains of the binary induce operands are incompatible.

when encode() function will return error in connection

rasql -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
rasql: rasdaman query tool v1.0, rasdaman v9.2.0-beta1-gf79e291 -- generated on 21.01.2016 14:39:26.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...rasdaman error 0: General error received from the server.
aborting 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

Change History (4)

comment:1 by Bang Pham Huu, 9 years ago

Component: petascopeconversion
Description: modified (diff)
Priority: majorminor

comment:2 by Bang Pham Huu, 9 years ago

Summary: WCPS1.5_Throw server GRPC exception when spatial domains are incompatibleRasql_Throw server GRPC exception when spatial domains are incompatible

comment:3 by Dimitar Misev, 9 years ago

It has nothing to do with csv vs encode, you're using different queries in the two examples..

comment:4 by Bang Pham Huu, 8 years ago

Milestone: 10.09.3
Resolution: fixed
Status: newclosed

It was fixed in Rasql, then I will close ticket.

rasql -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

rasql: rasdaman query tool v1.0, rasdaman v9.2.1-g5da7aaa -- generated on 28.06.2016 15:57:29.
opening database RASBASE at localhost:7001...ok

Executing retrieval query...rasdaman error 351: Execution error 351 in line 1, 
column 48, near token *: Spatial domains of the binary induce operands are incompatible.
aborting transaction...ok

Note: See TracTickets for help on using tickets.