[fdo-trac] #646: Sqlite SelectAggregates on non featureclass does not apply filter

FDO trac_fdo at osgeo.org
Mon May 10 10:45:30 EDT 2010


#646: Sqlite SelectAggregates on non featureclass does not apply filter
-----------------------------+----------------------------------------------
 Reporter:  bscott           |         Owner:  romicadascalescu
     Type:  defect           |        Status:  new             
 Priority:  blocker          |     Milestone:  3.6.0           
Component:  SQLite Provider  |       Version:  3.5.0           
 Severity:  3                |    Resolution:                  
 Keywords:                   |   External_id:                  
-----------------------------+----------------------------------------------
Comment (by traianstanev):

 While this patch probably fixes the problem, it will make queries by ID
 slow, since it will trigger generic SQL evalauation. A better fix would
 probably be to not optimize away the filter in the case of an aggregate
 query on a non-feature class. There are two code paths in the provider for
 aggregates, one is optimized for geometry-based classes and the other is
 generic, and you are probably hitting a bug in the generic code path.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/646#comment:3>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list