You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "ayush-san (via GitHub)" <gi...@apache.org> on 2023/08/04 09:12:45 UTC
[GitHub] [pinot] ayush-san opened a new issue, #11267: Random incorrect result by the query when using CASE statement
ayush-san opened a new issue, #11267:
URL: https://github.com/apache/pinot/issues/11267
I sometimes get the wrong result from Pinot. Please find the query on which I was able to reproduce the issue
```sql
SELECT CASE
WHEN ist_day_of_quarter <= 100 THEN 92
ELSE 0
END AS no_of_days, count(*)
FROM stats_OFFLINE
WHERE "timestamp" BETWEEN 1672511400000 AND 1690741800000
AND id IN (.....)
and no_of_days = 92
group by 1
```
I am able to reproduce it on other pinot tables as well
I am using **Pinot 0.11** and the table has the following index config
- `ist_day_of_quarter` -> sortedColumn, bloomFilterColumns, rangeIndexColumns
- `id` -> invertedIndexColumns, sortedColumn, bloomFilterColumns
- `timestamp` -> rangeIndexColumns
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Random incorrect result by the query when using CASE statement [pinot]
Posted by "github-actions[bot] (via GitHub) via commits" <co...@pinot.apache.org>.
github-actions[bot] commented on issue #11267:
URL: https://github.com/apache/pinot/issues/11267#issuecomment-6933523133
This issue has been closed because it has been inactive for 180 days. If you believe this issue is still relevant, please feel free to reopen it or create a new issue. Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [pinot] Jackie-Jiang commented on issue #11267: Random incorrect result by the query when using CASE statement
Posted by "Jackie-Jiang (via GitHub)" <gi...@apache.org>.
Jackie-Jiang commented on issue #11267:
URL: https://github.com/apache/pinot/issues/11267#issuecomment-1668601629
Can you share more details of the expected result and unexpected result?
Also, if possible can you try it with the latest release or current master to verify if the issue still exists?
Side question: Are you comparing the result of this query with `SELECT ... WHERE ... AND ist_day_of_quarter <= 100`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Random incorrect result by the query when using CASE statement [pinot]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11267:
URL: https://github.com/apache/pinot/issues/11267#issuecomment-6227271606
This issue has been automatically marked as stale because it has not had any activity in the last 150 days. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Random incorrect result by the query when using CASE statement [pinot]
Posted by "github-actions[bot] (via GitHub) via commits" <co...@pinot.apache.org>.
github-actions[bot] closed issue #11267: Random incorrect result by the query when using CASE statement
URL: https://github.com/apache/pinot/issues/11267
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org