-
Notifications
You must be signed in to change notification settings - Fork 10
feat: (airbyte-protocol) add new record message type #102
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,31 @@ definitions: | |
- SOURCE_RETRIEVAL_ERROR | ||
# Errors casting to appropriate type | ||
- DESTINATION_TYPECAST_ERROR | ||
AirbyteFileTransferRecordMessage: | ||
type: object | ||
additionalProperties: true | ||
required: | ||
- stream | ||
- file | ||
- emitted_at | ||
properties: | ||
namespace: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: It feels weird to me to see fields like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Revisiting
Well, we could, but I think it would require us to make changes on the platform (and destination?) side, as the current structure is similar to a record, where stream is a string rather than an object. File record sample:
Regular record sample
Stream descriptor from state message:
Currently StreamDescriptor is used for |
||
description: "namespace the data is associated with" | ||
type: string | ||
stream: | ||
description: "stream the data is associated with" | ||
type: string | ||
file: | ||
description: "transfer file data" | ||
type: object | ||
existingJavaType: com.fasterxml.jackson.databind.JsonNode | ||
aldogonzalez8 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
data: | ||
|
||
description: "record data" | ||
type: object | ||
existingJavaType: com.fasterxml.jackson.databind.JsonNode | ||
emitted_at: | ||
description: "when the data was emitted from the source. epoch in millisecond." | ||
type: integer | ||
AirbyteStateMessage: | ||
type: object | ||
additionalProperties: true | ||
|
Uh oh!
There was an error while loading. Please reload this page.