1

I want to connect to Teradata Aster, I have been searched through multiple sites and read documentation but with not luck. I am able to connect to Teradata just fine, but not to Aster Teradata.

code for teradata that works, but I don't know how to tweak this to work for aster:

import teradata
udaExec = teradata.UdaExec(appName="", version="1.0", logConsole=False)
session = udaExec.connect(method="odbc", system="TDD...", username="...", password="...", authentication="LDAP");

1 Answer 1

2

To connect to Aster use native Teradata Aster ODBC driver. Follow this link and choose "Aster Client Tools" for your platform to find and download the driver.

Then use a Python package for ODBC database connectivity such as pyodbc. I used similar method in R but never with Python, one example I found for Python and Teradata is here.

Sign up to request clarification or add additional context in comments.

5 Comments

Thank you, I tried your recommendation but it didn't work. Maybe I'll try connecting using R instead.
I used R RODBC package and had no problems on Windows, but never tried that on Mac. Eventually, it'll be all about ODBC support on a client side. You can related example here: rpubs.com/grigory/introtoaster
Update: thank you again for all your help, because of your advice I was finally able to connect to Python as well. I first connected to R and it took me a few more days to figure out why Aster can connect to R but not Python.
@MariaNazari how did you end up connecting to python ?
@toceto download pyodbc and the aster driver like topchef mentioned and use the following syntax to connect: conn = pyodbc.connect( 'DRIVER={Aster ODBC Driver};SERVER=xxx.xxx.xx.xx; PORT=xxx;DATABASE=xx;UID=xxxxx;PWD=xxxxx)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.