AbsaOSS / AbsaOSS/spline

DataSource information enchancement

未关闭
#1,095 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature
主要语言
Scala
星标
667
派生
155
平均合并
3 天 6 小时
30 天内合并 PR
4

描述

### Discussed in https://github.com/AbsaOSS/spline/discussions/1093

Originally posted by **vishalag001** July 18, 2022
Currently, the **dataSource** collection only contains URI and the name is dependent on the URI(anything after the '/'). However a dataSource should ideally have a tableName, schema and related details.

In Spline, such information is captured on the write operation. Say for a hiveTable write, we have params which contains the tableName, Schema name, etc. For BigQuery, we get datasetName, projectName and tableName.

Is it possible to leverage the **operation** collection to enhance the dataSource collection ?

**Benefits of this approach:**

- The UI could refer to the schema.tableName rather than the name(which is derived from URI) and make it more meaningful.
- It will help to list dataSource URI which fall under same tableName( ,i.e, same table but different partitions)
- On UI, the list of different tables can be displayed and from there on one can navigate to the lineageOverview (by the corresponding progress Event). In case of more than 10 partitions, we can use latest partitions to display the lineage

@wajda let me know your thoughts. I am happy to contribute to this.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。