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

Expose or document more options for MLoad and Export #71

Open
plorenzatto opened this issue Apr 4, 2019 · 0 comments
Open

Expose or document more options for MLoad and Export #71

plorenzatto opened this issue Apr 4, 2019 · 0 comments

Comments

@plorenzatto
Copy link

Would it be possible to expose or document the add_attribute method of MLoad and Export objects?

For context I'm working with a Teradata instance that severely limits the number of active sessions. After some research I found this was possible by using add_attribute method of the mload object belonging to the BulkLoad operation and then looking for the appropiate constants:

with giraffez.BulkLoad(table=table_name, **giraffez_opts) as load:
   load.mload.add_attribute(giraffez.constants.TD_MIN_SESSIONS, 1)
   load.mload.add_attribute(giraffez.constants.TD_MAX_SESSIONS, 2)
   [...]
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

1 participant