Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mochizk authored Dec 6, 2018
1 parent 38dcc0b commit 2567ea5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -55,10 +55,19 @@ SELECT * FROM t1;
</pre>

## 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
Expand Down

0 comments on commit 2567ea5

Please sign in to comment.