Open
Description
Expected behavior
I expect to get a result other than the error message
Actual behavior
I'm getting an error <ERROR> Unable to run sql Not implemented.
...
mc: <ERROR> Unable to run sql Not implemented.
(2) sql-main.go:462 cmd.mainSQL(..) Tags: [mybucket/foo.csv]
(1) sql-main.go:400 cmd.sqlSelect(..) Tags: [mybucket/foo.csv, select * from S3Object]
(0) client-s3.go:709 cmd.(*S3Client).Select(..)
Release-Tag:RELEASE.2025-05-21T01-59-54Z | Commit:f71ad84bcf0f | Host:diego-SLIMBOOK | OS:linux | Arch:amd64 | Lang:go1.24.3 | Mem:4.6 MiB/14 MiB | Heap:4.6 MiB/7.3 MiB
Steps to reproduce the behavior
$mc cat mybucket/foo.csv
a,b,c
1,2,3
$mc --debug sql --query "select * from S3Object" --csv-input "rd=\n,fh=USE,fd=," mybucket/foo.csv
mc --version
mc version RELEASE.2025-05-21T01-59-54Z (commit-id=f71ad84bcf0fd4369691952af5d925347837dcec)
Runtime: go1.24.3 linux/amd64
Copyright (c) 2015-2025 MinIO, Inc.
License GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
System information
$cat /etc/os-release
NAME="Linux Mint"
VERSION="21.1 (Vera)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.1"
VERSION_ID="21.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vera
UBUNTU_CODENAME=jammy