Changes between Version 2 and Version 3 of rfc21_ogrsqlcast
- Timestamp:
- Jan 25, 2008, 3:38:08 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc21_ogrsqlcast
v2 v3 56 56 57 57 <data type> ::= character [ ( field_length ) ] 58 | float [ ( field_length ) ] 59 | integer [ ( field_length ) ] 58 | float [ ( field_length ) ] 59 | numeric [ ( field_length [, field_precision ] ) ] 60 | integer [ ( field_length ) ] 61 | timestamp 60 62 61 63 <field-func> ::= AVG | MAX | MIN | SUM | COUNT … … 77 79 }}} 78 80 81 This RFC doesn't address implementing conversion to the 'integer list', 'double list' and 'string list' OGR data types, which 82 doesn't conform to the SQL92 specification and the necessary conversion routines are missing in the OGR code. 83 79 84 == Implementation == 80 85 … … 82 87 83 88 1. In swq.h I'll have to add to 3 fields to swq_col_def to hold the field_alias the target_type 84 and the field_length .89 and the field_length, and add SWQ_DATETIME to the swq_field_type enum. 85 90 86 91 2. In swq.c I'll have to change swq_select_preparse to take care of the field alias and the … … 109 114 Tamas Szekeres will implement the RFC in the development version. 110 115 116 Frank Warmerdam will implement the regression test scripts according to this new functionality. 117 111 118 == References == 112 119