why is the destination S3 deciding to zero/null a ...
# ask-ai
l
why is the destination S3 deciding to zero/null a PK for a table, while leaving other columns alone? It shouldn't publish ANY data to S3 if it has some issue, and should log whatever that issue might be. ..... otherwise how can one have any confidence in the data written out?
k
The Airbyte platform's requirements for certified bulk destinations (including S3) are clear: if there is an issue with a record—such as a primary key (PK) being nullified due to data or destination constraints—the error must be logged in the
_airbyte_meta.changes[]
field for that record. The destination should not silently zero or null a PK and still publish the record without logging the issue. Silent errors are not permitted, and the platform prefers to log errors rather than fail the entire sync, but only if the error can be properly recorded. If the error cannot be logged using the approved protocol, the destination must fail and raise the error to the user and platform. This is to ensure data integrity and user confidence in the data written out [Requirements for Airbyte Partner Connectors: Error Handling](https://docs.airbyte.com/platform/connector-development/partner-certified-destinations#error-handling). If you are seeing records in S3 with a null PK and no corresponding error logged in
_airbyte_meta.changes[]
, this is not compliant with Airbyte's requirements and should be considered a bug or misbehavior in the connector. The correct behavior is either: - Log the issue in
_airbyte_meta.changes[]
and write the record (if the error is non-critical and logging is possible), or - Fail the sync and raise the error if it cannot be logged. This approach is designed specifically to maintain confidence in the data written out by Airbyte destinations [Requirements for Airbyte Partner Connectors: Exceptions](https://docs.airbyte.com/platform/connector-development/partner-certified-destinations#exceptions). If you are experiencing this issue, it is recommended to file a bug report with Airbyte, as the current behavior does not align with the documented requirements.