airbyte icon indicating copy to clipboard operation
airbyte copied to clipboard

Destination snowflake: load failed from stage, but sync status is succeded

Open andrevus opened this issue 1 year ago • 2 comments

Connector Name

destination-snowflake

Connector Version

1.0.5

What step the error happened?

During the sync

Revelant information

Steps to reproduce: Some of records from source table are larger than 16mb. Making connection from this database to snowflake, airbyte will put this data in a stage and makes copy into table from stage, and on this query we will get LOAD_FAILED with information "Max LOB size (16777216) exceeded, actual size of parsed column is xxxx". Data will only exists on stage, query status is success, airbyte sync is success but destination table in snowflake will be empty or missing all data from affected file from stage.

I think that connector should use VALIDATION_MODE = 'RETURN_ERRORS' in COPY INTO MYTABLE statement to prevent this.

Relevant log output

No response

Contribute

  • [ ] Yes, I want to contribute

andrevus avatar Jun 15 '23 12:06 andrevus

Related issue: https://github.com/airbytehq/airbyte/issues/27124

kevin868 avatar Jun 16 '23 15:06 kevin868

Hi everyone, any fix solution to this? Desde Airbyte te dice que todo ha ido bien, sin embargo entras en Snowflake y ves que ha fallado en la etapa de COPY INTO y es deseperante. Alguna manera de solucionar esto? LOAD_FAILED,1,0,1,1,"Max LOB size (16777216) exceeded, actual size of parsed column is 25610863",1,28890242,

Edit: Stills present in 3.8.0 version Snowflake connector

miquelmartorell avatar May 16 '24 16:05 miquelmartorell

At Airbyte, we seek to be clear about the project priorities and roadmap. This issue has not had any activity for 180 days, suggesting that it's not as critical as others. It's possible it has already been fixed. It is being marked as stale and will be closed in 20 days if there is no activity. To keep it open, please comment to let us know why it is important to you and if it is still reproducible on recent versions of Airbyte.

octavia-squidington-iii avatar Nov 13 '24 09:11 octavia-squidington-iii

This issue was closed because it has been inactive for 20 days since being marked as stale.

octavia-squidington-iii avatar Dec 03 '24 09:12 octavia-squidington-iii