Opened 9 years ago

Last modified 8 years ago

#1222 closed defect

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

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

WCPS query which multiple a coverage with another different size coverage

for c in (eobstest) return encode(
count(c[Lat(20.5:35.1),t(0:0), Long(10.5:75.3)]
 * c[Lat(20.5:35.1),t(0:20), Long(10.5:75.3)] = (8)
), "csv")

with WCPS 1.0 will throw an exception

<ows:ExceptionText>
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
</ows:ExceptionText>
</ows:Exception>
<ows:Exception exceptionCode="RuntimeError">
<ows:ExceptionText>
org.odmg.QueryException : Execution error 351 in line 1, column 50, near token *: Spatial domains of the binary induce operands are incompatible.
</ows:ExceptionText>
</ows:Exception>

while WCPS 1.5 will have error in GRPC and should use same exception as WCPS 1.0.

<ows:Exception exceptionCode="SemanticError">
<ows:ExceptionText>
GRPC Exception: Status code:UNAVAILABLE Status description:Connection going away, but for unknown reason Network channel closed
</ows:ExceptionText>
</ows:Exception>
<ows:Exception exceptionCode="RuntimeError">
<ows:ExceptionText>
java.lang.RuntimeException : GRPC Exception: Status code:UNAVAILABLE Status description:Connection going away, but for unknown reason Network channel closed
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Change History (0)

Note: See TracTickets for help on using tickets.