[Fdo-trac] [fdo-trac] #955: OGR Provider: Data reader returns incorrect property names
FDO
trac_fdo at osgeo.org
Tue May 8 08:46:30 PDT 2018
#955: OGR Provider: Data reader returns incorrect property names
--------------------------+------------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: major | Milestone: 4.1.0
Component: OGR Provider | Version: 4.1.0
Severity: 3 | Resolution:
Keywords: | External ID:
--------------------------+------------------------
Description changed by jng:
Old description:
> 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.
New description:
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
--
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/955#comment:1>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list