Opened 9 years ago

Closed 9 years ago

#1245 closed defect (fixed)

WCPS1.5_Cannot parse count, trim

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

50-arithmetic_operation_ticket227.test

for c in (mr) return
   encode(
      count(trim(c, {i(100:101),j(100:101)}) > 0) * 2,
   "csv")

WCPS1.5 cannot parse

   <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>petascope.wcps2.error.managed.processing.WCPSProcessingError : A parsing error occurred at position=3:20. Offending symbol is=[@15,52:52='{',&lt;35&gt;,3:20]. 
Parser message=no viable alternative at input 'count(trim(c,{'.</ows:ExceptionText>
    </ows:Exception>

while Rasql from WCPS1.0

select csv(((count_cells(((c[100:101,109:110])>(0))))*(2))) from mr AS c where oid(c)=1025

Change History (1)

comment:1 by Bang Pham Huu, 9 years ago

Resolution: fixed
Status: newclosed

patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.