Skip to content

FIX: Add Glides project_name to hyperjobs to write them to the correct project #491

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

Merged
merged 2 commits into from
Mar 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/lamp_py/tableau/jobs/glides.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
)
from lamp_py.aws.s3 import file_list_from_s3, file_list_from_s3_with_details, object_exists

GLIDES_TABLEAU_PROJECT = "Glides"

glides_trips_updated_schema = pyarrow.schema(
[
("data.metadata.location.gtfsId", pyarrow.large_string()),
Expand Down Expand Up @@ -177,6 +179,7 @@ def __init__(self) -> None:
hyper_file_name=tableau_glides_all_trips_updated.prefix.rsplit("/")[-1].replace(".parquet", ".hyper"),
remote_parquet_path=tableau_glides_all_trips_updated.s3_uri,
lamp_version=tableau_glides_all_trips_updated.version,
project_name=GLIDES_TABLEAU_PROJECT,
)

@property
Expand Down Expand Up @@ -211,6 +214,7 @@ def __init__(self) -> None:
hyper_file_name=tableau_glides_all_operator_signed_in.prefix.rsplit("/")[-1].replace(".parquet", ".hyper"),
remote_parquet_path=tableau_glides_all_operator_signed_in.s3_uri,
lamp_version=tableau_glides_all_operator_signed_in.version,
project_name=GLIDES_TABLEAU_PROJECT,
)

@property
Expand Down