Hi! I've extended my demo repository, andreas5588/demo-dbs-iris, to make it easy to test the FOREIGN SERVER and FOREIGN TABLE features in IRIS.
To achieve this, I created a namespace called FEDERATION. The idea is as follows:
- Set up JDBC connections for each namespace.
- Create a FOREIGN SERVER within the FEDERATION namespace for each connection.
- Define a FOREIGN TABLE a least for one table based on each foreign server.
The Script: demo-dbs-iris/src/sql/02_create_foreign_server.sql.png)
IRIS does not support executing SQL statements that combine tables from different namespaces.
.png)
.png)
.png)
.png)
.png)
.png)
.jpg)


