- 
                Notifications
    
You must be signed in to change notification settings  - Fork 25.6k
 
Use FallbackSyntheticSourceBlockLoader for shape and geo_shape #124927
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
Conversation
| 
           Pinging @elastic/es-storage-engine (Team:StorageEngine)  | 
    
| 
           Hi @lkts, I've created a changelog YAML for you.  | 
    
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 Sasha 👍 - good to see geoshape being added to test data generation.
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. Thanks Sasha!
          💔 Backport failed
 You can use sqren/backport to manually backport by running   | 
    
| 
           #122891 is not backported, that's why the backport fails  | 
    
| 
           I am going to backport only test changes from #122891 here since it was not intended to be backported  | 
    
          💚 All backports created successfully
 Questions ?Please refer to the Backport tool documentation  | 
    
…124927) (#125164) * Use FallbackSyntheticSourceBlockLoader for shape and geo_shape (#124927) (cherry picked from commit 033d28e) # Conflicts: # server/src/test/java/org/elasticsearch/index/mapper/blockloader/BooleanFieldBlockLoaderTests.java # server/src/test/java/org/elasticsearch/index/mapper/blockloader/DateFieldBlockLoaderTests.java # server/src/test/java/org/elasticsearch/index/mapper/blockloader/KeywordFieldBlockLoaderTests.java # test/framework/src/main/java/org/elasticsearch/index/mapper/BlockLoaderTestCase.java # test/framework/src/main/java/org/elasticsearch/index/mapper/NumberFieldBlockLoaderTestCase.java * fix merge * fix * fix more * fix more * properly sync BlockLoaderTestCase * iter * iter * [CI] Auto commit changes from spotless * f * f --------- Co-authored-by: elasticsearchmachine <[email protected]>
This PR adds a generic implementation of
FallbackSyntheticSourceBlockLoaderfor all spatial fields and uses them forshapeandgeo_shape. Points are not included to limit the size of the change.This PR also integrates new shape fields into the LogsDB challenge tests as a proof of concept of defining new field types outside of the main data generation code base. It required a rework of some parts of data generation and testing infra.