Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Datatype NUMBER(22,4) is not regonized as valid data type while exporting data from teradata #65

Open
atulkakade opened this issue Oct 8, 2018 · 5 comments

Comments

@atulkakade
Copy link

Currently while exporting data when we have a data type of Number the Export fail with an error : Cannot determine data type. Are there any plan to add it to the export as Decimal type

image

here is sample test table

CREATE MULTISET TABLE dwp_sandbox.DW_PO_TUX_HDR_test2 ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO
(
Q_PO_HDR_ID VARCHAR(50) CHARACTER SET LATIN NOT CASESPECIFIC,
PO_TOTAL_AMT NUMBER(22,4)
)
PRIMARY INDEX ( Q_PO_HDR_ID )

@ChrisRx
Copy link
Contributor

ChrisRx commented Nov 6, 2018

Is this using giraffez.BulkExport or giraffez export ...? If so, then I believe that the issue may be that the underlying Teradata driver/protocol, FastExport, probably doesn't support the Number data type.

@atulkakade
Copy link
Author

Both . We have the same machine running tpt and fast exports using Teradata cli and we haven’t seen this issues with those utilities . Drivercersoon 15.10

@ChrisRx
Copy link
Contributor

ChrisRx commented Nov 14, 2018

Can you give the full traceback for the error? Everything seems to point to it not being supported by the Teradata drivers (it is possible the Teradata drivers translate Number to BIGNUM instead?)

@atulkakade
Copy link
Author

atulkakade commented Jan 17, 2019 via email

@ChrisRx
Copy link
Contributor

ChrisRx commented Jan 17, 2019

If you would provide the python exception traceback that would be a helpful start to looking at this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants