From 0ec00b12e2a8099baf8847f32a328ec7169e08c7 Mon Sep 17 00:00:00 2001 From: Anan Zhuang Date: Thu, 21 Nov 2024 12:18:08 -0800 Subject: [PATCH] Re-enable serverless mds support for index pattern (#8909) Signed-off-by: Anan Zhuang --- .../query_string/dataset_service/lib/index_pattern_type.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/data/public/query/query_string/dataset_service/lib/index_pattern_type.ts b/src/plugins/data/public/query/query_string/dataset_service/lib/index_pattern_type.ts index 5d230e0396bf..db2abe58a375 100644 --- a/src/plugins/data/public/query/query_string/dataset_service/lib/index_pattern_type.ts +++ b/src/plugins/data/public/query/query_string/dataset_service/lib/index_pattern_type.ts @@ -66,9 +66,6 @@ export const indexPatternTypeConfig: DatasetTypeConfig = { }, supportedLanguages: (dataset): string[] => { - if (dataset.dataSource?.type === 'OpenSearch Serverless') { - return ['kuery', 'lucene']; - } return ['kuery', 'lucene', 'PPL', 'SQL']; },