Skip to content
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++] Add helper methods to convert to ArrowSchema #3424

Merged
merged 5 commits into from
Jan 2, 2025

Conversation

XanthosXanthopoulos
Copy link
Collaborator

@XanthosXanthopoulos XanthosXanthopoulos commented Dec 12, 2024

Add helpers methods to convert from TileDB dimension and attribute to arrow schema and set current domain.

Issues: sc-59427

Notes for Reviewer:
These methods will be used and tested in the following PR chained of this.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.32%. Comparing base (11ee34c) to head (44b2b18).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3424      +/-   ##
==========================================
+ Coverage   86.27%   86.32%   +0.04%     
==========================================
  Files          55       55              
  Lines        6340     6340              
==========================================
+ Hits         5470     5473       +3     
+ Misses        870      867       -3     
Flag Coverage Δ
python 86.32% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 86.32% <ø> (+0.04%) ⬆️
libtiledbsoma ∅ <ø> (∅)

Copy link
Member

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I've requested before, please always include either a GitHub issue link or a Shortcut story link in every PR's description field

libtiledbsoma/src/utils/arrow_adapter.cc Outdated Show resolved Hide resolved
@johnkerl johnkerl changed the title Add helper methods to convert to ArrowSchema [c++] Add helper methods to convert to ArrowSchema Dec 12, 2024
libtiledbsoma/src/utils/arrow_adapter.cc Outdated Show resolved Hide resolved
`SOMAColumn` provides an abstraction over TileDB attributes and dimensions and exposes a common interface for all columns regardless of type. Subclasses of `SOMAColumn` can implement complex indexing mechanism through additional dimensions and encapsulate all that logic in one place and make it modular.
@jp-dark jp-dark dismissed johnkerl’s stale review January 2, 2025 19:09

Change request was addressed.

@jp-dark jp-dark merged commit 9e7a461 into main Jan 2, 2025
36 checks passed
@jp-dark jp-dark deleted the xan/sc-59427/arrow-helpers branch January 2, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[c++] Add an abstraction layer between SOMA columns and TileDB dimensions and attributes
3 participants