quick-pizza-8906
07/14/2022, 2:06 PMdisable_dbt_node_creation
set to True - I can see nice lineage between preingested Snowflake tables but on the main page where all platforms are shown I can see DBT platform with count of several thousand elements. If I click on this platform to see entities I got an exception. After some examination of mysql database I could see there are objects with urn like urn:li:assertion:2c8a2605354d9b924c0f1b5d9f0dffd5
with dataPlatformInstance apsect having dbt
as platform but nothing as an instance (I believe exception was coming from that aspect missing platform instance).
2. If I run with disable_dbt_node_creation
set to False - I can see lineage and dbt objects combined with Snowflake tables (very cool). It seems I still have above assertions but they don't cause problems on platform search anymore.
In either case if I run connector with stateful_ingestion
enabled I end up with connector ingesting data but then throwing an exception ending with code like below:
File "/usr/local/lib/python3.9/site-packages/datahub/ingestion/source/state/sql_common_state.py", line 35, in _get_lightweight_repr
31 def _get_lightweight_repr(dataset_urn: str) -> str:
32 """Reduces the amount of text in the URNs for smaller state footprint."""
33 SEP = BaseSQLAlchemyCheckpointState._get_separator()
34 key = dataset_urn_to_key(dataset_urn)
--> 35 assert key is not None
36 return f"{key.platform}{SEP}{key.name}{SEP}{key.origin}"
..................................................
dataset_urn = 'urn:li:assertion:2c8aaaa5354d9b924c0f1b5c9f09bf75'
SEP = '||'
key = None
Which makes me think urn representation function fails for assertion objects which are considered to be datasets somehow? Anyone having similar problems?quick-pizza-8906
07/14/2022, 2:23 PMgreen-football-43791
07/15/2022, 6:22 PMgreen-football-43791
07/15/2022, 6:23 PMdisable_dbt_node_creation: False
- that’s the recommended approach anywaygreen-football-43791
07/15/2022, 6:24 PMmammoth-bear-12532
quick-pizza-8906
07/18/2022, 10:23 AMlittle-megabyte-1074
quick-pizza-8906
07/27/2022, 7:30 AMadamant-van-21355
08/01/2022, 2:02 PM0.8.41
but still getting the same AssertionError
with the stateful_ingestion enabled. Also can not view the above PR coming from the fork repo (getting a 404).
Would appreciate a solid reply from someone here 🙏 since making the stateful-ingestion to work for the DBT source is an absolutely crucial topic and game-changer for us. Big thanks beforehand
PS. happy to provide more input/details on our caselittle-megabyte-1074
adamant-van-21355
08/03/2022, 9:43 AM