Re: ArrayField: Bug on exact_nested_null

2022-10-13 Thread Ion Alberdi
Hello to all! FYI a PR is available at https://github.com/django/django/pull/16175 So far the PR unwraps ARRAY and lets psycopg2 handle these use cases. Le mardi 11 octobre 2022 à 16:55:25 UTC+2, Ion Alberdi a écrit : > Hi Jörg! > > >At this point I think ArrayField should alwa

Re: ArrayField: Bug on exact_nested_null

2022-10-11 Thread Ion Alberdi
m this topic, visit > https://groups.google.com/d/topic/django-developers/4OvbN0EUUsM/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.go

Re: ArrayField: Bug on exact_nested_null

2022-10-10 Thread Ion Alberdi
empty sub array declared with > ARRAY among NULLs, while if all sub entries are NULL the top level array > will still manifest with dimension info, but now with entries set to > NULL. Thats a quite weird behavior imho. > > > Am 09.10.22 um 12:49 schrieb Ion Alberdi: > > Hello to

Re: ArrayField: Bug on exact_nested_null

2022-10-10 Thread Ion Alberdi
e > probably in a better position to determine how to treat this bug. > > On Mon, Oct 10, 2022 at 8:47 AM Ion Alberdi > wrote: > >> Great, thanks Adam! FYI the test is already on django's Test suite >> (https://github.com/pricemoov/django/pull/2/files) >> Would you l

Re: ArrayField: Bug on exact_nested_null

2022-10-10 Thread Ion Alberdi
n Sun, Oct 9, 2022 at 11:49 AM Ion Alberdi > wrote: > >> Hello to all, >> >> a unit test added at >> https://github.com/pricemoov/django/pull/2 >> shows that the exact filter on a full "NULL nested array" currently fails. >> (the commit messa

ArrayField: Bug on exact_nested_null

2022-10-09 Thread Ion Alberdi
Hello to all, a unit test added at https://github.com/pricemoov/django/pull/2 shows that the exact filter on a full "NULL nested array" currently fails. (the commit messages shows how to reproduce the error). More precisely, the error is "django.db.utils.DataError: invalid input syntax for type