Skip to content

Commit

Permalink
[8.x] [ES|QL] Retrieves ccs information for inspector on demand (#196105
Browse files Browse the repository at this point in the history
) (#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]>
  • Loading branch information
kibanamachine and stratoula authored Oct 16, 2024
1 parent 6a57340 commit 5c6d903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/kbn-es-types/src/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ export interface ESQLSearchParams {
query: string;
filter?: unknown;
locale?: string;
include_ccs_metadata?: boolean;
dropNullColumns?: boolean;
params?: Array<Record<string, string | undefined>>;
}
1 change: 1 addition & 0 deletions src/plugins/data/common/search/expressions/esql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
query,
// time_zone: timezone,
locale,
include_ccs_metadata: true,
};
if (input) {
const esQueryConfigs = getEsQueryConfig(
Expand Down

0 comments on commit 5c6d903

Please sign in to comment.