minioclient
minioclient copied to clipboard
Inconsistent behaviour of mc_cp, mc_head and mc_sql on windows
I have an issue where mc_cp() and mc_head() works well and is recognizing an s3-alias (as seen by mc_alias_ls()
), but mc_sql() is trying to access a local folder when providing the same alias/path, instead of the minio storage.
This works (creating a local file):
mc_cp(from = "kthb/indicators/units.csv", to = "c:/temp/units.csv")
as well as:
units_head<- mc_head("kthb/indicators/units.csv")
However, when using mc_sql
the result only contains an error message:
units<- mc_sql("kthb/indicators/units.csv")
Error message:
"Unable to run sql for kthb/indicators/units.csv." Requested path
C:\Users\xxx\git\repo1\kthb\indicators\units.csvnot found C:\\Users\\xxx\\git\\repo1\\kthb\\indicators\\units.csv
Using Windows 11, R 4.2.2 and minioclient 0.0.5