Skip to content
This repository was archived by the owner on Oct 8, 2026. It is now read-only.

Skip empty fetch results before insertion - #119

Merged
pranavb05 merged 1 commit into
mainfrom
fix/skip-empty-data
Oct 5, 2026
Merged

pranavb05 merged 1 commit into
mainfrom
fix/skip-empty-data

Conversation

@gabbypolito

Copy link
Copy Markdown
Contributor

When Databento returns no rows, the pipeline currently tries to insert an empty list and fails with IndexError: list index out of range.

This change logs a warning and skips processing empty fetch results before connecting to the database. Actual fetch and database errors still propagate to Airflow.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@pranavb05
pranavb05 merged commit 9f39dff into main Oct 5, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants