Skip to content

DataHub connection page updates #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:experimental:
:page-author: Paul Ibberson
:page-email: [email protected]
:page-revdate: Deccember 19th, 2023
:page-revdate: August 30th 2024
:page-image-directory: configure-a-teradata-connection-in-datahub
:description: Configure a Teradata Vantage connection in DataHub.
:keywords: data warehouses, compute storage separation, teradata, vantage, cloud data platform, object storage, business intelligence, enterprise analytics, datahub, data catalog, data lineage
Expand Down Expand Up @@ -35,15 +35,19 @@ pip install 'acryl-datahub[teradata]'
----
CREATE USER datahub FROM <database> AS PASSWORD = <password> PERM = 20000000;

GRANT SELECT ON dbc.columns TO datahub;
GRANT SELECT ON dbc.databases TO datahub;
GRANT SELECT ON dbc.tables TO datahub;
GRANT SELECT ON DBC.All_RI_ChildrenV TO datahub;
GRANT SELECT ON DBC.DatabasesV TO datahub;
GRANT SELECT ON DBC.TablesV TO datahub;
GRANT SELECT ON DBC.ColumnsV TO datahub;
GRANT SELECT ON DBC.IndicesV TO datahub;
GRANT SELECT ON dbc.TableTextV TO datahub;
GRANT SELECT ON dbc.TablesV TO datahub;
GRANT SELECT ON dbc.dbqlogtbl TO datahub; -- if lineage or usage extraction is enabled
GRANT SELECT ON DBC.All_RI_ChildrenV TO datahub;


-- if lineage or usage extraction is enabled
GRANT SELECT ON dbc.dbqlogtbl TO datahub;
GRANT SELECT ON dbc.QryLogV TO datahub;
GRANT SELECT ON dbc.QryLogSqlV TO datahub;

----
* If you want to run profiling, you need to grant select permission on all the tables you want to profile.

Expand All @@ -53,7 +57,7 @@ GRANT SELECT ON dbc.dbqlogtbl TO datahub; -- if lineage or usage extraction is e
----
-- set up query logging on all

REPLACE QUERY LOGGING LIMIT SQLTEXT=2000 ON ALL;
REPLACE QUERY LOGGING WITH SQL LIMIT SQLTEXT=2000 ON ALL;
----

== Add a Teradata connection to DataHub
Expand Down Expand Up @@ -124,7 +128,7 @@ image::{page-image-directory}/entities-list.png[Entities, width=75%]
image::{page-image-directory}/schema.png[Schema display, width=75%]
.. Lineage providing a visual representation of how data is linked between tables and views
+
image::{page-image-directory}/lineage-weather.png[Lineage picture, width=75%]
image::{page-image-directory}/lineage-example.png[Lineage picture, width=75%]

== Summary

Expand Down
Loading