diff --git a/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml b/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml new file mode 100644 index 000000000000..acf99adf26d2 --- /dev/null +++ b/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml @@ -0,0 +1,38 @@ +meta: + config: |- + [runtime] + read_rt_size = 8 + write_rt_size = 8 + bg_rt_size = 8 + + [datanode] + [datanode.client] + timeout = "60s" +datanode: + config: |- + [runtime] + read_rt_size = 8 + write_rt_size = 8 + bg_rt_size = 8 + + [storage] + cache_path = "/data/greptimedb/s3cache" + cache_capacity = "256MB" +frontend: + config: |- + [runtime] + read_rt_size = 8 + write_rt_size = 8 + bg_rt_size = 8 + + [meta_client] + ddl_timeout = "60s" +objectStorage: + s3: + bucket: default + region: us-west-2 + root: test-root + endpoint: http://minio.minio.svc.cluster.local + credentials: + accessKeyId: rootuser + secretAccessKey: rootpass123 diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index e12c17b7eb80..6e1f06d8078c 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -290,6 +290,10 @@ jobs: minio: true kafka: false values: "with-minio.yaml" + - name: "Minio with Cache" + minio: true + kafka: false + values: "with-minio-and-cache.yaml" - name: "Remote WAL" minio: true kafka: true diff --git a/src/catalog/src/information_schema/tables.rs b/src/catalog/src/information_schema/tables.rs index 911f8aab2c9f..1056a164fc7f 100644 --- a/src/catalog/src/information_schema/tables.rs +++ b/src/catalog/src/information_schema/tables.rs @@ -105,7 +105,9 @@ impl InformationTable for InformationSchemaTables { .make_tables(Some(request)) .await .map(|x| x.into_df_record_batch()) - .map_err(Into::into) + .map_err(|err| { + datafusion::error::DataFusionError::External(format!("{err:?}").into()) + }) }), )); Ok(Box::pin(