Project

General

Profile

« Previous | Next » 

Revision 10170

bugfix: inputs/*/Source/: use installed staging table (with blank-line data.csv) in order to also work with new-style import. this also fixes a benign diff between the by-row and by-col test outputs, where row-based import would not import the Source/ entries because there was not at least one row in the input. note that in order to ensure that all datasources are properly run, you need to check `svn st|sort` against the datasource schema names to see if any are missing.

View differences:

inputs/BRIT/Source/data.csv
1

  
2

  
inputs/TEX/Source/data.csv
1

  
2

  
inputs/newWorld/Source/data.csv
1

  
2

  
inputs/HVAA/Source/header.csv
1
row_num
inputs/HVAA/Source/data.csv
1

  
2

  
inputs/HVAA/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/MT/Source/header.csv
1
row_num
inputs/MT/Source/data.csv
1

  
2

  
inputs/MT/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/test_taxonomic_names/Source/header.csv
1
row_num
inputs/test_taxonomic_names/Source/data.csv
1

  
2

  
inputs/test_taxonomic_names/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/XAL/Source/header.csv
1
row_num
inputs/XAL/Source/data.csv
1

  
2

  
inputs/XAL/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/NCU/Source/header.csv
1
row_num
inputs/NCU/Source/data.csv
1

  
2

  
inputs/NCU/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/bien2_traits/Source/header.csv
1
row_num
inputs/bien2_traits/Source/data.csv
1

  
2

  
inputs/bien2_traits/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/TEAM/Source/header.csv
1
row_num
inputs/TEAM/Source/data.csv
1

  
2

  
inputs/TEAM/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/.geoscrub/Source/header.csv
1
row_num
inputs/.geoscrub/Source/data.csv
1

  
2

  
inputs/.geoscrub/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/ACAD/Source/header.csv
1
row_num
inputs/ACAD/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/WIN/Source/data.csv
1

  
2

  
inputs/CTFS/Source/header.csv
1
row_num
inputs/CTFS/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/BRIT/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/TEX/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/newWorld/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/ACAD/Source/data.csv
1

  
2

  
inputs/WIN/Source/header.csv
1
row_num
inputs/WIN/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/CTFS/Source/data.csv
1

  
2

  
inputs/BRIT/Source/header.csv
1
row_num
inputs/TEX/Source/header.csv
1
row_num
inputs/newWorld/Source/header.csv
1
row_num
inputs/U/Source/header.csv
1
row_num
inputs/QFA/Source/data.csv
1

  
2

  
inputs/JBM/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/SpeciesLink/Source/header.csv
1
row_num
inputs/HIBG/Source/data.csv
1

  
2

  
inputs/bien_web/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/SALVIAS/Source/data.csv
1

  
2

  
inputs/U/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/JBM/Source/header.csv
1
row_num
inputs/UBC/Source/data.csv
1

  
2

  
inputs/SpeciesLink/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/bien_web/Source/header.csv
1
row_num
inputs/NY/Source/data.csv
1

  
2

  
inputs/analytical_db/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/UNCC/Source/header.csv
1
row_num
inputs/.herbaria/Source/data.csv
1

  
2

  
inputs/SALVIAS/Source/header.csv
1
row_num
inputs/U/Source/data.csv
1

  
2

  
inputs/QFA/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/UBC/Source/header.csv
1
row_num
inputs/SpeciesLink/Source/data.csv
1

  
2

  
inputs/HIBG/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/NY/Source/header.csv
1
row_num
inputs/analytical_db/Source/data.csv
1

  
2

  
inputs/Madidi/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/.herbaria/Source/header.csv
1
row_num
inputs/analytical_db/Source/header.csv
1
row_num
inputs/Madidi/Source/data.csv
1

  
2

  
inputs/UNCC/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/CVS/Source/header.csv
1
row_num
inputs/SALVIAS/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/QFA/Source/header.csv
1
row_num
inputs/JBM/Source/data.csv
1

  
2

  
inputs/UBC/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/HIBG/Source/header.csv
1
row_num
inputs/bien_web/Source/data.csv
1

  
2

  
inputs/NY/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/Madidi/Source/header.csv
1
row_num
inputs/UNCC/Source/data.csv
1

  
2

  
inputs/.herbaria/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/CVS/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/TurboVeg/Source/header.csv
1
row_num
inputs/CVS/Source/data.csv
1

  
2

  
inputs/SALVIAS-CSV/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/REMIB/Source/data.csv
1

  
2

  
inputs/SALVIAS-CSV/Source/data.csv
1

  
2

  
inputs/REMIB/Source/header.csv
1
row_num
inputs/SALVIAS-CSV/Source/header.csv
1
row_num
inputs/TurboVeg/Source/data.csv
1

  
2

  
inputs/REMIB/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/.TNRS/Source/header.csv
1
row_num
inputs/ARIZ/Source/data.csv
1

  
2

  
inputs/NVS/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/MO/Source/header.csv
1
row_num
inputs/VASCAN/Source/data.csv
1

  
2

  
inputs/VegBank/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/IUCN/Source/header.csv
1
row_num
inputs/.TNRS/Source/data.csv
1

  
2

  
inputs/ARIZ/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/TRT/Source/header.csv
1
row_num
inputs/MO/Source/data.csv
1

  
2

  
inputs/VASCAN/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/TRTE/Source/header.csv
1
row_num
inputs/IUCN/Source/data.csv
1

  
2

  
inputs/.TNRS/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/NVS/Source/header.csv
1
row_num
inputs/TRT/Source/data.csv
1

  
2

  
inputs/MO/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/VegBank/Source/header.csv
1
row_num
inputs/TRTE/Source/data.csv
1

  
2

  
inputs/IUCN/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/ARIZ/Source/header.csv
1
row_num
inputs/NVS/Source/data.csv
1

  
2

  
inputs/TRT/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/VASCAN/Source/header.csv
1
row_num
inputs/VegBank/Source/data.csv
1

  
2

  
inputs/TRTE/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database

Also available in: Unified diff