Opened 11 years ago

Closed 11 years ago

#3966 closed defect (fixed)

'SELECT DISTINCT "column_id" FROM table_name' doesn't work with GDAL 1.8.0

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.8.1
Component: OGR_SF Version: 1.8.0
Severity: normal Keywords: sql distinct
Cc: warmerdam, cgs_bob


This used to work with the old SQL parser, but doesn't with the new one. QGIS (1.5 and 1.6) uses escaping of the column name for the "unique value" symbology on a vector layer.

(this is not critical however since QGIS can fallback to its own implementation of SELECT DISTINCT that basically iterates over each feature)

Change History (1)

comment:1 by Even Rouault, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r21732) and in branches/1.8 (r21733)

Note: See TracTickets for help on using tickets.