<@U01GCJKA8P9> You mentioned in a YT video that th...
# ingestion
s
@big-carpet-38439 You mentioned in a YT video that the lineage supports redshift dataset now. Is it under the latest release?
l
Hi @stocky-television-65849! Jumping in for John - we’re still putting some finishing touches on the Redshift dataset lineage; targeting release within the next 1-2wks (cc @dazzling-judge-80093)
thank you 1
p
qq, I’m just curious how do we generate dataset lineage for Redshift? is it generated from its own access logs like it’s handled in Snowflake?
d
There are multiple way to do it: For queries: 1. Using stl_insert (https://docs.aws.amazon.com/redshift/latest/dg/r_STL_INSERT.html) to find tables where inster happened and using stl_scan (https://docs.aws.amazon.com/redshift/latest/dg/r_STL_SCAN.html) for finding upstream tables -> works well except for Spectrum tables 2. Doing query parsing based on stl_insert (slower than above and less reliabel but works for Spectrum as well)
plus1 1
There are some other cases like view/non-binding views lineage and copy commands which we also would like to support
p
Thank you @dazzling-judge-80093 for detailed explanation! I appreciate that :)