Skip to content

Commit

Permalink
feat(ingest/dbt-core): support fetching using the s3a protocol (datah…
Browse files Browse the repository at this point in the history
…ub-project#12465)

Co-authored-by: hzhang <[email protected]>
  • Loading branch information
haon85 and hzhang authored Jan 30, 2025
1 parent 6acd94b commit c8e88ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def load_file_as_json(
) -> Dict:
if re.match("^https?://", uri):
return json.loads(requests.get(uri).text)
elif re.match("^s3://", uri):
elif is_s3_uri(uri):
u = urlparse(uri)
assert aws_connection
response = aws_connection.get_s3_client().get_object(
Expand Down

0 comments on commit c8e88ae

Please sign in to comment.