Just a question here, how do you guys get lineage ...
# integrate-tableau-datahub
m
Just a question here, how do you guys get lineage with custom sql? I have seen some of the workbook setup in our tableau where analysts had connection to a database and created a custom sql with bunch of joins and CTE statements to back the chart. When i use GraphQL to query this workbook, the
upstreamTables
field is empty, only the
upstreamDatabases
gets populated.
h
c
Tableau parse only tables from simple queries in custom SQL. You need to write your own SQL parser (for your language) to get all tables used in SQL.
👍 1
m
@colossal-easter-99672 thanks for the info. That explains on some complex queries, I don't see upstreamTables returned from GraphQL call.
👍 1