From 2567ea56d68f1aa03b7d48aca29641546b6de6e1 Mon Sep 17 00:00:00 2001 From: mochizk <37055665+mochizk@users.noreply.github.com> Date: Thu, 6 Dec 2018 14:52:26 +0900 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4ecd3a0..766f4bd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # InfluxDB Foreign Data Wrapper for PostgreSQL This PostgreSQL extension is a Foreign Data Wrapper (FDW) for InfluxDB. -The current version can work with PostgreSQL 9.6 and 10. +The current version can work with PostgreSQL 9.6, 10 and 11. ## Installation Install InfluxDB Go client library @@ -55,10 +55,19 @@ SELECT * FROM t1; ## Features -- Only SELECT queries are supported. +- WHERE clauses including timestamp, interval and now functions are pushed down +- Simple aggregation wihtout GROUP BY are pushed down ## Limitations -- WHERE clauses are not pushed down to InfluxDB in current version. +- INSERT, UPDATE and DELETE are not supported. + +Following limitations originate from data model and query language of InfluxDB. +You can check a qeury executed in InfluxDB with `EXPLAIN (VERBOSE)` and why it behaves. +- Result sets have different number of rows depending on specified target list. +For example, `SELECT field1 FROM t1` and `SELECT field2 FROM t1` returns different number of rows if +the number of points with field1 and field2 are different in InfluxDB database. +- Complex boolean conditions not allowed in InfluxDB like `WHERE b = (a = true)` may cause error. +- Conditions including NULL may cause error. ## License Copyright (c) 2018, TOSHIBA Corporation