Opened 9 years ago

Last modified 8 years ago

#1222 closed defect

WCPS1.5_Throw server GRPC exception when spatial domains are incompatible — at Version 1

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 (1)

comment:1 by Bang Pham Huu, 9 years ago

Component: petascopeconversion
Description: modified (diff)
Priority: majorminor
Note: See TracTickets for help on using tickets.