Skip to content

Commit 5ccef0e

Browse files
committed
read/write Table
1 parent 6926c96 commit 5ccef0e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- runs-on: ubuntu-22.04
2121
cc: gcc-11
2222
cxx: g++-11
23+
- runs-on: macos-11
24+
# Pending https://github.com/actions/runner-images/issues/6350
2325
- runs-on: macos-11
2426
cc: gcc-11
2527
cxx: g++-11

.github/workflows/cpp-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
cc: gcc-11
1919
cxx: g++-11
2020
# Pending https://github.com/actions/runner-images/issues/6350
21-
# - runs-on: macos-12
2221
- runs-on: macos-11
2322
cc: gcc-11
2423
cxx: g++-11

apis/python/src/tiledbsoma/soma_dataframe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,13 @@ def _get_is_sparse(self) -> bool:
271271

272272
return self._cached_is_sparse
273273

274-
def write(self, values: pa.RecordBatch) -> None:
274+
def write(self, values: pa.Table) -> None:
275275
"""
276-
Write an Arrow.RecordBatch to the persistent object.
276+
Write an Arrow.Table to the persistent object.
277277
278-
:param values: An Arrow.RecordBatch containing all columns, including the index columns. The schema for the values must match the schema for the ``SOMADataFrame``.
278+
:param values: An Arrow.Table containing all columns, including the index columns. The schema for the values must match the schema for the ``SOMADataFrame``.
279279
280-
The ``values`` Arrow RecordBatch must contain a ``soma_rowid`` (uint64) column, indicating which rows are being written.
280+
The ``values`` Arrow Table must contain a ``soma_rowid`` (uint64) column, indicating which rows are being written.
281281
"""
282282
self._shape = None # cache-invalidate
283283

0 commit comments

Comments
 (0)