ykisana commented on PR #29628: URL: https://github.com/apache/flink/pull/29628#issuecomment-6434788415
@snuyanzin I've updated the PR, and appologies for not staying in PR scope. But IndexOutOfBounds is reachable and will throw. JsonPath's first() and index(n) never check the array's size before reading. So asking first() on empty or, out of bounds call like index(5) on a 2-element array, will throw a IndexOutOfBoundsException. As per PR desc, I did manually review the actual change. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
