GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Load DataFrames and Arrow tables directly; to_polars() on results by tae898 · Pull Request #390 · humemai/arcadedb-embedded-python
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
ConversationCloses #387. A bulk data path is one of the things an embedded database's Python API owns (DuckDB reads DataFrames in place), so this adds one, built on the existing glue (no new Java): documents go through
Checked locally against the 26.10.2 engine: the new tests with the insert_columns, resultset_arrow, columnar_readers and graph_batch tests (179 passed), bandit (low/low), pre-commit, the strict docs build. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…lars() on results (#387) Database.insert_dataframe and insert_arrow load a DataFrame or Arrow table in batches: documents through the existing insert_columns typed-array path, vertices through GraphBatch, no new Java. The Arrow type mapping (ints, floats, bool, string, timestamps with and without zone, date, decimal, list, struct, nulls) is documented and tested, and a declared property converts or the load is refused before a row is written. ResultSet.to_polars() reads through Arrow. polars joins the test extras and the CI test requirements, and a polars extra is added. Docs, java-api-coverage, testing rows and example 27 are in the same change. Co-Authored-By: Claude Opus 5.5 <[email protected]> … comes through the bindings' test extra and the CI test requirements (#387) Co-Authored-By: Claude Opus 5.5 <[email protected]> …ataframe_arrow_ingest.py (#387) Co-Authored-By: Claude Opus 5.5 <[email protected]> …cs, whose leg is disabled; it breaks pyarrow on 3.14) (#387) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. …our transaction, not committed' inside the caller's transaction; docs: undeclared nanosecond timestamps are stored, the readers return milliseconds and get() microseconds (#387) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Uh oh!
There was an error while loading. Please reload this page.
tae898
added a commit
that referenced
this pull request
…r-call figure in the examples README (#386) Co-Authored-By: Claude Opus 5.5 <[email protected]>
tae898
added a commit
that referenced
this pull request
…allbacks (#391) * Python functions callable from SQL and openCypher, and record event callbacks (#386) Database.register_function() / unregister_function() register a Python callable as an engine SQLFunction (bridge class PythonFunctions): SELECT and WHERE in SQL, and openCypher through a namespaced name such as py.slugify (its validator rejects an unknown bare name). An exception in the function is an ArcadeDBError naming the function, never a JVM crash. Database.on() / EventHandle.remove() run Python callbacks on before/after create, update and delete (bridge class PythonRecordEvents), database-wide or per type; a before callback that returns False vetoes the change, and an exception fails the operation. Tests, API and guide docs, coverage, bridge and testing docs, and example 27 in the same change. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Renumber the Python functions example to 28 (27 is the DataFrame ingest example of #387) (#386) Co-Authored-By: Claude Opus 5.5 <[email protected]> * callbacks: the function registry holds its Database weakly, so a Database is released with its last result (#386) The registry, the function proxies and the event proxies hold the Database through a weak reference: the engine holds the proxies, so a strong reference would keep the Database alive until a gc pass. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: no per-call figure for Python functions until it is measured with tools/ab.py; Example 28 prints the cost on the reader's machine (#386) Co-Authored-By: Claude Opus 5.5 <[email protected]> * callbacks: one JPype proxy class per interface (no per-registration leak), readable error for an unconvertible return, Ctrl-C always a KeyboardInterrupt, Document.save()/delete() raise ArcadeDBError; docs: read-only begin(), the ~30 bytes per numeric argument JPype note (#386) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * docs: examples 27 and 28 side by side after the rebase on #390; no per-call figure in the examples README (#386) Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
tae898
added a commit
to ArcadeData/arcadedb-python
that referenced
this pull request
…ow on Apple Silicon) The cap was for Intel Macs, whose leg (darwin/amd64) is disabled. pyarrow 26 requires NumPy 2, so example 27 failed on darwin/arm64 with 'pyarrow requires NumPy 2.0 or newer, found 1.26.4'. Same change as humemai/arcadedb-embedded-python#390. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Load DataFrames and Arrow tables directly; to_polars() on resultsUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |