Open evandro-morini opened 4 weeks ago
After digging a little bit I think the source of the error is here: https://github.com/airbytehq/airbyte/blob/731ae133694628376090089710ec230ae25d6351/airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/json/Jsons.kt#L34
@airbytehq/destinations can someone take a look into this issue?
Updated the title to reflect JSON limit.
@evandro-morini - can you share more about what your records look like? This means you have a single row which is larger than 50mb...
Hello @evantahler we're dealing here with ML documents extraction in a Postgres table (around 130GiB) with multiple JSON fields. We also noticed that airbyte is saving these JSON fields as STRING inside Bigquery (but that's another story and I really don't know if it can cause an impact in the row size).
Connector Name
destination-bigquery
Connector Version
2.8.6
What step the error happened?
During the sync
Relevant information
Receiving this error during the sync between a Postgres source and Bigquery destination (a table with JSON columns):
java.lang.RuntimeException: com.fasterxml.jackson.databind.JsonMappingException: String value length (52494336) exceeds the maximum allowed (52428800, from StreamReadConstraints.getMaxStringLength()) (through reference chain: io.airbyte.cdk.integrations.destination.async.model.PartialAirbyteMessage["serialized"])
Any chances on updating the default value or adding an env var to setup this?
Thanks!
Relevant log output
Contribute