on 2021 Aug 16 11:47 PM
I'm using the hdbcli to connect to the HANA DB and was able to get the result set, but I can't seem to use the result set directly in the enumeration in Python, rather I have to run the result set via the loop and then use each row.
This means I have to use an additional loop for post-HANA read and write operations.
If I do use it I'm getting the error "cannot pickle 'pyhdbcli.ResultRow' object", let me know if you have any inputs.
Request clarification before answering.
Could you try
resultset =pool.apply_async( function_name, row.column_values for row in rows)?
`row.column_values` should give you a tuple of values from the row, instead of an object of `pyhdbcli.ResultRow` data type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Witalij, I was able to move forward.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.