JDBCDataStore can fail to build features when screenmap skipping is enabled

Description

The issue goes like this:

  • A query loads the geometry as the second (or later) field

  • The screenmap finds the spot has already been filled by another geometry and skips it

  • The reader does not reset the feature builder prior to returning null (e.g., feature skip)

  • When the next non skipped feature comes in, the builder is dirty and feature building will fail

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure