Hudson
01/09/2021, 7:26 PM2021-01-09 19:25:59 INFO (/tmp/workspace/16/1) LineGobbler(voidCall):69 - 2021-01-09 19:25:59 [32mINFO[m i.a.i.d.s.SnowflakeDestination$DestinationImpl(insertBufferedRecords):164 - {} - max size of batch: 500
The error message is:
Process is taking too long to finish. Killing it
Sync worker failed.
io.airbyte.workers.WorkerException: target process wasn't successful
There's any way to increase the BATCH_SIZE param? and there's any best practices to process a table with more than 1M rows?Michel
Michel
Michel
Hudson
01/09/2021, 7:30 PMHudson
01/09/2021, 7:30 PMMichel
Hudson
01/09/2021, 7:32 PMMichel
Michel
Michel
Michel
Hudson
01/09/2021, 7:37 PMMichel
Michel
Hudson
01/09/2021, 7:41 PMHudson
01/09/2021, 7:43 PMMichel
Michel
Michel
Michel
Michel
Michel
Hudson
01/09/2021, 7:49 PMHudson
01/09/2021, 7:49 PMMichel
./gradlew :airbyte-integrations:connectors:destination-snowflake:buildMichel
Hudson
01/09/2021, 7:52 PMHudson
01/09/2021, 8:16 PMMichel
Michel
Michel
Hudson
01/09/2021, 8:21 PMMichel
Hudson
01/09/2021, 8:21 PMMichel
Hudson
01/09/2021, 8:24 PMMichel
Michel
Michel
Michel
Hudson
01/09/2021, 8:32 PM2021-01-09 20:31:46 INFO (/tmp/workspace/41/0) LineGobbler(voidCall):69 - 2021-01-09 20:31:46 [32mINFO[m i.a.i.d.s.SnowflakeSqlOperations(insertRecords):60 - {} - actual size of batch: 10000
2021-01-09 20:31:49 INFO (/tmp/workspace/41/0) LineGobbler(voidCall):69 - 2021-01-09 20:31:49 [32mINFO[m i.a.i.d.b.BufferedStreamConsumer(writeStreamsWithNRecords):184 - {} - max size of batch: 10000Hudson
01/09/2021, 8:41 PM2021-01-09 20:34:34 WARN (/tmp/workspace/41/0) WorkerUtils(gentleClose):49 - Process is taking too long to finish. Killing it
2021-01-09 20:34:35 ERROR (/tmp/workspace/41/0) LineGobbler(voidCall):72 - Error when reading stream
java.io.IOException: Stream closed
There's any parameter where I can configure the timeout?Michel
Michel
Michel
Hudson
01/09/2021, 8:42 PMMichel
Hudson
01/09/2021, 8:46 PMMIN_RECORDS to 5k. What do you think?Michel
Michel
Michel
Michel
Michel
Michel
Hudson
01/09/2021, 8:51 PMMIN_RECORDS. Yes I want try to increase to 10 min, thanks.Michel
./gradlew buildMichel
VERSION=dev docker-compose upMichel
Hudson
01/09/2021, 8:53 PMHudson
01/09/2021, 8:54 PMMichel
Michel
docker-compose down -vMichel
Hudson
01/09/2021, 8:56 PM-v option before.Michel
Hudson
01/09/2021, 9:30 PMMichel
Michel
Hudson
01/09/2021, 9:36 PMHudson
01/09/2021, 10:45 PMException in thread "main" java.lang.RuntimeException: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error: error line 1 at position 141
2021-01-09 22:43:42 ERROR (/tmp/workspace/11/0) LineGobbler(voidCall):69 - maximum number of expressions in a list exceeded, expected at most 16,384, got 20,000Michel
Michel
Michel
Hudson
01/09/2021, 10:58 PMMichel
Hudson
01/09/2021, 11:01 PMHudson
01/09/2021, 11:27 PMcompleted destination: class io.airbyte.integrations.destination.snowflake.SnowflakeDestination
2021-01-09 23:26:08 INFO (/tmp/workspace/10/0) DefaultSyncWorker(run):110 - Running normalization.
2021-01-09 23:26:08 INFO (/tmp/workspace/10/0) NormalizationRunner$NoOpNormalizationRunner(normalize):67 - Running no op logger
2021-01-09 23:26:08 INFO (/tmp/workspace/10/0) DefaultSyncWorker(run):128 - sync summary: io.airbyte.config.StandardSyncSummary@5b74a51[status=completed,recordsSynced=3191021,bytesSynced=411250596,startTime=1610233962174,endTime=1610234768125]Hudson
01/09/2021, 11:27 PMMichel
Michel
Michel
Michel
Michel
Hudson
01/09/2021, 11:39 PMMichel
Hudson
01/09/2021, 11:41 PMMichel
Hudson
01/09/2021, 11:56 PMMichel
Hudson
01/09/2021, 11:57 PM