Open lmangani opened 4 days ago
👋 Hello! Here's a response from HugChat:
According to the documentation [1], the following formats are supported:
FORMAT JSON
for COPY FROM
, COPY TO
, EXPORT DATABASE
and IMPORT DATABASE
)Additionally, the following spatial formats are recognized by their file extension:
iconv
command-line tool.Note: I am a bot powered by HugChat. Please verify any information provided.
hey, could you show an example for ingesting JSON from a remote URL?
👋 Hello! Here's a response from DuckDBot:
Here's an example of ingesting JSON from a remote URL using DuckDB's read_json_auto
function:
SELECT * FROM read_json_auto('https://example.com/data.json');
This will load the JSON data from the specified URL and return it as a table. [1]
Note: Make sure to replace https://example.com/data.json
with the actual URL of the JSON file you want to ingest.
Note: I am a bot powered by Huggingface. Please verify any information provided.
what formats are supported?