From e590d8253252ba5b9d419e58608e8d91d07882f1 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Wed, 20 Nov 2024 19:19:03 -0500 Subject: [PATCH] Finding spots needed for append-mode unit-test cases --- apis/python/src/tiledbsoma/io/ingest.py | 2 ++ libtiledbsoma/src/soma/managed_query.cc | 1 + 2 files changed, 3 insertions(+) diff --git a/apis/python/src/tiledbsoma/io/ingest.py b/apis/python/src/tiledbsoma/io/ingest.py index 503ce6ff80..843c6898f5 100644 --- a/apis/python/src/tiledbsoma/io/ingest.py +++ b/apis/python/src/tiledbsoma/io/ingest.py @@ -1202,6 +1202,8 @@ def _write_dataframe_impl( s = _util.get_start_stamp() logging.log_io(None, f"START WRITING {df_uri}") + + # XXX arrow_table = df_to_arrow(df) # Don't many-layer the almost-always-repeated var dataframe. diff --git a/libtiledbsoma/src/soma/managed_query.cc b/libtiledbsoma/src/soma/managed_query.cc index e851685dae..31cbf73d12 100644 --- a/libtiledbsoma/src/soma/managed_query.cc +++ b/libtiledbsoma/src/soma/managed_query.cc @@ -519,6 +519,7 @@ bool ManagedQuery::_cast_column( auto user_type = ArrowAdapter::to_tiledb_format(schema->format); bool has_attr = schema_->has_attribute(schema->name); + // XXXXXX CHANGE ME KTHXBYE // If the attribute is enumerated, but the provided column is not, error out if (has_attr && attr_has_enum(schema->name)) { if (schema->dictionary == nullptr || array->dictionary == nullptr) {