#5379 closed defect (fixed)
OGR SQL query fails if a field name contains a dot
Reported by: | wonder | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
Please see the attached shapefile - it has two fields: "id" and "oo.pp_aa"
OGR handles reads the shapefile without any problems, but there is an issue with SQL query.
When I use SQL query, an error is reported about unrecognized field name (note that the field name is not mentioned in the query):
$ ogrinfo -sql "select * from rr2" rr2.shp INFO: Open of `rr2.shp' using driver `ESRI Shapefile' successful. ERROR 1: Unrecognised field name oo.pp_aa.
Attachments (1)
Change History (4)
by , 10 years ago
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Component: | default → OGR_SF |
---|---|
Milestone: | → 2.0 |
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 10 years ago
Milestone: | 2.0 → 1.11.0 |
---|
Note:
See TracTickets
for help on using tickets.
Confirmed with two week old gisinternals binaries. Also tested that SQLite dialect does not have troubles