GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — duckdb: table functions such as `read_parquet`, `read_csv` and `read_json` are unknown · Issue #4659 · sqlc-dev/sqlc Open DescriptionWhat do you want to change?A query that reads a file with a DuckDB table function fails with Request, one of these or another idea:
Output: repro5.sh#!/usr/bin/env bash rm -rf repro5 && mkdir repro5 && cd repro5 cat > sqlc.yaml <<'EOF' version: "2" sql: - engine: "duckdb" schema: "schema.sql" queries: "query.sql" gen: go: package: "repro" out: "out" EOF cat > schema.sql <<'EOF' CREATE TABLE items (id INTEGER NOT NULL, name VARCHAR NOT NULL); EOF for fn in "read_parquet('items.parquet')" "read_csv('items.csv')" "read_json('items.json')"; do printf -- "-- name: Q :many\nSELECT id, name FROM %s;\n" "$fn" > query.sql echo "== FROM $fn" sqlc generate 2>&1 | head -2; echo "sqlc exit code: ${PIPESTATUS[0]}" done No patch: the right design is a decision for the maintainers. What database engines need to be changed?(none of the listed options) What programming language backends need to be changed?Go ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |