<@U04S8PLJWMT> Does version 1.7 change the way the...
# ask-ai
o
@kapa.ai Does version 1.7 change the way the schema outputs records
k
Yes, Airbyte version 1.7 introduces changes to the way schema outputs records, particularly for destinations like S3. The update makes the schema of data written to S3 isomorphic to Airbyte’s V2 certified database destinations and brings improvements to format conversion. Notable changes include: - Improved handling of various types in Avro and Parquet formats, such as simplification of date and time types, more human-readable schemaless objects and arrays, and better support for unions in Parquet. - Conversion failures are now captured, so values not matching the client schema will no longer break syncs using Avro or Parquet formats. - Metadata about changes (like NULLing bad values or truncating long ones) is now visible in the output. - The schema for certain fields has changed (e.g.,
_airbyte_ab_id
is now
_airbyte_raw_id
, and
_airbyte_emitted_at
is now
_airbyte_extracted_at
). - The
_airbyte_meta
field now contains a list of changes and a sync ID, providing more transparency about data modifications. These changes affect how records are output, especially in terms of type handling, error reporting, and metadata structure. For more details, see the [S3 Migration Guide](https://docs.airbyte.com/integrations/destinations/s3-migrations#s3-migration-guide). Additionally, there are specific changes to how union types, array types, and object types are represented in Parquet and Avro formats, making the output more consistent and predictable. For example, union types in Parquet now use named fields with a
type
discriminator, arrays of unions are treated as arrays of mixed types, and schemaless objects are serialized as JSON strings rather than being stored in
_airbyte_additional_properties
fields. For more on these, see the sections on [Union Types](https://docs.airbyte.com/integrations/destinations/s3-migrations#union-types-parquet-only), [Array Types](https://docs.airbyte.com/integrations/destinations/s3-migrations#array-types), and [Object Types](https://docs.airbyte.com/integrations/destinations/s3-migrations#object-types). In summary, version 1.7 does change the way schema outputs records, especially for S3 and similar destinations, with a focus on improved type handling, error transparency, and metadata structure.
o
@kapa.ai it seems that records are being nullified when being passed between source and destination
k
A message from kapa.ai
Yes, there are multiple reports and discussions indicating that records—especially certain fields—can be nullified when being passed between source and destination in Airbyte. This issue is most commonly observed with numeric or decimal fields, and often occurs during incremental syncs or when using Change Data Capture (CDC). For example: - When syncing numeric fields from a Postgres source to a Postgres destination, users have reported that fields are correctly transferred during the initial sync, but are set to
null
on subsequent incremental syncs. The
_airbyte_meta
column often shows a
DESTINATION_TYPECAST_ERROR
as the reason for nullification, even when the source and destination types appear compatible. This has been observed with both Postgres and MySQL sources, and is especially prevalent when using CDC ([source](https://github.com/airbytehq/airbyte/issues/38470)). - A user noted that in the raw stream tables, decimal values appear as numbers during the initial sync, but as strings in CDC rows. This type mismatch can cause insert errors, leading Airbyte to fall back to a "safe cast" that results in null values being inserted ([source](https://github.com/airbytehq/airbyte/issues/38470)). - Similar issues have been reported with other destinations, such as ClickHouse, where NUMERIC/DECIMAL columns from Postgres sources arrive as
NULL
after normalization ([source](https://github.com/airbytehq/airbyte/issues/21276)). In summary, nullification of records or fields during sync is a known issue, often related to type mismatches or conversion errors between source and destination, particularly for numeric types and during incremental/CDC syncs. The Airbyte team is aware of these issues, and they are being tracked in open GitHub issues.
o
Is there a new Schema config check for streams that modifies the data?
Is there a new Schema config check for streams that modifies the data? @kapa.ai
k
A message from kapa.ai
Based on the available knowledge sources, there is no explicit mention of a new "Schema config check" for streams that directly modifies the data in Airbyte version 1.7 or recent documentation. However, Airbyte does provide schema change management features that allow you to configure how schema changes are detected and propagated for each connection. These settings can automatically or manually apply schema changes, but they do not directly "modify" the data—rather, they control how schema changes (like new or removed fields/streams, or data type changes) are reflected in the destination schema and how syncs behave in response to those changes. If a breaking schema change is detected (such as removal of a primary key or cursor), Airbyte will pause the connection for manual review to prevent sync failures. For non-breaking changes, depending on your configuration, Airbyte can automatically propagate changes or require manual approval. These processes are described as schema management and propagation, not as a "schema config check" that modifies data itself [Schema Change Management](https://docs.airbyte.com/platform/using-airbyte/schema-change-management#detect-and-propagate-schema-changes-connection-setting). If you are referring to a new feature that actively modifies data during a schema check, the knowledge sources do not provide information about such a feature. If you need more details about schema change management or propagation settings, please clarify your question.
o
Can I remove schema validation in my helm chart?
Can I remove schema validation in my helm chart? @kapa.ai
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not contain explicit information about disabling or removing schema validation via the Helm chart in Airbyte. There are no documented Helm values or environment variables in the provided sources that allow you to turn off schema validation entirely. If you have a specific use case or are encountering schema validation issues, you may want to consult the [official Airbyte documentation](https://docs.airbyte.com/) or open a discussion with the Airbyte community for further guidance.
o
@kapa.ai Airbyte has been changing the "data" field in the records to empty "{}" in Airbyte 1.7.. In 1.6+ those records are still populated. Can I make it so in 1.7 records aren't turned into empty "{}"?
k
A message from kapa.ai
Based on the available knowledge sources, Airbyte 1.7 introduced changes to how records and schemas are handled, especially for destinations like S3 and in the way objects without schemas are processed. In version 1.7, if a record contains fields not defined in the schema (
properties
), those undocumented fields are now silently dropped. If the object itself has no schema (i.e.,
"type": "object"
with no
properties
), the entire object is serialized as a JSON string. The
_airbyte_additional_properties
field, which previously held these extra fields, has been removed. As a result, you may see the
data
field as
{}
(an empty object) if the incoming data does not match the defined schema or if all fields are dropped due to being undocumented [Object Types – S3 Migration Guide](https://docs.airbyte.com/integrations/destinations/s3-migrations#object-types). There is no documented way in the provided sources to revert this behavior or configure Airbyte 1.7 to retain undocumented fields in the
data
object as was possible in 1.6+.
The change is part of a broader effort to make schema handling more predictable and to avoid storing unexpected or undocumented fields. If you need to retain those fields, you would need to ensure that your source schema explicitly defines all the properties you want to keep. Otherwise, with Airbyte 1.7's current documented behavior, those fields will be dropped and the
data
field may appear as
{}
. If you require the previous behavior, you may need to use Airbyte 1.6 or earlier, or adjust your source schemas to include all necessary fields. The knowledge sources do not mention a configuration flag or workaround to restore the old behavior in 1.7.
o
Right so this isn't just S3, this seems to be all
Right so this isn't just S3, this seems to be all @kapa.ai
k
A message from kapa.ai
You are correct—this behavior is not limited to S3. The change in how Airbyte handles undocumented fields and empty objects applies more broadly across destinations, as it is part of Airbyte’s core schema handling logic starting in version 1.7. Specifically, when a record contains fields not defined in the schema, those fields are now silently dropped, and if all fields are dropped, the resulting object can be
{}
(an empty object). This is a platform-level change, not just a destination-specific one [Object Types – S3 Migration Guide](https://docs.airbyte.com/integrations/destinations/s3-migrations#object-types). There is no documented configuration to revert this behavior in 1.7 or later; the only way to ensure fields are retained is to make sure they are explicitly defined in your schema. This change affects all destinations that rely on Airbyte’s schema enforcement, not just S3.