Forum Discussion

jakemercer's avatar
jakemercer
New Member
1 year ago
Solved

PySpark Query on Fabric Fails with StreamConstraintsException: String Length Exceeds Maximum

I'm encountering an error when executing a PySpark query on Fabric. The error message is:   `com.fasterxml.jackson.core.exc.StreamConstraintsException: String length (20026295) exceeds the maximum ...
  • jakemercer's avatar
    jakemercer
    1 year ago

    Hi girishthimmaiah 

     

    Thank you for your answer. Microsoft Support sent me a very similar answer. Unfortunately the trimming of the text column or the junking of the data both did not lead to the error disappearing.

     

    I got the notebook running by saving an intermediate result in a temporary table and loading it from there again. That's not so nice but for the moment I can live with it.

     

    Thanks for your help.