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

FDA Enforcement Airflow DAG fails #337

Open
coussens opened this issue Jan 13, 2025 · 1 comment
Open

FDA Enforcement Airflow DAG fails #337

coussens opened this issue Jan 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@coussens
Copy link
Contributor

Problem Statement

The fda_enforcement airflow DAG fails. I suspect something about the data format changed, but haven't been able to figure it out. The problem can be traced to an error in the transform-staging task. Maybe someone else has more insight?

For reference, I'm attaching my log file.

@jrlegrand jrlegrand added the bug Something isn't working label Jan 14, 2025
@jrlegrand
Copy link
Member

This is due to an ndc column not existing in the raw data. I did change this data source recently - which might have something to do with it: #214

The actual error is happening in my macro ndc_format.sql - but the real reason it's erroring is that an ndc column doesn't exist at all. See screenshot below.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants