PHILO-HE commented on issue #9732:
URL: 
https://github.com/apache/incubator-gluten/issues/9732#issuecomment-2903436868

   > Perhaps, the reason is that SIMDjson parses JSON on demand, which means 
JSON could not be fully parsed and validated.
   
   @NEUpanning, I guess it's the reason. There are two kinds of parser in 
Simdjson. One is `ondemand::parser` which is used in Velox. As you known, it 
only parses JSON data by need, which should perform better in get_json_objest 
usage cases. Another is `dom::parser`, which parses entire JSON document for 
better performance in multiple random accesses. And it validates the entire 
JSON. If you care more about the descripted invalidate cases than performance, 
you can try to replace `ondemand::parser` with `dom::parser` at Velox side.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to