Commit Graph
3 Commits
Author SHA1 Message Date
Vinod Sridharan 9250ed6931 Merged PR 1419383: [Flex] Fix rpath and copy of libs in Pgmongo extension
### Does this PR have any customer impact?
Fix rpath and copy of libs in Pgmongo extension

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Fix

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No

### Are you introducing any new config? If yes, do you have tests with and without them being set?
No

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Fix rpath and copy of libs in Pgmongo extension

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix to correct rpath and library copying in the Pgmongo extension for Flex builds.

#### PR Summary
This pull request addresses issues with runtime linker search paths and library copying in the Pgmongo extension when building for Flex.
- `pgmongo/Makefile`: Adjusted rpath settings and included `makefile.flex` for Flex builds.
- `scripts/flex/setup_pgmongo_layout.sh`: Removed unnecessary startup script copying and adjusted control file directory paths.
- `scripts/install_setup_citus_core.sh` and `scripts/build_dev_flex_container.sh`: Added Flex build flags.
- `scripts/makefile.flex`: Added new makefile to override rpath for Flex.
- Deleted `scripts/flex/OnStartup/on-startup-001-setup-extension.sh` as it is no longer needed.
2024-08-16 18:24:51 +03:00
Deepak Bisht 58afe0aa8f Merged PR 1275776: [Pgmongo] - Part 1 GeoNear aggregation stage, add documentation and necessary operators and functions
### Does this PR have any customer impact?
No

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Feature

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
Yes

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))
Support $geoNear aggregation stage

### Description
Add the design doc and necessary operators and functions needed for $geoNear

Also,
1-  Implement the $geoNear aggregation stage skeleton and support all options.
     - `distanceField`,
     - `near` (both legacy, geojson point)
     -`includeLocs`,
     -`minDistance` & `maxDistance`
     - `distanceMultiplier`
     - `key`
2- Support index pushdown of the stage to `2d` and `2dspher` index.
    - spherical / non-spherical distance support for `2d` index.
    - spherical distance support for `2dsphere` index

Things still a TODO.
1- ~~Update the mongo explain plans for geonear stage~~.
2- Make the stage require an index always, currently it can be executed without index too.
3- Fix projection for nested array fields.
4- Make common test setup for running $geoNear queries in JSTests which don't require key in mongo.
5- More testing and validations with other stages that can use $geoNear.
6- Test batching and cursor support.
7- Overall testing and validations

Related work items: #3000189, #3065270
2024-04-19 12:03:52 +03:00
Vinod Sridharan d8671eb379 Initial commit for HelioDB 2024-01-12 19:10:20 +00:00