Skip to content

Commit

Permalink
Blog post formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
szarnyasg committed Sep 9, 2024
1 parent 1414b29 commit 62a9f54
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions _posts/2024-09-09-announcing-duckdb-110.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,17 @@ SELECT 1 / 0 AS division_by_zero;

```sql
SELECT (SELECT unnest(range(10)));
-- More than one row returned by a subquery used as an expression - scalar subqueries can only return a single row.
```

```console
Invalid Input Error: More than one row returned by a subquery used as
an expression - scalar subqueries can only return a single row.
```

```sql
SELECT ARRAY(SELECT unnest(range(10))) AS subquery_result;
```

```text
┌────────────────────────────────┐
│ subquery_result │
Expand Down Expand Up @@ -113,7 +121,11 @@ In this release, we have been working towards making community extensions easier
[**Histogram.**](https://github.com/duckdb/duckdb/pull/12590) This version introduces the `histogram` function that can be used to compute histograms over columns of a dataset. The histogram function works for columns of any type, and allows for various different binning strategies and a custom amount of bins.

```sql
FROM histogram('https://blobs.duckdb.org/data/ontime.parquet', UniqueCarrier, bin_count := 5);
FROM histogram(
'https://blobs.duckdb.org/data/ontime.parquet',
UniqueCarrier,
bin_count := 5
);
```

```text
Expand Down

0 comments on commit 62a9f54

Please sign in to comment.