Skip to content

Commit

Permalink
Merge pull request #13 from hasura/fix/resultset-ordering
Browse files Browse the repository at this point in the history
fix ordering of result sets
  • Loading branch information
BenoitRanque authored Apr 10, 2024
2 parents 6b349d7 + 6e46882 commit 9717568
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.3]

- Fix ordering of result sets for foreach queries (remote joins)

## [0.2.2]

- Return error if empty list of query variables passed. Variables should be ommited or be a list with at least one member
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ members = [
]
resolver = "2"

package.version = "0.2.2"
package.version = "0.2.3"
package.edition = "2021"
2 changes: 1 addition & 1 deletion crates/ndc-clickhouse/src/sql/query_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl<'r, 'c> QueryBuilder<'r, 'c> {
let order_by = if self.request.variables.is_some() {
vec![OrderByExpr {
expr: Expr::CompoundIdentifier(vec![
Ident::new_quoted("_rowset"),
Ident::new_quoted("_vars"),
Ident::new_quoted("_varset_id"),
]),
asc: Some(true),
Expand Down

0 comments on commit 9717568

Please sign in to comment.