Project

General

Profile

« Previous | Next » 

Revision 6217

mappings/VegCore-VegBIEN.csv: Removed _date/date, because _date using a string date argument is no longer supported under plpython3u (dateutil is missing). Note that PostgreSQL's own date parsing is sufficient for most dates, so this use of _date is not strictly necessary and removing it will improve import times.

View differences:

test.xml.ref
10 10
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
11 11
                    <authoreventcode>$authorobscode</authoreventcode>
12 12
                    <sourceaccessioncode>$observation_id</sourceaccessioncode>
13
                    <obsenddate><_date><date>$obsenddate</date></_date></obsenddate>
14
                    <obsstartdate><_date><date>$obsstartdate</date></_date></obsstartdate>
13
                    <obsenddate>$obsenddate</obsenddate>
14
                    <obsstartdate>$obsstartdate</obsstartdate>
15 15
                    <soilobs>
16 16
                        <basesaturation_fraction><_percent_to_fraction><value>$basesaturation</value></_percent_to_fraction></basesaturation_fraction>
17 17
                        <cationexchangecapacity_cmol_kg>$exchangecapacity</cationexchangecapacity_cmol_kg>
......
27 27
        </path>
28 28
    </_simplifyPath>
29 29
</VegBIEN>
30
Inserted 9 new rows into database
30
Inserted 10 new rows into database

Also available in: Unified diff