Skip to content

framework tries to build a remote file listed in sql front-matter #1635

@Fil

Description

@Fil

Here’s test.md:

---
sql:
  taxi: https://blobs.duckdb.org/data/taxi_2019_04.parquet
---

```sql echo
SELECT COUNT() FROM taxi;
```

The page works fine in preview and in build, and displays the expected result 7,433,139.

However the logs show an erroneous tentative in build to copy the (non-existing) resource src/https:/blobs.duckdb.org/data/taxi_2019_04.parquet (note the single / after https:).

copy src/https:/blobs.duckdb.org/data/taxi_2019_04.parquet → error: missing referenced file

Another symptom is a spurious call to registerFile in the page's scripts:

registerFile("https://blobs.duckdb.org/data/taxi_2019_04.parquet", {"name":"https://blobs.duckdb.org/data/taxi_2019_04.parquet","path":"https://blobs.duckdb.org/data/taxi_2019_04.parquet"});

Metadata

Metadata

Assignees

Labels

bugSomething isn’t working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions