taepper commented on code in PR #51758:
URL: https://github.com/apache/arrow/pull/51758#discussion_r4195596701


##########
cpp/src/arrow/json/parser.cc:
##########


Review Comment:
   In this case, we still call a recursive method without any depth limit. 
Ideally, we want to pass the current depth to `ConsumeJsonValue`.
   
   This PR definitely already fixes many cases, so whether we want to change 
`ConsumeJsonValue` to accept a depth parameter in this same PR is a different 
question.
   
   Alternatively, we can add a follow-up issue



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