参考文档: https://doris.apache.org/zh-CN/docs/4.x/lakehouse/storages/s3
这个文档中的s3.use_path_style参数执行报错:
场景:
CREATE CATALOG xxxxx PROPERTIES (
'type' = 'paimon',
'warehouse' = 's3://xxx/xxx/xxx',
's3.endpoint' = 'http://domain',
's3.region' = 'default',
's3.access_key' = 'xxxx',
's3.secret_key' = 'xxxxx',
"s3.use_path_style" = "true"
);
SWITCH xxxxx;
SELECT * FROM db.table limit 10;
执行报错:
Server error: `ERROR 1105 (HY000): errCode = 2, detailMessage = Failed to init catalog: xxxxx, error: UnsupportedSchemeException: Could not find a file io implementation for scheme 's3' in the classpath. Hadoop FileSystem also cannot access this path 's3://xxx/xxx/xxx'.' SQL text omitted from user-facing error; enable debug SQL diagnostics to inspect the original statement.
"s3.use_path_style" = "true" 将s3. 去掉,使用use_path_style是正常的
是文档内容没更新么还是其他问题?