Opened 16 years ago

Last modified 16 years ago

#2171 closed enhancement

Support for OGR SQL type cast and field name alias — at Version 3

Reported by: tamas Owned by: tamas
Priority: normal Milestone: 1.6.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: sql
Cc: warmerdam

Description (last modified by warmerdam)

These changes will support to change the name and the type of the fields in the results of the OGR SQL query. A patch will be attached with the implementation details.

I suspect gdal/ogr/ogr_sql.dox still needs to be updated to reflect this change.

Change History (4)

comment:1 by tamas, 16 years ago

The corresponding RFC can be found here: http://trac.osgeo.org/gdal/wiki/rfc21_ogrsqlcast

by tamas, 16 years ago

Attachment: ogr-sql.patch added

Update the patch to reflect the RFC changes

comment:2 by tamas, 16 years ago

Applied in r13721

comment:3 by warmerdam, 16 years ago

Cc: warmerdam added
Description: modified (diff)
Keywords: sql added

I have added a minimal sort of sql cast operator test in ogr_sql_test.py as r13888 in trunk.

Note: See TracTickets for help on using tickets.