-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Bulk load CDK: Even more tests #47377
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
cursor: List<String>, | ||
vararg records: OutputRecord | ||
) { | ||
fun getField(path: List<String>, record: OutputRecord): AirbyteValue? { |
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.
most (all?) destinations don't actually support traversing a jsonpath to fetch a cursor/PK, but it's easy enough to implement in java 🤷
@benmoriceau if you want to start dipping into some of this test stuff, this PR has a few interesting pieces:
|
be29e9e
to
f4a21ac
Compare
f4a21ac
to
a77a153
Compare
Thanks, I'll look at it when I'm done with the file transfer |
// factory into our tests, not a pre-instantiated destination, because we want | ||
// to run multiple destination processes per test. | ||
@Singleton | ||
@Requires(notEnv = [DOCKERIZED_TEST_ENV]) |
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.
This is because docker-v-nondocker is now controlled by an explicit env variable check in the process factory?
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.
yep, exactly. I just forgot to remove these annotations in #47006
(based on https://github.com/airbytehq/airbyte/pull/47359/files, which has a few bugfixes in how we convert JsonNode to AirbyteValue)
as with other test porting PRs, probably best to just review by commit?