jobmeta update

This commit is contained in:
Allan Bowe 2020-05-31 18:05:51 +02:00
parent 360426733a
commit 904f6ee81b
4 changed files with 35 additions and 4 deletions

30
docs/dcu-lineage.md Normal file
View File

@ -0,0 +1,30 @@
# Data Lineage
The Data Lineage feature is available for SAS 9 installs. The implementation differs depending on whether the lineage is table level or column level.
## Table Level lineage
Table level lineage is relatively straightforward, and so it is extracted in a single ad-hoc `proc metadata` call and stored in the `DATACTRL.MPE_LINEAGE_TABS` table. To trigger the population (or refresh) of this table, simply execute the `YOURSERVER/SASStoredProcess/?_program={appLoc}/DataController/admin/refreshtablelineage` service from a browser.
![jobmetadata](img/dcu-jobmeta.png)
This data is stored with SCD2 so it is possible to track changes to lineage over time.
When users execute table level lineage, queries are made against this table, so there is very little metadata impact.
## Column Level lineage
Column level lineage is more complex as it also includes all the different transforms, and calculation logic along the way. For this reason it is performed at runtime, which means the initial request can take some time if there is a lot of lineage.
After the first request, subsequent lineage requests (for that particular column and direction) are cached in the `DATACTRL.MPE_LINEAGE_COLS` table for faster response times.
If the job is changed and a new diagram is needed, the user can click the 'refresh' checkbox.
## Export Types
Both Table and column level lineage pages allow the following export formats:
* SVG - high res digram format
* PNG - image format
* DOT - the graphviz language format used to generate the diagram
* CSV - a download of all the sources and targets in the diagram

BIN
docs/img/dcu-jobmeta.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1103,7 +1103,7 @@ Data Controller source licences are extracted automatically from our repo using
│ ├─ url: http://trentm.com │ ├─ url: http://trentm.com
│ ├─ path: /Users/allan/git/dcfrontend/node_modules/dashdash │ ├─ path: /Users/allan/git/dcfrontend/node_modules/dashdash
│ └─ licenseFile: node_modules/dashdash/LICENSE.txt │ └─ licenseFile: node_modules/dashdash/LICENSE.txt
├─ datacontroller@3.7.0 ├─ datacontroller@3.8.0
│ ├─ licenses: UNLICENSED │ ├─ licenses: UNLICENSED
│ ├─ private: true │ ├─ private: true
│ ├─ path: ../dcfrontend │ ├─ path: ../dcfrontend

View File

@ -1,13 +1,14 @@
site_name: Data Controller for SAS® Product Documentation site_name: Data Controller for SAS® Product Documentation
pages: pages:
- Home: index.md - Home: index.md
- Using Data Controller: - User Guide:
- Overview: dc-overview.md - Overview: dc-overview.md
- DC User Guide: dc-userguide.md - DC User Guide: dc-userguide.md
- File Uploads: dcu-fileupload.md - File Uploads: dcu-fileupload.md
- Table Viewer: dcu-tableviewer.md - Table Viewer: dcu-tableviewer.md
- Data Lineage: dcu-lineage.md
- Data Catalog: dcu-datacatalog.md - Data Catalog: dcu-datacatalog.md
- Configuring Data Controller: - Configuration:
- Dates / Datetimes: dcc-dates.md - Dates / Datetimes: dcc-dates.md
- Emails: emails.md - Emails: emails.md
- Groups: dcc-groups.md - Groups: dcc-groups.md
@ -16,7 +17,7 @@ pages:
- Selectboxes: dcc-selectbox.md - Selectboxes: dcc-selectbox.md
- Tables: dcc-tables.md - Tables: dcc-tables.md
- Validations: dcc-validations.md - Validations: dcc-validations.md
- Installing Data Controller: - Installation:
- System Requirements: dci-requirements.md - System Requirements: dci-requirements.md
- Backend: dci-backend.md - Backend: dci-backend.md
- Frontend: dci-frontend.md - Frontend: dci-frontend.md