Skip to content

Commit

Permalink
Finding spots needed for append-mode unit-test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Nov 21, 2024
1 parent 6cbcdd4 commit e590d82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/python/src/tiledbsoma/io/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions libtiledbsoma/src/soma/managed_query.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e590d82

Please sign in to comment.