Skip to content

Commit

Permalink
Merge pull request #4054 from szarnyasg/nits-20241112g
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
szarnyasg authored Nov 12, 2024
2 parents 32e719f + 0beda40 commit 1a74134
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _includes/landing-page/sql/csv-loader.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-- Load CSV file, auto-detecting column name and types
CREATE TABLE stations AS
FROM 's3://duckdb-blobs/stations.csv';
FROM 's3://duckdb-blobs/stations.csv';
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ <h1>DuckDB is a fast <br/><div class="type" data-strings="in-process|analytical|
<select id="example-select">
<option value="sql-aggregation-query">Aggregation query</option>
<option value="sql-join-query">Join query</option>
<option value="sql-csv-reader">Read CSV files</option>
<option value="sql-parquet-reading-s3">Read Parquet files from S3</option>
<option value="sql-csv-reader">Read remote CSV files</option>
<option value="sql-parquet-reading-s3">Read remote Parquet files</option>
<option value="sql-spatial-extension">Spatial extension</option>
</select>
</div>
Expand Down Expand Up @@ -175,7 +175,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
{% highlight sql %}
{% include landing-page/sql/aggregation.sql %}
{% endhighlight %}
</div>
</div>

<div data-language="sql" data-example="sql-csv-reader" data-buttontxt="Live demo" data-buttonurl="https://shell.duckdb.org/#queries=v0,%20%20-Load-CSV-file%2C-auto%20detecting-column-name-and-types%0ACREATE-TABLE-stations-AS%0A----FROM-'s3%3A%2F%2Fduckdb%20blobs%2Fstations.csv'~,%20%20-Sample-10-stations-using-replacement-sample%0AFROM-stations-USING-SAMPLE-10~,%20%20-Compute-some-property-on-the-stations-table%0ASUMMARIZE-stations~">
{% highlight sql %}
Expand Down Expand Up @@ -207,7 +207,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
{% highlight python %}
{% include landing-page/python/sql-query.py %}
{% endhighlight %}
</div>
</div>

<div data-language="python" data-example="python-pandas-integration" data-buttontxt="Blog post" data-buttonurl="/2021/05/14/sql-on-pandas">
{% highlight python %}
Expand Down

0 comments on commit 1a74134

Please sign in to comment.