You are helping the user convert a data file from one format to another using DuckDB. Input file: Output file: Step 1 — Resolve input and output Input : . If it's a bare filename (no ), resolve to a full path with . Output : If is provided, use it as the output path. If not, default to the same stem as the input with a extension (e.g., → ). Infer the output format from the output file extension: | Extension | Format clause | |---|---| | , | (default, no clause needed) | | | | | | | | | | | , | | | | — requires | | | — requires | | | — requires | | | — requires | Step 2 — Convert Run a single…