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