Teradata add-on package:
Teradata In-database Graph Analytics
Vantage Graph Engine is a distributed designed specifically to handle large-scale graph data—data made of nodes and relationships. Vantage Graph Engine combines:
- A flexible graph data model
- Utilize Teradata MPP architecture Together, these components allow fast graph traversal, querying, analytics, and real‑time processing.
Why use Vantage Graph Engine: Graph Engines excel where data is heavily interconnected and must be queried quickly. Examples include:
- Finding shortest paths
- Exploring neighborhood relationships
- Running graph neural network workloads
- Performing multi-hop queries
- Real-time analytics
Prerequisites: • Database: o Teradata database V17.20 or above. o A database [GraphDB] for Stored Procedure Installation. o Database Privileges for installer. 1. GRANT CREATE Procedure on [GraphDB] to [Installer]; 2. GRANT EXECUTE Procedure on [GraphDB] to [GraphDB]; 3. GRANT ALL on [TargetDB] to [GraphDB] with grant option; o Database Privileges for user. 1. GRANT EXECUTE Procedure on [GraphDB] to [User]; • Client: o Python 3.8 or above o The following packages are required: 1. teradataml>=20.0.0.9 2. teradatasql>=20.0.0.40 3. pandas>=2.2.0 4. pathlib>=1.0.1 5. plotly>=6.3.1
Installation: • Download and install TeradataGE python package from PyPI: o Command: pip install teradatage • Install Graph Analysis SPs from python with TeradataML and TeradataGE packages:
Teradata python package
from teradataml import * import getpass from TeradataGE import td_graph_function, configure, install_db_objects
Database locator: where graph functions are being installed
configure.graph_install_location = "GraphLib"
Connect to Teradata database
hostname = "xx.xx.xx.xx" user = input(prompt=f"Username for SPs instalation:") password = getpass.getpass(prompt=f"Database password for {user}:") logmech = "TD2" eng = create_context(host = hostname, username = user, password = password, logmech = logmech) print(eng)
Install stored procedures
install_db_objects.install_graph_functions()
Disconnect from database
remove_context()
Release files for TeradataGE 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| teradatage-0.1.4.tar.gz | 22.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teradatage-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.3 kB
Release files / teradatage-0.1.4.tar.gz
| Download URL | teradatage-0.1.4.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff09cb3e64d38766115d5b37b190d77808f11cc80b62391423ac535da115d281
|
|
BLAKE2b-256 checksum How to use checksums |
09f2a712d1022305d125a99c9c64c99117b435196531c3788b86ff0350f3ac3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / teradatage-0.1.4-py3-none-any.whl
| Download URL | teradatage-0.1.4-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7cb9b8a59fab488cabf8c3b90f67596a3992509795df4f581c07321117f753b
|
|
BLAKE2b-256 checksum How to use checksums |
a2f2ab438ab797fe6cf418cab143c0d8490e89ffe7022af74940aff2cfa42dc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|