Changes between Version 2 and Version 3 of rfc21_ogrsqlcast


Ignore:
Timestamp:
Jan 25, 2008, 3:38:08 PM (16 years ago)
Author:
tamas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rfc21_ogrsqlcast

    v2 v3  
    5656
    5757<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
    6062
    6163<field-func> ::= AVG | MAX | MIN | SUM | COUNT
     
    7779}}}
    7880
     81This RFC doesn't address implementing conversion to the 'integer list', 'double list' and 'string list' OGR data types, which
     82doesn't conform to the SQL92 specification and the necessary conversion routines are missing in the OGR code.
     83
    7984== Implementation ==
    8085
     
    8287
    83881. 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.
     89and the field_length, and add SWQ_DATETIME to the swq_field_type enum.
    8590
    86912. In swq.c I'll have to change swq_select_preparse to take care of the field alias and the
     
    109114Tamas Szekeres will implement the RFC in the development version.
    110115
     116Frank Warmerdam will implement the regression test scripts according to this new functionality.
     117
    111118== References ==
    112119