---
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: 150
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/internal/promql/emptytable/
date: '2024-04-08T16:01:02-06:00'
lastmod: '2024-04-08T16:01:02-06:00'
---

* Flux 0.47.0+

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/).
