--- title: promql.emptyTable() function description: > `promql.emptyTable()` returns an empty table, which is used as a helper function to implement PromQL's [`time()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#time) and [`vector()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#vector) functions. menu: flux_v0_ref: name: promql.emptyTable parent: internal/promql identifier: internal/promql/emptyTable weight: 201 --- `promql.emptyTable()` returns an empty table, which is used as a helper function to implement PromQL's [`time()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#time) and [`vector()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#vector) functions. **Important**: The `internal/promql` package is not meant for external use. ##### Function type signature ```js () => stream[{_value: float, _time: time, _stop: time, _start: time}] ``` {{% caption %}} For more information, see [Function type signatures](/flux/v0/function-type-signatures/). {{% /caption %}}