s3 datalake destination error Equality field ids s...
# ask-ai
s
s3 datalake destination error Equality field ids shouldn't be null or empty when creating equality-delete writer It is a table with 50 records and the pkey is a unique number on the table, not null or blank
k
The error message “Equality field ids shouldn't be null or empty when creating equality-delete writer” in the S3 Data Lake destination typically relates to deduplication and upsert operations, which rely on primary keys (translated to Iceberg identifier columns) to perform equality-based deletes and inserts. According to the documentation, the S3 Data Lake connector expects that the stream's primary keys are properly defined and mapped to Iceberg's identifier columns. If the primary key is missing, null, or not correctly configured in the Airbyte stream, this error can occur. Even if your table has a unique, non-null primary key at the source, you must ensure that: - The primary key is correctly set in the Airbyte stream configuration. - The primary key is not omitted or misconfigured during the sync setup. If the primary key is not properly recognized, the connector cannot perform equality deletes, resulting in the error you’re seeing. Double-check your Airbyte connection configuration to ensure the primary key is set and mapped correctly for the stream in question. If you continue to encounter this error despite having a valid primary key, it may be a bug or a limitation in the connector. In that case, consider using append or overwrite sync modes as a workaround, as these modes do not require equality deletes and thus do not depend on primary keys in the same way. The documentation also notes that if the deduplication assumptions are not met, you may see inaccurate data and should use append or overwrite modes instead [Deduplication in S3 Data Lake](https://docs.airbyte.com/integrations/destinations/s3-data-lake#deduplication). If none of these steps resolve the issue, the knowledge sources do not provide a more specific solution for this error.
s
I believe it's a bug as some tables work correctly and I have done all I can to troubleshoot, where can I submit the bug?