Opened 7 years ago

Last modified 7 years ago

#955 closed defect

OGR Provider: Data reader returns incorrect property names — at Version 1

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 (1)

comment:1 by jng, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.