From 856b9cb2055c4e2a4157d426680cf59c1e4fdd4d Mon Sep 17 00:00:00 2001 From: Drew Tate Date: Mon, 23 Dec 2024 15:41:36 -0600 Subject: [PATCH] capitalize FROM --- .../public/query_string_input/esql_menu_popover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx b/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx index ba978debb73de..1b8226bb03cbf 100644 --- a/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx +++ b/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx @@ -56,7 +56,7 @@ export const ESQLMenuPopover: React.FC = ({ const esqlContextMenuPanels = useMemo(() => { const recommendedQueries = []; if (adHocDataview && typeof adHocDataview !== 'string') { - const queryString = `from ${adHocDataview.name}`; + const queryString = `FROM ${adHocDataview.name}`; const timeFieldName = adHocDataview.timeFieldName ?? adHocDataview.fields?.getByType('date')?.[0]?.name;