Skip to content

Commit

Permalink
Fix workspace pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
accorvin committed Dec 5, 2023
1 parent 3ba0f7a commit 958636f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
spec:
workspaces:
- name: tables-list
persistentVolumeClaim:
claimName: tables-list-pvc
steps:
- name: get-tables-list
image: quay.io/opendatahub/trino:356
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ spec:
name: update-partition-metadata
workspaces:
- name: tables-list
persistentVolumeClaim:
claimName: tables-list-pvc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
spec:
workspaces:
- name: tables-list
persistentVolumeClaim:
claimName: tables-list-pvc
steps:
- name: update-partition-metadata
image: quay.io/opendatahub/trino:356
Expand Down Expand Up @@ -35,7 +37,7 @@ spec:
# Disable warnings from urllib3
urllib3.disable_warnings()
with open('$(workspaces.messages.path)') as f:
with open('$(workspaces.tables-list.path)') as f:
TABLE_DEFS = f.read()
UPDATE_PARTITION = "call hive.system.sync_partition_metadata('{}','{}','FULL')"
Expand Down

0 comments on commit 958636f

Please sign in to comment.