Skip to content

Commit 5c6d903

Browse files
[8.x] [ES|QL] Retrieves ccs information for inspector on demand (#196105) (#196511)
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Retrieves ccs information for inspector on demand (#196105)](#196105) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-16T09:39:00Z","message":"[ES|QL] Retrieves ccs information for inspector on demand (#196105)\n\n## Summary\r\n\r\nRetrieves the cluster details info on demand. Follow up of\r\nhttps://github.com/elastic/elasticsearch/pull/114437\r\n\r\nThis will display the cluster details info only when needed:\r\n- Discover inspector\r\n- Lens ES|QL charts inspector","sha":"fbe15fe7886102c1203c18ff87f3a0ea72e4b581","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL","v8.16.0"],"title":"[ES|QL] Retrieves ccs information for inspector on demand","number":196105,"url":"https://github.com/elastic/kibana/pull/196105","mergeCommit":{"message":"[ES|QL] Retrieves ccs information for inspector on demand (#196105)\n\n## Summary\r\n\r\nRetrieves the cluster details info on demand. Follow up of\r\nhttps://github.com/elastic/elasticsearch/pull/114437\r\n\r\nThis will display the cluster details info only when needed:\r\n- Discover inspector\r\n- Lens ES|QL charts inspector","sha":"fbe15fe7886102c1203c18ff87f3a0ea72e4b581"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196105","number":196105,"mergeCommit":{"message":"[ES|QL] Retrieves ccs information for inspector on demand (#196105)\n\n## Summary\r\n\r\nRetrieves the cluster details info on demand. Follow up of\r\nhttps://github.com/elastic/elasticsearch/pull/114437\r\n\r\nThis will display the cluster details info only when needed:\r\n- Discover inspector\r\n- Lens ES|QL charts inspector","sha":"fbe15fe7886102c1203c18ff87f3a0ea72e4b581"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <[email protected]>
1 parent 6a57340 commit 5c6d903

File tree

2 files changed

+2
-0
lines changed
  • packages/kbn-es-types/src
  • src/plugins/data/common/search/expressions

2 files changed

+2
-0
lines changed

packages/kbn-es-types/src/search.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ export interface ESQLSearchParams {
692692
query: string;
693693
filter?: unknown;
694694
locale?: string;
695+
include_ccs_metadata?: boolean;
695696
dropNullColumns?: boolean;
696697
params?: Array<Record<string, string | undefined>>;
697698
}

src/plugins/data/common/search/expressions/esql.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
164164
query,
165165
// time_zone: timezone,
166166
locale,
167+
include_ccs_metadata: true,
167168
};
168169
if (input) {
169170
const esQueryConfigs = getEsQueryConfig(

0 commit comments

Comments
 (0)