Failed to get lineage metadata from Oracle source when add_database_name_to_urn
is set to False
(default value)
#11677
Labels
bug
Bug report
Describe the bug
When ingesting metadata using the Oracle source, I get the "invalid view identifier" warning. Looking at the source code where this warning was issued, this causes the method to return without running any parsing at all to get the lineage metadata. The culprit is likely the
get_db_schema
that expects thedataset_identifier
parameter to include the database name (i.e.,database_name.schema_name.view_name
instead of justschema_name.view_name
).Setting
add_database_name_to_urn
toTrue
fix this issue.This might be the expected behavior and not a bug. In that case it'd probably be good if this behavior is mentioned in the Oracle source docs.
To Reproduce
Steps to reproduce the behavior:
oracle_recipe.yml
)add_database_name_to_urn
toTrue
(the default)datahub ingest -c oracle_recipe.yml
)Expected behavior
When
add_database_name_to_urn
is set toFalse
, the lineage parsing should still be successful. Theadd_database_name_to_urn
should not affect whether or not the lineage is extracted or not.Screenshots
If applicable, add screenshots to help explain your problem.
Not really applicable.
Desktop (please complete the following information):
Version 129.0.2792.89 (Official build) (64-bit)
Additional context
Add any other context about the problem here.
None to add.
The text was updated successfully, but these errors were encountered: