Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
XanthosXanthopoulos committed Dec 12, 2024
1 parent 9262a04 commit b9e6046
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libtiledbsoma/src/utils/arrow_adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@ std::unique_ptr<ArrowSchema> ArrowAdapter::arrow_schema_from_tiledb_attribute(
arrow_schema->name = strdup(attribute.name().c_str());
arrow_schema->metadata = nullptr;
arrow_schema->flags = 0;
if (attribute.nullable() &&
attribute.name() != SOMA_GEOMETRY_COLUMN_NAME) {
if (attribute.nullable() && attribute.name() != SOMA_GEOMETRY_COLUMN_NAME) {
arrow_schema->flags |= ARROW_FLAG_NULLABLE;
} else {
arrow_schema->flags &= ~ARROW_FLAG_NULLABLE;
Expand Down

0 comments on commit b9e6046

Please sign in to comment.