You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c167ed
Browse filesBrowse the repository at this point in the historyBrowse files
Non-optional Preslice declarations no longer fail when the column is missing
A declaration that cannot be used is skipped with a warning:
- the table is not an input and does not have the column
- the table is not an input (non-optional only)
- the table does not have the column (non-optional only)
if (!isSlicedTableInput<target_t>(inputs, newOrigin)) {
667
+
LOGP(warn, "Preslice declared on {} is skipped: {} is not an input of any process function and does not have column {}, the declaration is likely incorrect",
LOGP(warn, "Preslice declared on {} is skipped: it does not have column {}, use PresliceOptional if the column is not always expected",
671
+
o2::soa::getLabelFromType<target_t>(), key);
672
+
}
673
+
returntrue;
674
+
}
675
+
if (std::ranges::none_of(inputs, [&matcher](InputSpec const& input) { returnDataSpecUtils::match(input, matcher); })) {
676
+
ifconstexpr (!T::optional) {
677
+
LOGP(warn, "Preslice declared on {}/{} ({}) is skipped: {} is not an input of any process function, use PresliceOptional if the declaration is not effective in every specialization of a templated task",
0 commit comments