Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sandbox dag with retool #552

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Update sandbox dag with retool #552

merged 2 commits into from
Dec 19, 2024

Conversation

chowbao
Copy link
Contributor

@chowbao chowbao commented Dec 19, 2024

Fix sandbox_update_dag to pull retool data from the correct project.dataset

@chowbao chowbao requested a review from a team as a code owner December 19, 2024 16:48
Comment on lines 74 to 77
if table_id == "retool_entity_data":
sql_params["project_id"] = SANDBOX_PROJECT
sql_params["dataset_id"] = INTERNAL_DATASET

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to copy this table over to the sandbox? I believe canvas has full access to crypto_stellar_internal_2 tables, but we may need to confirm. Since the table is only 30 rows, there is no reason for us to rebuild

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I didn't know that. If they have access then I can change this to just exclude retool_entity_data instead

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: canvas does not have access to the dataset. My preference would be to build a view in the sandbox instead of a table

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to skip retool_entity_data
312cd07

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View created in sandbox

Copy link
Contributor

@sydneynotthecity sydneynotthecity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chowbao chowbao merged commit 567e53a into master Dec 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants