-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
🎉 Source Orb: support enriching ledger entries with numeric properties #10839
🎉 Source Orb: support enriching ledger entries with numeric properties #10839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @kgrover
@misteryeo can you review the change in spec.json of this contribution? |
@kgrover can you bump the connector version in |
/test connector=connectors/source-orb
|
/test connector=connectors/source-orb repo=orbcorp/airbyte
|
/test connector=connectors/source-orb repo=orbcorp/airbyte
|
Looking at that ^ action, it seems that the test actually passed but the github action just failed to update the above comment with the success status. So I think we can consider that to be a success |
/publish connector=connectors/source-orb repo=orbcorp/airbyte
|
/publish connector=connectors/source-orb repo=orbcorp/airbyte
|
/publish connector=connectors/source-orb repo=orbcorp/airbyte
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's finished @kgrover. Can you just correct the documetation and run ./gradlew airbyte-config:init:processResources
?
docs/integrations/sources/orb.md
Outdated
@@ -51,6 +51,7 @@ an Orb Account and API Key. | |||
## Changelog | |||
|
|||
| Version | Date | Pull Request | Subject | | |||
| 0.2.0 | 2022-03-03 | [10839](https://github.com/airbytehq/airbyte/pull/10839) | Support ledger entries with numeric properties + schema fixes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 0.2.0 | 2022-03-03 | [10839](https://github.com/airbytehq/airbyte/pull/10839) | Support ledger entries with numeric properties + schema fixes | |
| 0.1.1 | 2022-03-03 | [10839](https://github.com/airbytehq/airbyte/pull/10839) | Support ledger entries with numeric properties + schema fixes |
What
This adds a configuration parameter to the Orb Source connector,
numeric_event_properties_keys
, which allows the user to list keys whose property values are numeric (as opposed to string-valued). The dynamic schema generation in the connector constructs the schema accordingly.🐛 This also makes a few schema updates to the existing declared schema, as well as a minor bug fix to output
id
instead ofevent_id
when outputting an enriched event.How
When we dynamically generate the JSON schema, enriching
credit_ledger_entries.json
, we treat the keys passed in fornumeric_event_properties_keys
separately.Recommended reading order
spec.json
andsource.py
for the new addition to support numeric properties🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
This connector should currently be unused, so do not expect any user impact.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleTests
Unit
Acceptance