Revision 11232
Added by Aaron Marcuse-Kubitza about 11 years ago
postprocess.sql | ||
---|---|---|
1 | 1 |
SELECT util.search_path_append('util'); |
2 | 2 |
|
3 |
SELECT create_if_not_exists($$CREATE INDEX $$||:table_str||%'__parent'||$$ ON $$||:table_str||$$ ("eventID")$$); -- runtime: 2 s ("2416.676 ms") @starscream |
|
3 | 4 |
|
5 |
|
|
4 | 6 |
SELECT mk_derived_col((:table_str, 'scientificName'), |
5 | 7 |
$$_alt("scientificName_verbatim", "scientificName__for_nearest_taxon_concept")$$) |
6 | 8 |
; -- runtime: 15 s ("Time: 12334.893 ms") @starscream |
Also available in: Unified diff
inputs/VegBank/taxonobservation_/postprocess.sql: added __parent index on locationID to facilitate the LEFT JOINs used to create the validation input