Commit Graph
21 Commits
Author SHA1 Message Date
Mehmet Yilmaz dc0f79ce70 Merged PR 1234831: [OSS] Move drop indexes procedure to OSS
Move drop indexes procedure to oss
2024-01-31 12:06:30 +03:00
Vinod Sridharan 1ca13d07e5 Merged PR 1253069: [Truncation] Fix up a bug with single path wildcard index with truncation
Fix up a bug with single path wildcard index with truncation
2024-01-31 12:06:30 +03:00
Vinod Sridharan 03c69f703d Merged PR 1249283: [Index Truncation] Add more tests and allow per index registration of truncation
1) Enable per index enablement of truncation
2) Add more tests for aarray truncation
3) Reduce prefix paths for single path indexes
2024-01-19 14:59:12 +03:00
Vinod Sridharan 628c576d6f Merged PR 1250361: Modify more references for OSS
Remove more references  in code that match the contract with the OSS extension.
2024-01-17 22:08:45 +03:00
Santiago Fernandez Madero d6b2c3aab4 Merged PR 1248408: [OSS] Fix listIndexes and listCollections command
List indexes was broken in OSS:
- when generating the backend query we were using the api.list_indexes SQL UDF which is the former/old way before cursors support to list indexes and it is available in pgmongo, but since that is obsolete and don't support cursors, we didn't added it to OSS.

Fix is to instead generate a query that fetches directly from the `helio_api_catalog.collection_indexes` table which is basically what list_indexes did:

```
SELECT mongo_api_internal.index_spec_as_bson(index_spec, TRUE)
        FROM mongo_catalog.collection_indexes
        WHERE collection_id = v_collection.collection_id AND
              (index_is_valid OR mongo_api_internal.index_build_is_in_progress(index_id))
        ORDER BY index_id
```
List Collections was broken in OSS because we were using the wrong schema to get the `row_get_bson` UDF and the OpExpr for the text equality for the query where clause `database = <dbName>` , we were not specifying a collation and postgres was failing with:

```
ERROR:  could not determine which collation to use for string comparison
HINT:  Use the COLLATE clause to set the collation explicitly.
```
2024-01-17 22:08:45 +03:00
Lucas Borges Fernandes 9839f0610e Merged PR 1249793: Changing extension name to helio in all OSS files
Removing references from the old extension name.
2024-01-17 22:08:45 +03:00
Tanvi Bhandari e56a5f6edb Merged PR 1216978: Add Index details in CurrentOp for CREATE INDEX
This PR is on top of !1215017 , I will keep both changes in separate PRs.

Does following for non-unique indexes CREATE INDEX .
1. Add DB name, collection name in currentOp
2. Add Index details in CurrentOp

NOTE: For Unique index (ALTER TABLE), current op does have collection name populated. We are not adding index details for unique index as of now. Tracking item #2843068

**After the fix :**
![image.png](https://msdata.visualstudio.com/ba574a88-a171-48e0-8fcb-5fef6d23739c/_apis/git/repositories/501a5e7e-ffdc-4d1e-a5e6-910f73c6eb9a/pullRequests/1216978/attachments/image.png)

Related work items: #2826862, #2835383
2024-01-17 22:08:45 +03:00
Deepak Bisht cd6050eb08 Merged PR 1245028: [pgmongo][Geospatial] - enable Geospatial for Tests
enable Geospatial for Tests

Related work items: #2889615
2024-01-17 22:08:45 +03:00
Gledis Zeneli ffa180741a Merged PR 1205625: Migrate drop_collection to C 2024-01-17 22:08:45 +03:00
Vinod SridharanandVinod Sridharan 4c6b6d1fde [Infra] Add devcontainer for build time setup to HelioDB (#4)
* Add devContainer for build time setup to HelioDB
This allows for the development flow to simply be:

Developers open the repository in VsCode
Reopen in DevContainer
make/make install
make check
To run an adhoc server, developers can run in the dev-container

./scripts/start_helio_server.sh
---------

Co-authored-by: Vinod Sridharan <visridha@microsoft.com>
2024-01-15 10:18:24 -08:00
Vinod Sridharan 4aea8125e4 Merge pull request #3 from microsoft/visridha/intial_helio_commit
Initial commit for HelioDB
2024-01-15 09:59:56 -08:00
Vinod Sridharan d8671eb379 Initial commit for HelioDB 2024-01-12 19:10:20 +00:00
Murat Tuncer 9876da1a14 Merge pull request #1 from microsoft/users/GitHubPolicyService/6beb23d4-53ad-46b8-bce4-dd7d94d42d34
Adding Microsoft SECURITY.MD
2023-12-29 11:01:10 +03:00
Microsoft Open Source 54147c75a4 SECURITY.md committed 2023-12-27 09:20:11 -08:00
Microsoft Open Source fd4f59322c README.md updated to template 2023-12-27 09:20:11 -08:00
Microsoft Open Source cded62f618 SUPPORT.md committed 2023-12-27 09:20:10 -08:00
Microsoft Open Source 0962f9119c LICENSE updated to template 2023-12-27 09:20:09 -08:00
Microsoft Open Source cfc3e2086b CODE_OF_CONDUCT.md committed 2023-12-27 09:20:09 -08:00
microsoft-github-policy-service[bot] 89d98ead6d Microsoft mandatory file 2023-12-27 17:00:40 +00:00
microsoft-github-operations[bot] cc150f8608 README.md: Setup instructions 2023-12-27 17:00:30 +00:00
Abinav Rameesh c4234ea994 Initial commit 2023-12-27 09:00:17 -08:00