Closed soridev closed 3 years ago
Hi,
There is an issue in the HTTPTRANSPORT documentation. For the usage of "import_fromiterable()" it shows the following example:
def my_generator(): for i in range(5): yield (i, 'Bob', True, '2017-01-01') C.import_from_iterable(my_generator, "users")
Executing this will throw an exception like: "object is not iterable". Reason for this is the missing round brackets for the generator.
The example should be:
def my_generator(): for i in range(5): yield (i, 'Bob', True, '2017-01-01') C.import_from_iterable(my_generator(), "users")
Thanks and best regards.
I'll fix it with the next update, thank you!
Done in https://github.com/exasol/pyexasol/commit/abae5213915fbd95b0bdf9e4c819d979fa45536a
Hi,
There is an issue in the HTTPTRANSPORT documentation. For the usage of "import_fromiterable()" it shows the following example:
Executing this will throw an exception like: "object is not iterable". Reason for this is the missing round brackets for the generator.
The example should be:
Thanks and best regards.