---
title: promql.emptyTable() function
description: promql.emptyTable() returns an empty table, which is used as a helper function to implement PromQL’s time() and vector() functions.
url: https://docs.influxdata.com/flux/v0/stdlib/internal/promql/emptytable/
estimated_tokens: 398
product: Flux
version: v0
---

# promql.emptyTable() function

-   Flux 0.47.0+
-   View InfluxDB support

`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}]
```

For more information, see [Function type signatures](/flux/v0/function-type-signatures/).
