influxql SHOW RETENTION POLICIES was returning empty duration column even when databases had retention periods configured. This fix instead accesses retention_period directly from catalog.db_schema(). The format matches the InfluxDB v1 format (e.g. 336h0m0s, 0s, 1h0m0s, etc). Co-authored-by: Martin Hilton <mhilton@influxdata.com> |
||
|---|---|---|
| .. | ||
| lib.rs | ||
| query_executor.rs | ||