xlfe / dwhwrapper

cli wrapper for Teradata data warehouse utilities (BTEQ,etc..)
24 stars 9 forks source link

Teradata 15.00: Errors in mapping of "struct SLOB_data_struct *using_SLOB_data_struct;" to Python struct for dbcarea.py #1

Open fivejjs opened 9 years ago

fivejjs commented 9 years ago

Possible reasons:

  1. type define was done with two lines: " char fill_20[1]; struct SLOB_data_struct *using_SLOB_data_struct; char fill_21[376];"
  2. the mapping are not working for 'struct' type of C language.
xlfe commented 9 years ago

Looks like the bteq api has changed. If you feel so inclined you could modifying the dwhwrapper code to ignore that structure or using teradata utils version 13

mikekilpatrick commented 9 years ago

I ran into some similar issues with some data types in TD 14.0 that were not supported. I wound up downloading the teradata documents regarding supported types and added them as new types to the dwhwrapper code. I should do that an update for the current release of TD. Are we able to merge changes into the source tree here and make an update available to the community?

xlfe commented 9 years ago

@mikekilpatrick yes! That would be great - thanks for sharing your updates. Please submit a pull request with your changes.