-
Notifications
You must be signed in to change notification settings - Fork 7
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
ETL fails when concept recreated with same name #92
Labels
Comments
This was referenced Mar 14, 2024
Closed
petmongrels
added a commit
that referenced
this issue
Dec 9, 2024
…ded state to ColumnMetadata so that in subsequent runs the voiding is not required to be done again. WIP.
petmongrels
added a commit
that referenced
this issue
Dec 9, 2024
…hema rename the column and store the state in column metadata. used uuid as the identity for a column. voided column name is decoupled between avni main db and etl schemas.
also this commit - avniproject/avni-server@dba4225 |
petmongrels
added a commit
that referenced
this issue
Dec 10, 2024
petmongrels
added a commit
that referenced
this issue
Dec 10, 2024
the issue is not reproducible. Currently ETL status is passed. I tried deleting one more field. The ETL passed again after that also. |
ETL not deployed on prerelease. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need:
Frequently to change datatype of a concept, the old concept is renamed or deleted. And then new concept with the right datatype is created with the same name. And when ETL runs again after the creation of the new concept, it fails with error
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [alter table {schema_name}.{table_name} add column {column_name} {new_data_type}
Issues:
select * from scheduled_job_run where error_message like '%add_column%' order by id desc;
- in prod everytime I do there are atleast consistent failures in 2 to 4 orgs.Acceptance criteria:
Questions:
Aren't we first doing the necessary deletes/renames before creating?
Inputs:
rename before creating
DBT-integration test code
complex trans
ETL failure logs:
The text was updated successfully, but these errors were encountered: