Skip to content

Commit

Permalink
fix: regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Nov 25, 2024
1 parent dce589e commit 080ba88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 53 deletions.
6 changes: 5 additions & 1 deletion .devcontainer/scripts/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
# specify how to reconcile divergent branches
git config pull.rebase false # merge

# add gcloud gpg key
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg || true
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list

# update/install apt packages
sudo apt-get -y --no-install-recommends update &&
sudo apt-get -y --no-install-recommends upgrade &&
sudo apt-get -y --no-install-recommends install bash-completion &&
sudo apt-get -y --no-install-recommends install bash-completion google-cloud-cli &&
sudo rm -rf /var/lib/apt/lists/*

# create env folder
Expand Down
52 changes: 1 addition & 51 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,55 +43,5 @@
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"dbt.enableNewLineagePanel": true,
"dbt.deferConfigPerProject": {
"src/dbt/deanslist": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/deanslist/target",
"manifestPathType": "local"
},
"src/dbt/edplan": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/edplan/target",
"manifestPathType": "local"
},
"src/dbt/iready": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/iready/target",
"manifestPathType": "local"
},
"src/dbt/kippcamden": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/kippcamden/target",
"manifestPathType": "local"
},
"src/dbt/kippmiami": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/kippmiami/target",
"manifestPathType": "local"
},
"src/dbt/kippnewark": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/kippnewark/target",
"manifestPathType": "local"
},
"src/dbt/kipptaf": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/kipptaf/target",
"manifestPathType": "local"
},
"src/dbt/overgrad": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/overgrad/target",
"manifestPathType": "local"
},
"src/dbt/pearson": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/pearson/target",
"manifestPathType": "local"
},
"src/dbt/powerschool": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/powerschool/target",
"manifestPathType": "local"
},
"src/dbt/renlearn": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/renlearn/target",
"manifestPathType": "local"
},
"src/dbt/titan": {
"manifestPathForDeferral": "/workspaces/teamster/src/dbt/titan/target",
"manifestPathType": "local"
}
}
"dbt.enableNewLineagePanel": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ with
*,

regexp_extract(
_dbt_source_relation, r'(\w+)_communication'
_dbt_source_relation, r'__(\w+)_communication'
) as source_relation_type,
from union_relations
),
Expand Down

0 comments on commit 080ba88

Please sign in to comment.