This repository was archived by the owner on Nov 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
String column as keyword field #1444
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
623cc1f
WIP
nablaone 1567d7d
Add configuration flag
nablaone 1947c24
test
nablaone e8ce18a
Merge branch 'main' into keyword-as-a-default
nablaone 3edb1da
Change the flag name
nablaone ad030b5
Move flag to separate struct
nablaone bc61a9e
Fix tests
nablaone a0f5f37
Merge branch 'main' into keyword-as-a-default
nablaone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
68 changes: 68 additions & 0 deletions
68
platform/config/test_configs/string_column_is_keyword_field.yaml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # TEST CONFIGURATION | ||
| licenseKey: "cdd749a3-e777-11ee-bcf8-0242ac150004" | ||
| stringColumnIsKeywordField: true | ||
| frontendConnectors: | ||
| - name: elastic-ingest | ||
| type: elasticsearch-fe-ingest | ||
| config: | ||
| listenPort: 8080 | ||
| - name: elastic-query | ||
| type: elasticsearch-fe-query | ||
| config: | ||
| listenPort: 8080 | ||
| backendConnectors: | ||
| - name: my-minimal-elasticsearch | ||
| type: elasticsearch | ||
| config: | ||
| url: "http://localhost:9200" | ||
| - name: my-clickhouse-data-source | ||
| type: clickhouse-os | ||
| config: | ||
| url: "clickhouse://localhost:9000" | ||
| ingestStatistics: true | ||
| internalTelemetryUrl: "https://api.quesma.com/phone-home" | ||
| logging: | ||
| remoteUrl: "https://api.quesma.com/phone-home" | ||
| path: "logs" | ||
| level: "info" | ||
| processors: | ||
| - name: my-query-processor | ||
| type: quesma-v1-processor-query | ||
| config: | ||
| indexes: | ||
| example-index: | ||
| target: | ||
| - my-clickhouse-data-source | ||
| kibana_sample_data_ecommerce: | ||
| target: | ||
| - my-clickhouse-data-source | ||
| partitioningStrategy: daily | ||
| "*": | ||
| target: | ||
| - my-minimal-elasticsearch | ||
| partitioningStrategy: hourly | ||
| - name: my-ingest-processor | ||
| type: quesma-v1-processor-ingest | ||
| config: | ||
| indexes: | ||
| example-index: | ||
| target: | ||
| - my-clickhouse-data-source | ||
| kibana_sample_data_ecommerce: | ||
| target: | ||
| - my-clickhouse-data-source | ||
| partitioningStrategy: daily | ||
| "*": | ||
| target: | ||
| - my-minimal-elasticsearch | ||
| partitioningStrategy: hourly | ||
| pipelines: | ||
| - name: my-pipeline-elasticsearch-query-clickhouse | ||
| frontendConnectors: [ elastic-query ] | ||
| processors: [ my-query-processor ] | ||
| backendConnectors: [ my-minimal-elasticsearch, my-clickhouse-data-source ] | ||
| - name: my-pipeline-elasticsearch-ingest-to-clickhouse | ||
| frontendConnectors: [ elastic-ingest ] | ||
| processors: [ my-ingest-processor ] | ||
| backendConnectors: [ my-minimal-elasticsearch, my-clickhouse-data-source ] | ||
|
|
Oops, something went wrong.
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.
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.
Do not like this name.
For example better suggestion:
defaultStringToKeywordTypeThere 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.
Changed