最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

graphql - how to get fully qualified name of BQ source via Tableau API - Stack Overflow

programmeradmin2浏览0评论

To get Data Lineage edges and to get sources metadata I used graphQL query:

query lineage {
  workbooks {
    name
    luid
    embeddedDatasources {
      id
      name
      upstreamTablesConnection {
        nodes {
          database {
            name
          }
          name
          schema
          connectionType
        }
      }
    }
  }
}

getting upstreamTablesConnection list with None values in name, schema, database fields.

Tried this query, using upstreamTables entity:

query lineage {
  workbooks {
    name
    luid
    embeddedDatasources {
      id
      name
      upstreamTables { name id schema database {name} }
    }
  }
}

getting actual id's but the FQN parts are is still None's.

Important thing is: project, dataset and table name are visible in UI when clicking on source -> Properties, but via API no such data.

what am I doing wrong here?

发布评论

评论列表(0)

  1. 暂无评论