Skip to content

Commit

Permalink
Move SparseArrayImpl to pure Python (#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis authored Sep 23, 2024
1 parent e3d2d69 commit 6bbabf1
Show file tree
Hide file tree
Showing 5 changed files with 446 additions and 416 deletions.
2 changes: 1 addition & 1 deletion tiledb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@
Array,
Ctx,
DenseArrayImpl,
SparseArrayImpl,
)
from .multirange_indexing import EmptyRange
from .object import Object
from .parquet_ import from_parquet
from .query import Query
from .query_condition import QueryCondition
from .schema_evolution import ArraySchemaEvolution
from .sparse_array import SparseArrayImpl
from .stats import (
stats_disable,
stats_dump,
Expand Down
2 changes: 1 addition & 1 deletion tiledb/domain_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __getitem__(self, idx):
"order must be 'C' (TILEDB_ROW_MAJOR), 'F' (TILEDB_COL_MAJOR), or 'G' (TILEDB_GLOBAL_ORDER)"
)

if isinstance(self.array, tiledb.libtiledb.SparseArrayImpl):
if isinstance(self.array, tiledb.sparse_array.SparseArrayImpl):
return self.array._read_sparse_subarray(
subarray, attr_names, attr_cond, layout
)
Expand Down
Loading

0 comments on commit 6bbabf1

Please sign in to comment.