pjfanning commented on PR #49163:
URL: https://github.com/apache/spark/pull/49163#issuecomment-3031630296
@dongjoon-hyun @steven-aerts Would the Spark team consider supporting a
simpler change for branch-4.0 and maybe branch-3.5, where the Jackson max
string size is set to Integer.MAX_VALUE in the JsonProtocol object (as it still
is in those branches)?
```
// SPARK-49872 remove limit on string lengths (made configurable in Spark
4.1.0)
mapper.getFactory.setStreamReadConstraints(
StreamReadConstraints.builder().maxStringLength(Int.MaxValue).build()
)
```
--
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]