Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
I ran the following piece of code on 2 occasions.
table_name = 'full path of table"
lineage = w.api_client.do(
"GET",
f"/api/2.0/lineage-tracking/column-lineage",
body={
"table_name": table_name,
"column_name": "column_x"
}
)
u_lineage_df = spark.createDataFrame(lineage['downstream_cols'])
d_lineage_df = spark.createDataFrame(lineage['ustream_cols'])
In week 1, i got both downstream and upstream data.
In week 2 however, i got only downstream data.
What could be the cause of this?
Do note that this is highly redacted version, I'm just wondering if there are some restrictions in using the api.