Skip to content

Commit 46eee2f

Browse files
committed
Add drop_null_columns parameter to /_query
1 parent 83caef9 commit 46eee2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

specification/esql/query/QueryRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ export interface Request extends RequestBase {
3838
* The character to use between values within a CSV row. Only valid for the CSV format.
3939
*/
4040
delimiter?: string
41+
/**
42+
* Should columns that are entirely `null` be removed from the `columns` and `values` portion of the results?
43+
* Defaults to `false`. If `true` then the response will include an extra section under the name `all_columns` which has the name of all columns.
44+
* @server_default false
45+
*/
46+
drop_null_columns?: boolean
4147
}
4248
/**
4349
* Use the `query` element to start a query. Use `time_zone` to specify an execution time zone and `columnar` to format the answer.

0 commit comments

Comments
 (0)