Opened 6 months ago

Closed 6 months ago

#955 closed defect (fixed)

OGR Provider: Data reader returns incorrect property names

Reported by: jng Owned by: jng
Priority: major Milestone: 4.1.0
Component: OGR Provider Version: 4.1.0
Severity: 3 Keywords:
Cc: External ID:

Description (last modified by jng)

If you do a select aggregates with an expression (eg: COUNT(FID) when looping through the properties of the returned data reader, it does not return the expression alias you specified as the property name. Instead, an OGR-computed property name is returned. This breaks the expected flow of an FDO client application consuming a data reader result for a select aggregate operation.

This problem manifests itself in the MapGuide? feature source preview where previewing the data shows total entries as -1 due to this issue

Change History (2)

comment:1 Changed 6 months ago by jng

Description: modified (diff)

comment:2 Changed 6 months ago by jng

Resolution: fixed
Status: assignedclosed

Fixed trunk (r7667) and 4.1 (r7668)

Note: See TracTickets for help on using tickets.