Nizar Hejazi
09/28/2022, 8:26 PMSELECT id FROM role_with_company WHERE (isPartialAdmin IS NULL)=true AND company='{company_id}'
I get -for some values of company_id
- the following java.lang.IndexOutOfBoundsException
exception back:
PrestoExternalError(type=EXTERNAL, name=PINOT_EXCEPTION, message="Query SELECT "id" FROM role_with_company WHERE (("company" = {company_id}) AND (("isPartialAdmin" IS NULL) = true)) LIMIT 100000 encountered exception {"message":"QueryExecutionError:\njava.lang.IndexOutOfBoundsException\n\tat java.base/java.nio.Buffer.checkIndex(Buffer.java:687)\n\tat java.base/java.nio.DirectCharBufferU.get(DirectCharBufferU.java:269)\n\tat org.roaringbitmap.buffer.MappeableArrayContainerCharIterator.nextAsInt(MappeableArrayContainer.java:1876)\n\tat org.roaringbitmap.buffer.ImmutableRoaringBitmap$ImmutableRoaringIntIterator.next(ImmutableRoaringBitmap.java:113)","errorCode":200} with pinot query "SELECT "id" FROM role_with_company WHERE (("company" = {company_id}) AND (("isPartialAdmin" IS NULL) = true)) LIMIT 100000"", query_id=20220928_202056_30456_i2zba)
isPartialAdmin is a boolean dimension dictionary-encoded field. The error is happening very frequently.Nizar Hejazi
09/28/2022, 8:29 PMMayank
RachelP
09/28/2022, 8:30 PMNizar Hejazi
09/28/2022, 8:32 PMMayank
isPartialAdmin IS NULL
-> You probably have null vector for this one right?Nizar Hejazi
09/28/2022, 8:40 PMMayank
Nizar Hejazi
09/28/2022, 8:51 PMJackie
09/28/2022, 9:06 PMJackie
09/28/2022, 9:06 PMSELECT id FROM role_with_company WHERE isPartialAdmin IS NULL AND company='{company_id}'
?Nizar Hejazi
09/28/2022, 9:21 PMNizar Hejazi
09/28/2022, 9:22 PMJackie
09/28/2022, 9:35 PMIsNullTransformFunction
hereJackie
09/28/2022, 9:37 PMJackie
09/28/2022, 9:37 PMNizar Hejazi
09/28/2022, 9:38 PM