Skip to content

No assumptions should be made as to what Statistics a Statistical DataAdapter provides #655

@jwomeara

Description

@jwomeara

Ran into this when creating a customized FeatureDataAdapter which only persists the bounding box statistic.

When a query is performed against a namespace which contains valid entries, null is returned because it is assumed that all StatisticalDataAdapters will use RowRangeHistogramStatistics. The point of failure lies within the DataStoreUtils.trimAdapterIdsByIndex method. If an adapter doesn't include this statistic, it is assumed that no entries are present in the namespace.

One way to make the logic work would be to persist a list of enabled statistics for each data adapter in the GEOWAVE_METADATA table. That way, no assumptions need be made about what statistics are included for any given StatisticalDataAdapter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions