1 |
10622
|
aaronmk
|
SELECT util.search_path_append('util');
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
SELECT mk_derived_col((:table_str, 'dateCollected'),
|
5 |
10625
|
aaronmk
|
$$_alt("dateCollected__scrubbed", "dateCollected__verbatim")$$)
|
6 |
10622
|
aaronmk
|
; -- runtime: 0.3 s ("Time: 283.170 ms") @starscream
|
7 |
|
|
|
8 |
10624
|
aaronmk
|
|
9 |
10622
|
aaronmk
|
SELECT mk_derived_col((:table_str, 'recordedBy__primary'),
|
10 |
10625
|
aaronmk
|
$$_join_words("recordedBy__primary__first", "recordedBy__primary__last")$$)
|
11 |
10622
|
aaronmk
|
; -- runtime: 0.2 s ("Time: 154.234 ms") @starscream
|
12 |
|
|
|
13 |
|
|
SELECT mk_derived_col((:table_str, 'recordedBy__additional__1'),
|
14 |
10625
|
aaronmk
|
$$_join_words("recordedBy__additional__1__first", "recordedBy__additional__1__last")$$)
|
15 |
10622
|
aaronmk
|
; -- runtime: 0.1 s ("Time: 135.107 ms") @starscream
|
16 |
|
|
|
17 |
|
|
SELECT mk_derived_col((:table_str, 'recordedBy__additional__2'),
|
18 |
10625
|
aaronmk
|
$$_join_words("recordedBy__additional__2__first", "recordedBy__additional__2__last")$$)
|
19 |
10622
|
aaronmk
|
; -- runtime: 0.1 s ("Time: 133.670 ms") @starscream
|
20 |
|
|
|
21 |
|
|
SELECT mk_derived_col((:table_str, 'recordedBy__additional__3'),
|
22 |
10625
|
aaronmk
|
$$_join_words("recordedBy__additional__3__first", "recordedBy__additional__3__last")$$)
|
23 |
10622
|
aaronmk
|
; -- runtime: 0.1 s ("Time: 132.596 ms") @starscream
|
24 |
|
|
|
25 |
|
|
SELECT mk_derived_col((:table_str, 'recordedBy__additional__4'),
|
26 |
10625
|
aaronmk
|
$$_join_words("recordedBy__additional__4__first", "recordedBy__additional__4__last")$$)
|
27 |
10622
|
aaronmk
|
; -- runtime: 0.1 s ("Time: 132.078 ms") @starscream
|
28 |
|
|
|
29 |
|
|
SELECT mk_derived_col((:table_str, 'recordedBy'),
|
30 |
|
|
$$_join("recordedBy__primary", "recordedBy__additional__1", "recordedBy__additional__2", "recordedBy__additional__3", "recordedBy__additional__4")$$)
|
31 |
|
|
; -- runtime: 0.1 s ("Time: 141.355 ms") @starscream
|
32 |
10624
|
aaronmk
|
|
33 |
|
|
|
34 |
|
|
SELECT mk_derived_col((:table_str, 'identifiedBy'),
|
35 |
10625
|
aaronmk
|
$$_join_words("identifiedBy__first", "identifiedBy__last")$$)
|
36 |
10624
|
aaronmk
|
; -- runtime: 0.3 s ("Time: 267.310 ms") @starscream
|
37 |
11924
|
aaronmk
|
|
38 |
|
|
|
39 |
|
|
SELECT mk_derived_col((:table_str, 'occurrenceRemarks'),
|
40 |
|
|
$$_join("specimenDescription", "habitat")$$)
|
41 |
|
|
; -- runtime: 0.2 s ("158.403 ms") @starscream
|