You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
salesforce Ingestion fails, AttributeError: 'str' object has no attribute 'database_schema' on all tables, example in one of the error below
Affected module
Ingestion Framework
Describe the bug
salesforce Ingestion fails, AttributeError: 'str' object has no attribute 'database_schema' on all tables, example in one of the error below
[2024-01-03T21:41:15.648+0000] {topology_runner.py:94} DEBUG - Processing stage: type_=<class 'metadata.ingestion.models.life_cycle.OMetaLifeCycleData'> processor='yield_life_cycle_data' context=None nullable=True must_return=False cache_all=False clear_cache=False overwrite=True consumer=None cache_entities=False use_cache=False [2024-01-03T21:41:15.654+0000] {topology_runner.py:94} DEBUG - Processing stage: type_=<class 'metadata.ingestion.models.ometa_classification.OMetaTagAndClassification'> processor='yield_table_tag_details' context='tags' nullable=True must_return=False cache_all=True clear_cache=False overwrite=True consumer=None cache_entities=False use_cache=False [2024-01-03T21:41:15.654+0000] {topology_runner.py:94} DEBUG - Processing stage: type_=<class 'metadata.generated.schema.entity.data.table.Table'> processor='yield_table' context='table' nullable=False must_return=False cache_all=False clear_cache=False overwrite=True consumer=['database_service', 'database', 'database_schema'] cache_entities=False use_cache=True [2024-01-03T21:41:15.897+0000] {status.py:65} WARNING - Unexpected exception for table [TEST_TABLE]: 'str' object has no attribute 'database_schema' [2024-01-03T21:41:15.898+0000] {status.py:66} DEBUG - Traceback (most recent call last): File "/home/airflow/.local/lib/python3.9/site-packages/metadata/ingestion/source/database/salesforce/metadata.py", line 216, in yield_table schema_name=self.context.database.database_schema, AttributeError: 'str' object has no attribute 'database_schema'
To Reproduce
Create a successful connection to Salesforce and run a ingestion.
Expected behavior
Every table in the salesforce ingestion throws an error.
Version:
Additional context
Test Connection on creation of the salesforce connection is Successful
The text was updated successfully, but these errors were encountered: