Reranko05 opened a new issue, #51809:
URL: https://github.com/apache/arrow/issues/51809

   > [!CAUTION]
   >
   > Only to be done after Arrow bumps to simdjson >= v5.0.2
   
   `BlockParser::Parse()` currently checks for empty/whitespace-only input 
before calling `simdjson::ondemand::document_stream::truncated_bytes()`.
   
   This is needed because the simdjson version currently used by Arrow can 
return an arbitrary value from `truncated_bytes()` for an empty stream when the 
parser has been reused.
   
   This has been fixed upstream in simdjson:
   https://github.com/simdjson/simdjson/pull/2889
   
   Once Arrow bumps to simdjson >= v5.0.2, the `ConsumeJsonWhitespace()` 
workaround can be removed.
   
   ### Context
   
   https://github.com/apache/arrow/pull/51038


-- 
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]

Reply via email to