Skip to content

DPL Analysis: Improve tests for persistent and index columns#9295

Merged
ktf merged 2 commits into
AliceO2Group:devfrom
saganatt:type-tests
Jul 8, 2022
Merged

DPL Analysis: Improve tests for persistent and index columns#9295
ktf merged 2 commits into
AliceO2Group:devfrom
saganatt:type-tests

Conversation

@saganatt

Copy link
Copy Markdown
Collaborator

Hi @ktf @aalkin

this is the first split from #9291 . I need is_persistent_t to work also with types that do not contain the persistent field.
I also improved the functions for getting index columns data to properly recognize different index kinds.

@saganatt

saganatt commented Jul 5, 2022

Copy link
Copy Markdown
Collaborator Author

Hi, if you have time could you please look at this? Thanks a lot!

template <typename T>
using is_dynamic_t = framework::is_specialization<typename T::base, DynamicColumn>;

namespace persistent_type_helper

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not sure I like the idea of such a specific namespace. Do you really need it?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Then instead would you prefer the included functions to have a more specific name instead of test?

@ktf ktf merged commit 6401ccc into AliceO2Group:dev Jul 8, 2022
@saganatt saganatt deleted the type-tests branch July 9, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants