-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data types update - implement protocol versioning (upgrades) #17639
Comments
@edgao ask platform folks about state of protocol versioning, is it ready for use |
from jimmy:
message migrator test Line 15 in 5cd605d
|
@edgao split into upgrade/downgrade migration implementation |
@edgao figure out how to use the e2e up/downgrade test tool here |
Does this ticket depend on this epic being done (or any part of it being done): #14276 ? |
soft blocker: #16814 - I'll need to switch a few v0 to v1 in my code once this is completed, since we're building the 1.0.0 -> 1.1.0 migration. But nothing preventing me from starting implementation. other than that, none of the open issues are relevant to this issue. |
merged into #20036; closing |
after #17486 is accepted, we can implement the protocol versioning migrations. This issue is to implement the upgrade logic.
format
in addition toairbyte_type
){"type": "string"}
{"type": "string"}
{"type": "string", "airbyte_type": "date", "format": "date"}
{"type": "string", "airbyte_type": "timestamp_with_timezone", "format": "date-time"}
{"type": "string", "airbyte_type": "timestamp_without_timezone", "format": "date-time"}
{"type": "string", "airbyte_type": "time_with_timezone", "format": "time"}
{"type": "string", "airbyte_type": "time_without_timezone", "format": "time"}
{"type": "number"}
{"type": "integer"}
{"type": number", "airbyte_type": "integer"}
for historical reasons, but normalization can handle both formats, andtype: integer
is more descriptive.{"type": "boolean"}
Infinity
/-Infinity
/NaN
) then it should be nulled (i.e. just remove the field from the record completely)As part of this issue, we should update https://github.com/airbytehq/airbyte/blob/master/airbyte-protocol/protocol-models/src/main/java/io/airbyte/protocol/models/JsonSchemaType.java with the new types, and tag the old-style schema declarations as
@Deprecated
. They'll still need to exist for the sake of unupdated connectors, but all new connector development should use new-style declarations.The text was updated successfully, but these errors were encountered: