Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Conversation

@pdelewski
Copy link
Contributor

@pdelewski pdelewski commented Oct 14, 2024

This is a second approach (1 - #878) of fixing a problem where mappings contains more fields than ingest and sql queries are based on this knowledge. In this approach we are not altering table to have all fields that were added by dynamic mapping but we based on field origin information and building queries according to that.

image

@pdelewski pdelewski force-pushed the fixing-quesma-common-table-dynamic-mapping-case2 branch 2 times, most recently from 1759962 to 23a61dd Compare October 14, 2024 14:45
@pdelewski pdelewski force-pushed the fixing-quesma-common-table-dynamic-mapping-case2 branch from 23a61dd to 749062d Compare October 14, 2024 14:45
@pdelewski pdelewski marked this pull request as ready for review October 14, 2024 14:50
@pdelewski pdelewski requested a review from a team as a code owner October 14, 2024 14:50
for _, field := range indexSchema.Fields {
if field.Type.IsFullText() {
fullTextFields = append(fullTextFields, field.InternalPropertyName.AsString())
// Take only fields that are ingested
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. Got it.

@pdelewski pdelewski added this pull request to the merge queue Oct 15, 2024
Merged via the queue into main with commit 8c93f77 Oct 15, 2024
4 checks passed
@pdelewski pdelewski deleted the fixing-quesma-common-table-dynamic-mapping-case2 branch October 15, 2024 08:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants