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

BUG: ignore manifest lines that do not contain s3 URLs #139

Merged
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
BUG: ignore manifest lines that do not contain s3 URLs
This came up while trying to use manifests generated using Looker Studio
fedorov committed Nov 25, 2024
commit 78d57c4020aac00ce81e38ce4abc85369aa2c66e
4 changes: 3 additions & 1 deletion idc_index/index.py
Original file line number Diff line number Diff line change
@@ -836,7 +836,9 @@ def _validate_update_manifest_and_get_download_size(
REGEXP_EXTRACT(manifest_cp_cmd, '(?:.*?\\/){{3}}([^\\/?#]+)', 1) AS manifest_crdc_series_uuid,
REGEXP_EXTRACT(manifest_cp_cmd, 's3://\\S+') AS s3_url,
FROM
manifest_df )
manifest_df
WHERE
REGEXP_EXTRACT(manifest_cp_cmd, 's3://\\S+') IS NOT NULL)
SELECT
seriesInstanceuid,
index_crdc_series_uuid,