Skip to content

Commit 16859fc

Browse files
authored
fix: grammar in error message and docs (#5818)
1 parent 9d209fb commit 16859fc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

prqlc/prqlc/src/sql/gen_projection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub(super) fn try_into_exprs(
4040
if let Some(excluded) = excluded.get(&cid) {
4141
if !excluded.is_empty() {
4242
return Err(
43-
Error::new_simple("Excluding columns not supported as this position")
43+
Error::new_simple("Excluding columns not supported in this position")
4444
.with_span(span),
4545
);
4646
}

prqlc/prqlc/tests/integration/sql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4355,7 +4355,7 @@ fn test_group_all() {
43554355
r###"
43564356
from e=albums
43574357
group !{genre_id} (aggregate {count this})
4358-
"###).unwrap_err(), @"Error: Excluding columns not supported as this position");
4358+
"###).unwrap_err(), @"Error: Excluding columns not supported in this position");
43594359
}
43604360

43614361
#[test]

web/book/src/reference/stdlib/transforms/sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ JOIN artists USING (artist_id)
8888
standard doesn't guarantee an order, although most implementations will respect
8989
it).
9090

91-
<!-- We rolling this back. Waiting on the outcome of https://github.com/PRQL/prql/issues/2622 -->
91+
<!-- We're rolling this back. Waiting on the outcome of https://github.com/PRQL/prql/issues/2622 -->
9292

9393
<!-- ## Nulls
9494

0 commit comments

Comments
 (0)