-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: Allow homogeneous data types to be configured #1533
Merged
kodiakhq
merged 2 commits into
main
from
feat/allow-homegenous-data-types-to-be-configured-for-tests
Feb 27, 2024
Merged
feat: Allow homogeneous data types to be configured #1533
kodiakhq
merged 2 commits into
main
from
feat/allow-homegenous-data-types-to-be-configured-for-tests
Feb 27, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mnorbury
requested review from
yevgenypats,
hermanschaaf and
erezrokah
as code owners
February 27, 2024 10:27
For OpenSearch (and presumably ElasticSearch) arrays (even in JSON objects) are limited to the same data types. This adds a configuration option to the writer test suite to only use the same data type in the JSON example data - allowing the test suite to be used for the OpenSearch plugin. Currently JSON objects in the ElasticSearch and OpenSearch plugins are mapped to strings.
candiduslynx
suggested changes
Feb 27, 2024
mnorbury
force-pushed
the
feat/allow-homegenous-data-types-to-be-configured-for-tests
branch
from
February 27, 2024 10:33
7be7fc9
to
5be87e1
Compare
disq
approved these changes
Feb 27, 2024
candiduslynx
approved these changes
Feb 27, 2024
erezrokah
approved these changes
Feb 27, 2024
kodiakhq
bot
deleted the
feat/allow-homegenous-data-types-to-be-configured-for-tests
branch
February 27, 2024 13:25
kodiakhq bot
pushed a commit
that referenced
this pull request
Feb 27, 2024
🤖 I have created a release *beep* *boop* --- ## [4.31.0](v4.30.0...v4.31.0) (2024-02-27) ### Features * Allow homogeneous data types to be configured ([#1533](#1533)) ([ca7cdb8](ca7cdb8)) ### Bug Fixes * Default Plugin logger assumes plugin is a `source` ([#1531](#1531)) ([b7dcd56](b7dcd56)) * **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.18.0 ([#1528](#1528)) ([4cc6ade](4cc6ade)) * **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.19.0 ([#1532](#1532)) ([4b475bb](4b475bb)) * Support list scalars from JSON ([#1530](#1530)) ([cf13dd5](cf13dd5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For OpenSearch (and presumably ElasticSearch) arrays (even in JSON objects) are limited to the same data types. This adds a configuration option to the writer test suite to only use the same data type in the JSON example data - allowing the test suite to be used for the OpenSearch plugin. Currently JSON objects in the ElasticSearch and OpenSearch plugins are mapped to strings.