Skip to content

Commit 86c9856

Browse files
authored
Merge pull request #21 from wikirate/update-wikirate-config
Renaming coporate_identifiers on companies index to company_identifiers
2 parents dc6aaec + 7f2543c commit 86c9856

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/queries/companies.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SELECT
88
co.id,
99
co.name,
1010
hq.db_content AS headquarters,
11-
GROUP_CONCAT(cids.db_content SEPARATOR ',') AS corporate_identifiers
11+
GROUP_CONCAT(cids.db_content SEPARATOR ';') AS company_identifiers
1212
FROM
1313
cards AS co
1414
LEFT JOIN cards AS hq ON co.id = hq.left_id

pipeline/wikirate.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ filter {
9797
remove_field => ["@version", "@timestamp", "action_type"]
9898
}
9999
mutate{
100-
gsub => ["corporate_identifiers", "\n", ","]
100+
gsub => ["company_identifiers", "\n", ";"]
101101
}
102102
mutate {
103-
split => { "corporate_identifiers" => "," }
103+
split => { "company_identifiers" => ";" }
104104
}
105105
}
106106

0 commit comments

Comments
 (0)