fix: address review feedback on Databricks/Snowflake docs (PR #808)

- README: get_table_lineage() takes table_name first, then catalog/schema
  keyword args — the example had them in the wrong order, which would have
  queried lineage for the wrong fully-qualified table when copy-pasted.
- modules.md: the ingest example used DatabricksIngestor without importing
  it, causing a NameError if copy-pasted as-is.
- guides/ingest.md: corrected the claim that Databricks/Snowflake ingestors
  return "the same shape as DBIngestor" — DBIngestor.execute_query() returns
  a raw List[Dict] with no wrapper, unlike DatabricksData/SnowflakeData.
This commit is contained in:
KaifAhmad1
2026-07-28 12:10:37 +05:30
parent 6ed5aea993
commit b105b8ea97
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ databricks = DatabricksIngestor(
)
customers = databricks.ingest_table("customers", limit=10_000)
sales = databricks.ingest_query("SELECT * FROM sales WHERE region = 'EMEA'")
table_lineage = databricks.get_table_lineage("main", "sales", "customers") # Unity Catalog lineage
table_lineage = databricks.get_table_lineage("customers", catalog="main", schema="default") # Unity Catalog lineage
# pip install semantica[db-snowflake]
snowflake = SnowflakeIngestor(