-
Notifications
You must be signed in to change notification settings - Fork 3
bug in array_add
#18
Comments
that thing fails to build |
what is the expected result of
? |
the expected result would be:
|
strangely, there's already a spec that seems to cover |
is it possible, that a value can be "0"? |
From my perspective, |
that is super hard and expensive as we would have to evaluate the array as a c and postgres datatype array. what is the difference between "0" and "NULL"? |
it is fixed here, if "0" and "NULL" is the same: |
I think @rapimo should have the final say here. |
mmmh yeah not sure for me |
i just tried: in an postgres integer array "0" and "NULL" is the same. if you explicitly set it to "0" it is set to NULL in the low level array. so i see no possibility to make that happen as i can not differ between both. any ideas? |
oh wait, i found something! hold on. |
@rapimo fixed. can you test if it works on mac os as well? |
@roa
see this https://github.com/adjust/pg-numhstore/compare/array_add_fix?expand=1 for an illustration of a bug that results in us having cohorts with 0 valued keys for apps that make no revenue.
Could you please fix that
The text was updated successfully, but these errors were encountered: