Skip to content

Commit 1c24ae2

Browse files
authored
Fix sql.translate request (#5380)
1 parent 754612e commit 1c24ae2

File tree

5 files changed

+29
-1
lines changed

5 files changed

+29
-1
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/sql/translate/TranslateSqlResponse.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
2121
import { long } from '@_types/Numeric'
2222
import { FieldAndFormat, QueryContainer } from '@_types/query_dsl/abstractions'
2323
import { Sort } from '@_types/sort'
24+
import { TrackHits } from '@global/search/_types/hits'
2425
import { SourceConfig } from '@global/search/_types/SourceFilter'
2526
import { Dictionary } from '@spec_utils/Dictionary'
2627

@@ -33,5 +34,6 @@ export class Response {
3334
fields?: Array<FieldAndFormat>
3435
query?: QueryContainer
3536
sort?: Sort
37+
track_total_hits?: TrackHits
3638
}
3739
}

0 commit comments

Comments
 (0)