Skip to content

Commit ae2bde1

Browse files
committed
read/write Table
1 parent 8193c21 commit ae2bde1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ubuntu-22.04, macos-12, windows-2019]
17+
os: [ubuntu-22.04, macos-11, windows-2019]
1818
python-version: ['3.8']
1919
include:
2020
- runs-on: ubuntu-22.04
2121
cc: gcc-11
2222
cxx: g++-11
23-
- runs-on: macos-12
23+
# Pending https://github.com/actions/runner-images/issues/6350
24+
- runs-on: macos-11
2425
cc: gcc-11
2526
cxx: g++-11
2627

.github/workflows/cpp-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [ubuntu-22.04, macos-12]
14+
os: [ubuntu-22.04, macos-11]
1515
python-version: ['3.8']
1616
include:
1717
- runs-on: ubuntu-22.04
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)