Latest Results
fix: remove hallucinated lance-namespace code (#6939)
## Changes Made
This PR removes all lance-namespace related code, and a functioning
replacement will be added to the daft-lance package instead. This code
never worked, is almost entirely hallucinated, and was not properly
reviewed. I had confused myself while trying to upgrade
pylance/lance-namespace versions, and I could not get mypy happy ..
turns out mypy was right.
I then did an audit/review of the code and found:
- All the lance-namespace code was hallucinated.
- No version of the lance-namespace module matched this code (see audit
below)
- Tests were tautological, doing 100% mocking of fictional methods ..
#nice
- The lance-namespace package was never added nor hooked up in any way
- The documented example was hallucinated and non-functioning
## Related Issues
- #5980
## Audit
Here is my report from the Claude-enabled audit. I had it check against
all of the following versions:
- All 41 released versions of lance-namespace on PyPI.
- All 42 released versions of lance-namespace-urllib3-client.
- All 30 GitHub tags in lance-format/lance-namespace.
- Early versions v0.0.5 / v0.0.10 / v0.0.18 fetched directly via pip
download and grep-inspected
**Hallucinations**
```
client.insert_records(namespace=, table_name=, data=, mode=) → .transaction_id
Method never existed. Zero grep matches in any version. Real method is
insert_into_table(InsertIntoTableRequest, request_data: bytes).
client.count_rows(ns, table, request)
Method name never existed. Real name is count_table_rows.
client.register_table(..., table_uri=...)
Wrong field. Real field is location, not table_uri.
client.create_table(namespace=, table_name=, schema=, ...)
Wrong signature. Real API takes CreateTableRequest + Arrow IPC bytes;
no schema= kwarg.
client.drop_table(ns, table) positional
Wrong signature. Takes DropTableRequest.
client.table_exists(ns, table) positional
Wrong signature. Takes TableExistsRequest.
client.query_table(ns, table, request) positional
Wrong signature. Takes QueryTableRequest.
client.describe_table(ns, table) positional
Wrong signature. Takes DescribeTableRequest.
lance_namespace.connect("rest", {uri, api_key, headers}) → "client"
Wrong shape. Real signature is connect(impl, properties: Dict[str, str])
-> LanceNamespace; returns a namespace, not a client. impl="rest" requires
the separate lance package.
result.transaction_id on insert response
Real. Only accurate detail in the file.
```
Of 10 callables, I found 2 fictional method names, 7 real names with
wrong calling conventions, and only 1 correct. None of the audited
versions matched this code. Latest Branches
0%
0%
rchowell/remove-lance-namespace 0%
helmanofer:codex/register-datasource-api-gmail © 2026 CodSpeed Technology