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 — Native: columnar bulk insert by address for strings, nulls and vectors (no JSON text) by tae898 · Pull Request #72 · ArcadeData/arcadedb-python Conversation
Collaborator
Lands after #71. This PR is stacked on What it isA port of humemai/arcadedb-embedded-python#514 (native: columnar bulk insert by address for strings, nulls and vectors, no JSON text). The native image gets one new entry point,
Speed (measured in the humemai repo, not re-measured here)The laptop A/B of #514 against the old native code passed its speed rule: DataFrame/Arrow insert took 0.398 of the old time (95% interval 0.395 to 0.399) and insert of dict rows took 0.437 (0.434 to 0.440). The run notes are in the private notes of the humemai repo ( Differences from #514
Hunk-by-hunk port checkI diffed every hunk of #514 (the three commits, 11 files) against this branch. The earlier port 99a9dc2 dropped Java hunks silently, so the Java files were compared byte for byte.
TestsNative image rebuilt once from this branch (GraalVM CE 25.4.4.1.1, engine 26.10.2,
No failures, errors, timeouts or other skips. The NOTYET and NA-JVM counts of the files that existed before are the same as in the earlier parity run. On the JVM backend (run from the source tree), Lint: Bandit 1.9.4 ( 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…s (no JSON text) Port of humemai/arcadedb-embedded-python#514 onto the P-04 port fix. - arcadedb_n_insert_colp: the image reads whole columns in place (int64, float64, bool, int32, float32, UTF-8 strings as Arrow offsets plus bytes, float32 vector matrices, an Arrow validity bitmap per column), no JSON text and no per-value crossing. - _native/columnar.py lays the columns out (numpy, lists of one value type with None as null, lists of float32 arrays, pyarrow arrays); _native/bulk.py sends them; insert_many chunks and the DataFrame/Arrow document load use the entry when every column maps to a supported kind, any other batch keeps the JSON path. - Only a float32 matrix (or a list of float32 arrays) is a column of vectors, as on the JPype path (tests/test_float_vector_bulk.py); #514 took any float matrix. The pack test says so. - New tests: test_native_columnar_pack.py (no native library needed, runs on both backends) and test_native_columnar_insert.py (compares the stored records of the JSON and the columnar entry points, native backend only, collect_ignore otherwise). - The two new test files use plain imports of numpy, pandas and pyarrow, not importorskip (the repo's no-skips policy). Needs a rebuilt native library (BulkOps.java, ArcadeNative.java). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> …umnar-port Co-Authored-By: Claude Opus 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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. Uh 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. |