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
We're getting non-deterministic NPEs on a null-enabled query that looks like this. We're using Pinot 1.2.
set enableNullHandling = true;
select m_id,
sum(
case
when outcome = 'success' then 1
else 0
end
) as success,
sum(
case
when outcome = 'failed' then 1
else 0
end
) as failed,
sum(
case
when outcome = 'invalid' then 1
else 0
end
) as invalid,
from example_table
where
some_filter_condition = 'value'
group by 1
order by (success + failed + invalid) desc
Unfortunately, there's no stacktrace in the failure.
We're getting non-deterministic NPEs on a null-enabled query that looks like this. We're using Pinot 1.2.
Unfortunately, there's no stacktrace in the failure.
Switching it to use
COUNT(*) FILTER
instead of sum/case/when works reliably.I've also confirmed there's no null values for the
outcome
field.cc @Jackie-Jiang
The text was updated successfully, but these errors were encountered: