-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[c++] Hide internal dimensions #3266
base: xan/geometry_cast_util
Are you sure you want to change the base?
[c++] Hide internal dimensions #3266
Conversation
std::shared_ptr<Context> ctx, | ||
std::shared_ptr<Array> tiledb_array); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you can change the implementation so these are passed as const references instead of pointers without too much pain.
…ing an array for read unless explicity specify them
b77de49
to
eb47db2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include in this PR's description some copy/paste of:
- Example use of how the user might keystroke out the
index_column_names
anddomain
atcreate
- Either for
SOMAGeometryDataFrame.create
, and/or - For an ingestion step at the experiment level
- Either for
- What
domain
might look like when they read it back
Also:
- Please file a follow-on PR to update https://github.com/single-cell-data/TileDB-SOMA/tree/main/apis/python/notebooks
@@ -229,6 +229,22 @@ class ArrowAdapter { | |||
static std::unique_ptr<ArrowSchema> arrow_schema_from_tiledb_array( | |||
std::shared_ptr<Context> ctx, std::shared_ptr<Array> tiledb_array); | |||
|
|||
/** | |||
* @brief Create a an ArrowSchema from TileDB Dimension |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @brief Create a an ArrowSchema from TileDB Dimension | |
* @brief Create an ArrowSchema from TileDB Dimension |
const Dimension& dimension); | ||
|
||
/** | ||
* @brief Create a an ArrowSchema from TileDB Attribute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @brief Create a an ArrowSchema from TileDB Attribute | |
* @brief Create an ArrowSchema from TileDB Attribute |
Geometry dataframe creates some extra internal dimensions to support spatial indexing. When returning back the index column names and arrow schema these dimensions (being implementation-specific) should be hidden and replaces with
soma_geometry
as index column.Additionally setting a range for spatial axes should only need the axis name and not the internal index names.