Skip to content

Commit

Permalink
Merge pull request #4231 from szarnyasg/nits-20241202c
Browse files Browse the repository at this point in the history
Blog post: Use zip file
  • Loading branch information
szarnyasg authored Dec 2, 2024
2 parents 8752fe8 + 949cf09 commit 2dc3596
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions _posts/2024-11-29-duckdb-tricks-part-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,12 @@ where we showcase [friendly SQL features]({% link docs/sql/dialect/friendly_sql.
## Dataset

We'll use a subset of the [Dutch railway services dataset](https://www.rijdendetreinen.nl/en/open-data/train-archive), which was already featured in a [blog post earlier this year]({% post_url 2024-05-31-analyzing-railway-traffic-in-the-netherlands %}).
This time, we'll use the CSV files between January and October 2024: [`services-2024-01-to-10.tar.zst`](https://blobs.duckdb.org/data/railway/services-2024-01-to-10.tar.zst).

If you would like to follow the examples, you can download and decompress the dataset with the following command:

```bash
curl https://blobs.duckdb.org/data/services-2024-01-to-10.tar.zst \
| tar -xv --use-compress-program=unzstd
```
This time, we'll use the CSV files between January and October 2024: [`services-2024-01-to-10.zip`](https://blobs.duckdb.org/data/services-2024-01-to-10.zip).
If you would like to follow the examples, download and decompress the data set before proceeding.

## Excluding Columns from a Table

Before creating a table, let's look at the data in the CSV files.
First, let's look at the data in the CSV files.
We pick the CSV file for August and inspect it with the [`DESCRIBE` statement]({% link docs/guides/meta/describe.md %}).

```sql
Expand Down

0 comments on commit 2dc3596

Please sign in to comment.