Skip to content

Commit

Permalink
Merge pull request #4053 from szarnyasg/nits-20241112f
Browse files Browse the repository at this point in the history
Fix landing page query
  • Loading branch information
szarnyasg authored Nov 12, 2024
2 parents 8e668e2 + 183ae75 commit 32e719f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 'https://blobs.duckdb.org/stations.csv';
FROM 's3://duckdb-blobs/stations.csv';
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
{% endhighlight %}
</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-'https%3A%2F%2Fblobs.duckdb.org%2Fnl_stations.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~">
<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 %}
{% include landing-page/sql/csv-loader.sql %}
{% endhighlight %}
Expand Down

0 comments on commit 32e719f

Please sign in to comment.