Opened 9 years ago

Last modified 5 years ago

#1293 closed enhancement

Induced condenser doesn't work with where clause — at Version 2

Reported by: Dimitar Misev Owned by: apercov
Priority: major Milestone: 10.0
Component: qlparser Version: development
Keywords: Cc:
Complexity: Medium

Description (last modified by Dimitar Misev)

A query using test_grey3d (assumes domain [0:99,0:99,0:4]):

select condense + over i in [0:4]
   using a[0:99,0:99,i]
   where avg_cells(a[0:99,0:99,i]) > 30
from test_grey3d as a

fails with:

rasdaman error 300: Parsing error 300 in line 3, column 4: Unexpected name where.

It should correctly parse the where in the condenser, and then evaluate it: only the array slices for which avg_cells(a[0:99,0:99,i]) > 30 is true should be added up in the condenser.

Change History (2)

comment:1 by Vlad Merticariu, 5 years ago

A query using test_grey3d (assumes domain [0:99,0:99,0:4]) and failing:

select condense + over i in [0:4]
    where avg_cells(a[0:99,0:99,i[0]]) > 30
    using a[0:99,0:99,i[0]]
from test_grey3d as a
Last edited 5 years ago by apercov (previous) (diff)

comment:2 by Dimitar Misev, 5 years ago

Description: modified (diff)
Owner: changed from Vlad Merticariu to apercov
Status: newassigned
Type: defectenhancement
Note: See TracTickets for help on using tickets.