Teradata / PyTd

A Python Module to make it easy to script powerful interactions with Teradata Database in a DevOps friendly way.
MIT License
108 stars 43 forks source link

Expose columns in udaexec cursor #36

Closed nchammas closed 8 years ago

nchammas commented 8 years ago

You should be able to access the columns of the result set from the cursor, and not just from the individual output rows.

escheie commented 8 years ago

The standard way to access column metadata is via the cursor.description attribute which is documented part of the Python Database API Specification.

nchammas commented 8 years ago

Ah, I see. I didn't know that's what the description attribute was for.