You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2023/09/20 21:17:04 UTC
[GitHub] [arrow-adbc] WillAyd opened a new pull request, #1089: fix(python): Fix option for adbc.ingest.temporary
WillAyd opened a new pull request, #1089:
URL: https://github.com/apache/arrow-adbc/pull/1089
Fixes the following issue on ingest
```python
Cell In[2], line 10
8 data = pa.array([1, 2, 4])
9 tbl = pa.Table.from_arrays([data], names=["CAPITALIZED"])
---> 10 cur.adbc_ingest("test_table", tbl, mode="create")
11 conn.commit()
File ~/clones/arrow-adbc/python/adbc_driver_manager/adbc_driver_manager/dbapi.py:878, in Cursor.adbc_ingest(self, table_name, data, mode, catalog_name, db_schema_name, temporary)
874 options = {
875 adbc_driver_manager.StatementOptions.INGEST_TEMPORARY.value: "false",
876 }
877 try:
--> 878 self._stmt.set_options(**options)
879 except NotSupportedError:
880 pass
File adbc_driver_manager/_lib.pyx:1374, in adbc_driver_manager._lib.AdbcStatement.set_options()
File adbc_driver_manager/_lib.pyx:227, in adbc_driver_manager._lib.check_error()
ProgrammingError: INVALID_ARGUMENT: [libpq] Invalid value 'false' for option 'adbc.ingest.temporary'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-adbc] lidavidm commented on pull request #1089: fix(python): Fix option for adbc.ingest.temporary
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #1089:
URL: https://github.com/apache/arrow-adbc/pull/1089#issuecomment-1728450296
Hmm, what wasn't working before? The option values are always strings, so I'm not sure how this works
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-adbc] WillAyd closed pull request #1089: fix(python): Fix option for adbc.ingest.temporary
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd closed pull request #1089: fix(python): Fix option for adbc.ingest.temporary
URL: https://github.com/apache/arrow-adbc/pull/1089
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-adbc] WillAyd commented on pull request #1089: fix(python): Fix option for adbc.ingest.temporary
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #1089:
URL: https://github.com/apache/arrow-adbc/pull/1089#issuecomment-1728492962
My mistake on this - not needed!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org