Reranko05 commented on code in PR #51758:
URL: https://github.com/apache/arrow/pull/51758#discussion_r4190755446
##########
python/pyarrow/tests/test_json.py:
##########
@@ -21,6 +21,7 @@
import io
import itertools
import json
+import sys
import string
Review Comment:
nit: import order, `sys` should come after `string`.
##########
cpp/src/arrow/json/parser.cc:
##########
@@ -48,6 +47,9 @@ using internal::checked_cast;
namespace json {
+// Tuned to not crash on any of our CI platforms
+static constexpr int kMaxNestingDepth = 300;
+
Review Comment:
nit: the PR desc still says the limit is 1000, but the code uses 300 in
latest commit.
--
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]