-
Notifications
You must be signed in to change notification settings - Fork 3
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: hasura/ndc-mongodb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.8.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: hasura/ndc-mongodb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 13 commits
- 164 files changed
- 2 contributors
Commits on Jan 22, 2025
-
update for ndc-spec v0.2 (#139)
Updates the MongoDB connector for ndc-spec v0.2 ([changelog link](https://github.com/hasura/ndc-spec/blob/9ce5e92e71ec3481e9d74741bd53dcdda3b6e81f/specification/src/specification/changelog.md#020)) The connector processes requests in two phases: 1. `ndc-query-plan` converts to an internal set of request types. In that process it denormalizes the request, annotates it with types, and constructs join plans. 2. `mongodb-agent-common` consumes those internal types to produce mongodb query plans This commit requires updates to both phases, including changes to the internal request types. A number of unit tests still need to be updated according to the new mechanisms for handling relationships - specifically the change from root column references to named scopes. But we have integration tests for relationships which are passing which seems to indicate that things are generally working.
Configuration menu - View commit details
-
Copy full SHA for 687d1d0 - Browse repository at this point
Copy the full SHA 687d1d0View commit details
Commits on Mar 1, 2025
-
Configuration menu - View commit details
-
Copy full SHA for cac4556 - Browse repository at this point
Copy the full SHA cac4556View commit details -
implement group by for single-column aggregates (#144)
Implements most of the functionality for the capability `query.aggregates.group_by`. There are still a couple of things to follow up on. Counts are not implemented for group by queries yet. I'll follow up on those in [ENG-1568](https://linear.app/hasura/issue/ENG-1568/[mongodb]-implement-count-for-group-by). (Counts are implemented in #145 which can be merged after this PR is merged.) There is a bug involving multiple references to the same relationship that should be resolved. I'll follow up in [ENG-1569](https://linear.app/hasura/issue/ENG-1569). While working on this I removed the custom "count" aggregation - it is redundant, and I've been meaning to do that for a while. Users can use the standard count aggregations instead. There is a change in here that explicitly converts aggregate result values for "average" and "sum" aggregations to the result types declared in the schema. This is necessary to avoid errors in response serialization for groups when aggregating over 128-bit decimal values. I applied the same type conversion for group and for root aggregates for consistency. This does mean there will be some loss of precision in those cases. But it also means we won't get back a JSON string in some cases, and a JSON number in others.
Configuration menu - View commit details
-
Copy full SHA for e466b51 - Browse repository at this point
Copy the full SHA e466b51View commit details
Commits on Mar 3, 2025
-
implement count aggregates for group by (#145)
This completes the basic functionality for group-by started in #144 by implementing all forms of count aggregations.
Configuration menu - View commit details
-
Copy full SHA for c44aef9 - Browse repository at this point
Copy the full SHA c44aef9View commit details -
unify and optimize count aggregations over grouped and ungrouped data (…
…#146) The logic for count aggregations for grouped data in #145 was an improvement over what was already in place for ungrouped data. Instead of leaving two separate code paths with different logic I unified logic for both to use the new logic from #145. This allowed removing unnecessary uses of the `$facet` stage which forks the aggregation pipeline. Previously every aggregate used a separate facet. Now we only need facets for incompatibly-grouped data - one query that combines ungrouped aggregates with groups, or that combines either of those with field selection. This required additional changes to response processing to remove facet unpacking logic. The new system does mean that there are a couple of places where we have to explicitly fill in null or zero results for aggregate queries with no matching rows. While I was going over aggregate logic I noticed some unescaped field references when referencing aggregate result names. I fixed these to use `ColumnRef` which escapes names. While I was at it I removed the last couple of uses of the old `getField` helper, and replaced them with the new-and-improved `ColumnRef`.
Configuration menu - View commit details
-
Copy full SHA for 0c5d336 - Browse repository at this point
Copy the full SHA 0c5d336View commit details
Commits on Mar 11, 2025
-
Configuration menu - View commit details
-
Copy full SHA for affae9d - Browse repository at this point
Copy the full SHA affae9dView commit details
Commits on Mar 27, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 9ddca72 - Browse repository at this point
Copy the full SHA 9ddca72View commit details
Commits on Apr 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2c23688 - Browse repository at this point
Copy the full SHA 2c23688View commit details
Commits on Apr 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e9511af - Browse repository at this point
Copy the full SHA e9511afView commit details
Commits on Apr 29, 2025
-
Configuration menu - View commit details
-
Copy full SHA for da48f8e - Browse repository at this point
Copy the full SHA da48f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc77815 - Browse repository at this point
Copy the full SHA cc77815View commit details
Commits on Jun 5, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 30fa340 - Browse repository at this point
Copy the full SHA 30fa340View commit details
Commits on Jul 21, 2025
-
Bump to new SDK so we output connector name and version in traces.
Configuration menu - View commit details
-
Copy full SHA for 17ee784 - Browse repository at this point
Copy the full SHA 17ee784View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.8.4...main