shauryachats opened a new pull request, #16196:
URL: https://github.com/apache/pinot/pull/16196

   ## Summary
   
   Currently, the timeseries engine returns 
   ```
   
"{"status":"error","data":null,"errorType":"ArrayIndexOutOfBoundsException","error":"Index
 0 out of bounds for length 0"}"
   ```
   when the `start` and `end` times are equal, which is cryptic and does not 
readily highlight the root cause.
   This PR fixes this to return an empty success timeseries response in this 
scenario since there is no data included when `start` and `end` are equal.
   
   ## Testing
   Added a `testStartTimeEqualsEndTime` integration test to cover this scenario.


-- 
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-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to