From cfe4efb136e227da2f9bbc47fdecfc02ce4e4c8b Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Thu, 6 Jul 2023 14:11:13 +0530 Subject: [PATCH 01/16] FDWs - Release Branch Added support for EPAS 16 to all 3 FDWs requirements overview pages. --- .../2/02_requirements_overview.mdx | 19 ++++++++++--------- .../5/02_requirements_overview.mdx | 19 ++++++++++--------- .../2/02_requirements_overview.mdx | 19 ++++++++++--------- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx b/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx index 1fc5fcb382d..92b503d1283 100644 --- a/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx @@ -8,12 +8,13 @@ The Hadoop Foreign Data Wrapper is supported on the same Linux platforms as EDB This table lists the latest Hadoop Foreign Data Wrapper versions and their supported corresponding EDB Postgres Advanced Server (EPAS) versions. -| Hadoop Foreign Data Wrapper | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | -| --------------------------- | ------- | ------- | ------- | ------- | ------- | -| 2.3.0 | Y | Y | Y | Y | Y | -| 2.2.0 | Y | Y | Y | Y | Y | -| 2.1.0 | N | Y | Y | Y | Y | -| 2.0.9 | N | Y | Y | Y | Y | -| 2.0.8 | N | N | Y | Y | Y | -| 2.0.7 | N | N | Y | Y | Y | -| 2.0.6 | N | N | Y | Y | Y | +| Hadoop Foreign Data Wrapper | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | +| --------------------------- | ------- | ------- | ------- | ------- | ------- | ------- | +| 2.3.1 | Y | Y | Y | Y | Y | Y | +| 2.3.0 | Y | Y | Y | Y | Y | Y | +| 2.2.0 | Y | Y | Y | Y | Y | Y | +| 2.1.0 | N | N | Y | Y | Y | Y | +| 2.0.9 | N | N | Y | Y | Y | Y | +| 2.0.8 | N | N | N | Y | Y | Y | +| 2.0.7 | N | N | N | Y | Y | Y | +| 2.0.6 | N | N | N | Y | Y | Y | diff --git a/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx b/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx index ce7d07d6468..c27f1efb887 100644 --- a/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx +++ b/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx @@ -8,13 +8,14 @@ MongoDB Foreign Data Wrapper is supported on the same platforms as EDB Postgres This table lists the latest MongoDB Foreign Data Wrapper versions and their supported corresponding EDB Postgres Advanced Server (EPAS) versions. -| MongoDB Foreign Data Wrapper | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | -| ---------------------------- | ------- | ------- | ------- | ------- | ------- | -| 5.5.0 | Y | Y | Y | Y | Y | -| 5.4.0 | Y | Y | Y | Y | Y | -| 5.3.0 | N | Y | Y | Y | Y | -| 5.2.10 | N | N | Y | Y | Y | -| 5.2.9 | N | N | Y | Y | Y | -| 5.2.8 | N | N | Y | Y | Y | -| 5.2.7 | N | N | Y | Y | Y | +| MongoDB Foreign Data Wrapper | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | +| ---------------------------- | ------- | ------- | ------- | ------- | ------- | ------- | +| 5.5.1 | Y | Y | Y | Y | Y | Y | +| 5.5.0 | Y | Y | Y | Y | Y | Y | +| 5.4.0 | Y | Y | Y | Y | Y | Y | +| 5.3.0 | N | N | Y | Y | Y | Y | +| 5.2.10 | N | N | N | Y | Y | Y | +| 5.2.9 | N | N | N | Y | Y | Y | +| 5.2.8 | N | N | N | Y | Y | Y | +| 5.2.7 | N | N | N | Y | Y | Y | diff --git a/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx b/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx index cb7be4ab095..58d08c10364 100644 --- a/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx +++ b/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx @@ -8,15 +8,16 @@ The MySQL Foreign Data Wrapper is supported on the same Linux platforms as EDB P This table lists the latest MySQL Foreign Data Wrapper versions and their supported corresponding EDB Postgres Advanced Server (EPAS) versions. -| MySQL Foreign Data Wrapper | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | -| -------------------------- | ------- | ------- | ------- | ------- | ------- | -| 2.9.0 | Y | Y | Y | Y | Y | -| 2.8.0 | Y | Y | Y | Y | Y | -| 2.7.0 | N | Y | Y | Y | Y | -| 2.6.1 | N | Y | Y | Y | Y | -| 2.6.0 | N | N | Y | Y | Y | -| 2.5.5 | N | N | Y | Y | Y | -| 2.5.4 | N | N | Y | Y | Y | +| MySQL Foreign Data Wrapper | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | +| -------------------------- | ------- | ------- | ------- | ------- | ------- | ------- | +| 2.9.1 | Y | Y | Y | Y | Y | Y | +| 2.9.0 | Y | Y | Y | Y | Y | Y | +| 2.8.0 | Y | Y | Y | Y | Y | Y | +| 2.7.0 | N | N | Y | Y | Y | Y | +| 2.6.1 | N | N | Y | Y | Y | Y | +| 2.6.0 | N | N | N | Y | Y | Y | +| 2.5.5 | N | N | N | Y | Y | Y | +| 2.5.4 | N | N | N | Y | Y | Y | ## MySQL support From ca45132b73b0b16a286068d4203e5ad9a4853d05 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 12 Jul 2023 16:57:45 +0530 Subject: [PATCH 02/16] updated Join pushdown --- .../docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx | 3 +++ product_docs/docs/hadoop_data_adapter/2/index.mdx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx b/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx index 4cb8e731600..d4e6dcfea0c 100644 --- a/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx @@ -209,3 +209,6 @@ __OUTPUT__ Remote SQL: SELECT `deptno`, `dname` FROM `fdw_db`.`dept` (14 rows) ``` + +!!! Note + You can also enable/disable join pushdown at the server level using a GUC. For more information, see [Create Server](https://www.enterprisedb.com/docs/hadoop_data_adapter/latest/configuring/#create-server). diff --git a/product_docs/docs/hadoop_data_adapter/2/index.mdx b/product_docs/docs/hadoop_data_adapter/2/index.mdx index 1cc11132edf..370313b2fb0 100644 --- a/product_docs/docs/hadoop_data_adapter/2/index.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/index.mdx @@ -17,8 +17,8 @@ navigation: - 09_using_the_hadoop_data_adapter - 10a_example_join_pushdown - 10b_example_aggregate_pushdown -- 10c_example_order_by_push_down -- 10d_example_limit_offset_push_down +- 10c_example_order_by_pushdown +- 10d_example_limit_offset_pushdown - "#Troubleshooting" - 10_identifying_data_adapter_version From b934a7621ff1635d5237f17a79d3bcb305e02404 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 12 Jul 2023 16:58:08 +0530 Subject: [PATCH 03/16] Updated configuration with new GUC parameters --- product_docs/docs/hadoop_data_adapter/2/configuring.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/configuring.mdx b/product_docs/docs/hadoop_data_adapter/2/configuring.mdx index 1f03754f7d7..fd3542771a2 100644 --- a/product_docs/docs/hadoop_data_adapter/2/configuring.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/configuring.mdx @@ -94,7 +94,9 @@ The role that defines the server is the owner of the server. Use the `ALTER SERV | client_type | Specify `hiveserver2` or `spark` as the client type. To use the `ANALYZE` statement on Spark, you must specify a value of `spark`. The default value is `hiveserver2`. | | auth_type
| The authentication type of the client. Specify `LDAP` or `NOSASL`. If you don't specify an `auth_type`, the data wrapper decides the `auth_type` value on the basis of the user mapping. If the user mapping includes a user name and password, the data wrapper uses LDAP authentication. If the user mapping doesn't include a user name and password, the data wrapper uses NOSASL authentication. | | connect_timeout | The length of time before a connection attempt times out. The default value is 300 seconds | -| enable_join_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table and, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_aggregate_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_join_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table and, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_order_by_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | | fetch_size | Provided as a parameter to the JDBC API `setFetchSize`. The default value is `10,000`. | | log_remote_sql | If `true`, logging includes SQL commands executed on the remote Hive server and the number of times that a scan is repeated. The default is `false`. | | query_timeout | Use `query_timeout` to provide the number of seconds after which a request times out if it isn't satisfied by the Hive server. Query timeout is not supported by the Hive JDBC driver. | @@ -253,7 +255,9 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] table_name ( [ | ---------- | --------------------------------------------------------------------------------------- | | dbname | The name of the database on the Hive server. The database name is required. | | table_name | The name of the table on the Hive server. The default is the name of the foreign table. | +| enable_aggregate_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | | enable_join_pushdown | Similar to the server-level option but configured at table level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. If any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_order_by_pushdown | Similar to the server-level option but configured at the table-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | ### Example From b2ead28afa391ec95bc06506d9a7cfa9b8014a37 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 12 Jul 2023 16:58:52 +0530 Subject: [PATCH 04/16] Updated order by and aggregate pushdown examples for hadoop --- .../2/10b_example_aggregate_pushdown.mdx | 6 +++++- .../hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx b/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx index e3fdc8f6a05..17f506d4cd1 100644 --- a/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx @@ -65,9 +65,10 @@ CREATE FOREIGN TABLE emp ( SERVER hdfs_server OPTIONS (dbname 'fdw_db', table_name 'emp'); ``` -Query with aggregate pushdown: +Enable/disable GUC for AGGREGATE pushdown queries at the session level: ```sql +SET hdfs_fdw.enable_aggregate_pushdown to true; -- aggregate functions EXPLAIN (VERBOSE, COSTS OFF) SELECT deptno, COUNT(*),SUM(sal),MAX(sal),MIN(sal),AVG(sal) FROM emp @@ -86,3 +87,6 @@ QUERY PLAN Remote SQL: SELECT `deptno`, count(*), sum(`sal`), max(`sal`), min(`sal`), avg(`sal`) FROM `k_test`.`emp` WHERE (`deptno` IN (10,20)) GROUP BY `deptno` (7 rows) ``` + +!!! Note + You can also enable/disable aggregate pushdown at the server/table level using a GUC. For more information, see [create server](/hadoop_data_adapter/latest/configuring/#create-server) and [create foreign table](/hadoop_data_adapter/latest/configuring/#create-foreign-table). diff --git a/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx b/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx index 3159e371446..4cca6eb5fea 100644 --- a/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx @@ -58,7 +58,7 @@ CREATE FOREIGN TABLE emp ( SERVER hdfs_server OPTIONS (dbname 'fdw_db', table_name 'emp'); ``` -Query with ORDER BY pushdown: +Enable/disable GUC for ORDER BY pushdown queries at the session level: ```sql edb=# SET hdfs_fdw.enable_order_by_pushdown TO ON; @@ -81,3 +81,6 @@ __OUTPUT__ -> Foreign Scan on emp (3 rows) ``` + +!!! Note + You can also enable/disable ORDER BY pushdown at the server/table level using a GUC. For more information, see [create server](/hadoop_data_adapter/latest/configuring/#create-server) and [create foreign table](/hadoop_data_adapter/latest/configuring/#create-foreign-table). From 6ec0f7479d50bebe6265792c56d05305bd2b1a48 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:04:01 +0530 Subject: [PATCH 05/16] Added GUC parameters to configuing section for MongoDB --- product_docs/docs/mongo_data_adapter/5/configuring.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/product_docs/docs/mongo_data_adapter/5/configuring.mdx b/product_docs/docs/mongo_data_adapter/5/configuring.mdx index 189aa889c23..b048ee6c43e 100644 --- a/product_docs/docs/mongo_data_adapter/5/configuring.mdx +++ b/product_docs/docs/mongo_data_adapter/5/configuring.mdx @@ -80,7 +80,9 @@ The role that defines the server is the owner of the server. Use the `ALTER SERV | ca_dir | SSL option. | | crl_file | SSL option. | | weak_cert_validation | SSL option. The default value is `false`. | -| enable_join_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has the option set to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`.| +| enable_aggregate_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_join_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has the option set to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`.| +| enable_order_by_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | ### Example @@ -230,7 +232,9 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] table_name ( [ | ---------- | --------------------------------------------------------------------------------- | | database | The name of the database to query. The default value is `test`. | | collection | The name of the collection to query. The default value is the foreign table name. | +| enable_aggregate_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | | enable_join_pushdown | Similar to the server-level option but configured at table level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_order_by_pushdown | Similar to the server-level option but configured at the table-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | ### Example From bdf4fd7370580fc90171eb9842351e75fb5ad68c Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:15:20 +0530 Subject: [PATCH 06/16] Updated JOIN, ORDER BY, and aggregate pushdown examples with GUC parameters --- .../5/08a_example_join_pushdown.mdx | 16 +++++++++++++++- .../5/08b_example_aggregate_pushdown.mdx | 16 +++++++++++++++- .../5/example_order_by_push_down.mdx | 19 ++++++++++++++++++- 3 files changed, 48 insertions(+), 3 deletions(-) diff --git a/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx b/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx index 25c22914f19..629bb36445c 100644 --- a/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx +++ b/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx @@ -33,8 +33,22 @@ INSERT INTO dept VALUES (0, 10, 'SALES'); INSERT INTO dept VALUES (0, 20, 'ENGG'); INSERT INTO dept VALUES (0, 30, 'IT'); ``` +Enable/disable GUC for JOIN pushdown queries at the session level or table level or at the server level: + +```sql +-- Session level +edb=# SET mongo_fdw.enable_join_pushdown to true; +SET +-- Table level +edb=# ALTER FOREIGN TABLE emp OPTIONS (ADD enable_join_pushdown 'true'); +Table altered +-- Server level +edb=# ALTER SERVER mongo_server OPTIONS (ADD enable_join_pushdown 'true'); +altered +``` + +Query with JOIN pushdown: -The output: ```sql --inner join edb=# EXPLAIN VERBOSE SELECT e.ename, d.dname FROM emp e INNER JOIN dept d ON (e.deptid = d.deptid); diff --git a/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx b/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx index 997794f6284..8e4276e963d 100644 --- a/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx +++ b/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx @@ -32,7 +32,21 @@ INSERT INTO emp VALUES (0, 120, 20); INSERT INTO emp VALUES (0, 130, 30); ``` -The output: +Enable/disable GUC for aggregate pushdown queries at the session level or table level or at the server level: + +```sql +-- Session level +edb=# SET mongo_fdw.enable_aggregate_pushdown to true; +SET +-- Table level +edb=# ALTER FOREIGN TABLE emp OPTIONS (ADD enable_aggregate_pushdown 'true'); +Table altered +-- Server level +edb=# ALTER SERVER mongo_server OPTIONS (ADD enable_aggregate_pushdown 'true'); +altered +``` + +Query with aggregate pushdown: ```sql -- COUNT function diff --git a/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx b/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx index 902d128641d..4cced9abe75 100644 --- a/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx +++ b/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx @@ -36,8 +36,25 @@ edb-# BY eid ASC NULLS FIRST; 130 | 130 | 1 140 | 140 | 1 (4 rows) +``` -edb=# +Enable/disable GUC for ORDER BY pushdown queries at the session level or table level or at the server level: + +```sql +-- Session level +edb=# SET mongo_fdw.enable_order_by_pushdown to true; +SET +-- Table level +edb=# ALTER FOREIGN TABLE emp OPTIONS (ADD enable_order_by_pushdown 'true'); +Table altered +-- Server level +edb=# ALTER SERVER mongo_server OPTIONS (ADD enable_order_by_pushdown 'true'); +altered +``` + +Query with ORDER BY pushdown: + +```sql edb=# EXPLAIN (VERBOSE, COSTS FALSE) edb-# SELECT eid, sum(eid), count(*) FROM emp GROUP BY eid HAVING min(eid) > 100 ORDER edb-# BY eid ASC NULLS FIRST; From fde5b89886354c2f901a7bf523c7fec2169ba6e4 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Fri, 14 Jul 2023 17:37:59 +0530 Subject: [PATCH 07/16] Changes done to supported versions as per review comments from Kashif --- .../docs/hadoop_data_adapter/2/02_requirements_overview.mdx | 4 ++-- .../docs/mongo_data_adapter/5/02_requirements_overview.mdx | 4 ++-- .../docs/mysql_data_adapter/2/02_requirements_overview.mdx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx b/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx index 92b503d1283..7eb214856fc 100644 --- a/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/02_requirements_overview.mdx @@ -11,8 +11,8 @@ This table lists the latest Hadoop Foreign Data Wrapper versions and their suppo | Hadoop Foreign Data Wrapper | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | | --------------------------- | ------- | ------- | ------- | ------- | ------- | ------- | | 2.3.1 | Y | Y | Y | Y | Y | Y | -| 2.3.0 | Y | Y | Y | Y | Y | Y | -| 2.2.0 | Y | Y | Y | Y | Y | Y | +| 2.3.0 | N | Y | Y | Y | Y | Y | +| 2.2.0 | N | Y | Y | Y | Y | Y | | 2.1.0 | N | N | Y | Y | Y | Y | | 2.0.9 | N | N | Y | Y | Y | Y | | 2.0.8 | N | N | N | Y | Y | Y | diff --git a/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx b/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx index c27f1efb887..8b196972c30 100644 --- a/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx +++ b/product_docs/docs/mongo_data_adapter/5/02_requirements_overview.mdx @@ -11,8 +11,8 @@ MongoDB Foreign Data Wrapper is supported on the same platforms as EDB Postgres | MongoDB Foreign Data Wrapper | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | | ---------------------------- | ------- | ------- | ------- | ------- | ------- | ------- | | 5.5.1 | Y | Y | Y | Y | Y | Y | -| 5.5.0 | Y | Y | Y | Y | Y | Y | -| 5.4.0 | Y | Y | Y | Y | Y | Y | +| 5.5.0 | N | Y | Y | Y | Y | Y | +| 5.4.0 | N | Y | Y | Y | Y | Y | | 5.3.0 | N | N | Y | Y | Y | Y | | 5.2.10 | N | N | N | Y | Y | Y | | 5.2.9 | N | N | N | Y | Y | Y | diff --git a/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx b/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx index 58d08c10364..4261ea405d5 100644 --- a/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx +++ b/product_docs/docs/mysql_data_adapter/2/02_requirements_overview.mdx @@ -11,8 +11,8 @@ This table lists the latest MySQL Foreign Data Wrapper versions and their suppor | MySQL Foreign Data Wrapper | EPAS 16 | EPAS 15 | EPAS 14 | EPAS 13 | EPAS 12 | EPAS 11 | | -------------------------- | ------- | ------- | ------- | ------- | ------- | ------- | | 2.9.1 | Y | Y | Y | Y | Y | Y | -| 2.9.0 | Y | Y | Y | Y | Y | Y | -| 2.8.0 | Y | Y | Y | Y | Y | Y | +| 2.9.0 | N | Y | Y | Y | Y | Y | +| 2.8.0 | N | Y | Y | Y | Y | Y | | 2.7.0 | N | N | Y | Y | Y | Y | | 2.6.1 | N | N | Y | Y | Y | Y | | 2.6.0 | N | N | N | Y | Y | Y | From b89c26c568bc2c4b3118893b938021dfae909655 Mon Sep 17 00:00:00 2001 From: Betsy Gitelman <93718720+ebgitelman@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:51:45 -0400 Subject: [PATCH 08/16] copy edits to new mongo and hadoop content --- .../2/10a_example_join_pushdown.mdx | 4 ++-- .../2/10b_example_aggregate_pushdown.mdx | 4 ++-- .../2/10c_example_order_by_pushdown.mdx | 2 +- .../docs/hadoop_data_adapter/2/configuring.mdx | 12 ++++++------ .../5/08a_example_join_pushdown.mdx | 2 +- .../5/08b_example_aggregate_pushdown.mdx | 2 +- .../docs/mongo_data_adapter/5/configuring.mdx | 12 ++++++------ .../5/example_order_by_push_down.mdx | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx b/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx index d4e6dcfea0c..117dee41d6c 100644 --- a/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/10a_example_join_pushdown.mdx @@ -133,7 +133,7 @@ __OUTPUT__ (4 rows) ``` -Enable/disable GUC for join pushdown queries at table level: +Enable/disable GUC for join pushdown queries at the table level: ```sql -- enable join pushdown at the table level @@ -211,4 +211,4 @@ __OUTPUT__ ``` !!! Note - You can also enable/disable join pushdown at the server level using a GUC. For more information, see [Create Server](https://www.enterprisedb.com/docs/hadoop_data_adapter/latest/configuring/#create-server). + You can also enable/disable join pushdown at the server level using a GUC. For more information, see [CREATE SERVER](configuring/#create-server). diff --git a/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx b/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx index 17f506d4cd1..9bb06a6e9bc 100644 --- a/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/10b_example_aggregate_pushdown.mdx @@ -2,7 +2,7 @@ title: "Example: Aggregate pushdown " --- -This example shows aggregate pushdown between the foreign tables of the same remote HIVE/SPARK server to that remote HIVE/SPARK server: +This example shows aggregate pushdown between the foreign tables of the same remote HIVE/SPARK server to that remote HIVE/SPARK server. Tables on HIVE/SPARK server: @@ -89,4 +89,4 @@ QUERY PLAN ``` !!! Note - You can also enable/disable aggregate pushdown at the server/table level using a GUC. For more information, see [create server](/hadoop_data_adapter/latest/configuring/#create-server) and [create foreign table](/hadoop_data_adapter/latest/configuring/#create-foreign-table). + You can also enable/disable aggregate pushdown at the server/table level using a GUC. For more information, see [CREATE SERVER](onfiguring/#create-server) and [CREATE FOREIGN TABLE](configuring/#create-foreign-table). diff --git a/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx b/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx index 4cca6eb5fea..8f5e6fbb859 100644 --- a/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/10c_example_order_by_pushdown.mdx @@ -2,7 +2,7 @@ title: "Example: ORDER BY pushdown " --- -This example shows ORDER BY pushdown between the foreign tables of the same remote HIVE/SPARK server as the remote HIVE/SPARK server: +This example shows ORDER BY pushdown between the foreign tables of the same remote HIVE/SPARK server as the remote HIVE/SPARK server. Tables on HIVE/SPARK server: diff --git a/product_docs/docs/hadoop_data_adapter/2/configuring.mdx b/product_docs/docs/hadoop_data_adapter/2/configuring.mdx index fd3542771a2..1de99c8528c 100644 --- a/product_docs/docs/hadoop_data_adapter/2/configuring.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/configuring.mdx @@ -94,9 +94,9 @@ The role that defines the server is the owner of the server. Use the `ALTER SERV | client_type | Specify `hiveserver2` or `spark` as the client type. To use the `ANALYZE` statement on Spark, you must specify a value of `spark`. The default value is `hiveserver2`. | | auth_type
| The authentication type of the client. Specify `LDAP` or `NOSASL`. If you don't specify an `auth_type`, the data wrapper decides the `auth_type` value on the basis of the user mapping. If the user mapping includes a user name and password, the data wrapper uses LDAP authentication. If the user mapping doesn't include a user name and password, the data wrapper uses NOSASL authentication. | | connect_timeout | The length of time before a connection attempt times out. The default value is 300 seconds | -| enable_aggregate_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_join_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table and, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_order_by_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_aggregate_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the aggregate operations to the foreign server instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_join_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table and, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_order_by_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the order-by operation to the foreign server instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | | fetch_size | Provided as a parameter to the JDBC API `setFetchSize`. The default value is `10,000`. | | log_remote_sql | If `true`, logging includes SQL commands executed on the remote Hive server and the number of times that a scan is repeated. The default is `false`. | | query_timeout | Use `query_timeout` to provide the number of seconds after which a request times out if it isn't satisfied by the Hive server. Query timeout is not supported by the Hive JDBC driver. | @@ -255,9 +255,9 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] table_name ( [ | ---------- | --------------------------------------------------------------------------------------- | | dbname | The name of the database on the Hive server. The database name is required. | | table_name | The name of the table on the Hive server. The default is the name of the foreign table. | -| enable_aggregate_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_join_pushdown | Similar to the server-level option but configured at table level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. If any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_order_by_pushdown | Similar to the server-level option but configured at the table-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_aggregate_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the aggregate operations to the foreign server instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_join_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. If any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_order_by_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the order-by operation to the foreign server instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | ### Example diff --git a/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx b/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx index 629bb36445c..a1faba18855 100644 --- a/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx +++ b/product_docs/docs/mongo_data_adapter/5/08a_example_join_pushdown.mdx @@ -33,7 +33,7 @@ INSERT INTO dept VALUES (0, 10, 'SALES'); INSERT INTO dept VALUES (0, 20, 'ENGG'); INSERT INTO dept VALUES (0, 30, 'IT'); ``` -Enable/disable GUC for JOIN pushdown queries at the session level or table level or at the server level: +Enable/disable GUC for JOIN pushdown queries at the session level, table level, or server level: ```sql -- Session level diff --git a/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx b/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx index 8e4276e963d..eac44147946 100644 --- a/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx +++ b/product_docs/docs/mongo_data_adapter/5/08b_example_aggregate_pushdown.mdx @@ -32,7 +32,7 @@ INSERT INTO emp VALUES (0, 120, 20); INSERT INTO emp VALUES (0, 130, 30); ``` -Enable/disable GUC for aggregate pushdown queries at the session level or table level or at the server level: +Enable/disable GUC for aggregate pushdown queries at the session level, table level, or server level: ```sql -- Session level diff --git a/product_docs/docs/mongo_data_adapter/5/configuring.mdx b/product_docs/docs/mongo_data_adapter/5/configuring.mdx index b048ee6c43e..81057620de6 100644 --- a/product_docs/docs/mongo_data_adapter/5/configuring.mdx +++ b/product_docs/docs/mongo_data_adapter/5/configuring.mdx @@ -80,9 +80,9 @@ The role that defines the server is the owner of the server. Use the `ALTER SERV | ca_dir | SSL option. | | crl_file | SSL option. | | weak_cert_validation | SSL option. The default value is `false`. | -| enable_aggregate_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_join_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has the option set to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`.| -| enable_order_by_pushdown | Similar to the table-level option but configured at the server-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_aggregate_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the aggregate operations to the foreign server instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_join_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has the option set to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`.| +| enable_order_by_pushdown | Similar to the table-level option but configured at the server level. If `true`, pushes the order-by operation to the foreign server instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | ### Example @@ -232,9 +232,9 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] table_name ( [ | ---------- | --------------------------------------------------------------------------------- | | database | The name of the database to query. The default value is `test`. | | collection | The name of the collection to query. The default value is the foreign table name. | -| enable_aggregate_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the aggregate operations to the foreign server, instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_join_pushdown | Similar to the server-level option but configured at table level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | -| enable_order_by_pushdown | Similar to the server-level option but configured at the table-level. If `true`, pushes the order by operation to the foreign server, instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_aggregate_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the aggregate operations to the foreign server instead of fetching rows from the foreign server and performing the operations locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_join_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the join between two foreign tables from the same foreign server instead of fetching all the rows for both the tables and performing a join locally. You can also set this option for an individual table. In this case, if any of the tables involved in the join has set the option to `false`, then the join isn't pushed down. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | +| enable_order_by_pushdown | Similar to the server-level option but configured at the table level. If `true`, pushes the order-by operation to the foreign server instead of fetching rows from the foreign server and performing the sort locally. You can also set this option for an individual table. The table-level value of the option takes precedence over the server-level option value. Default is `true`. | ### Example diff --git a/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx b/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx index 4cced9abe75..823a262c733 100644 --- a/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx +++ b/product_docs/docs/mongo_data_adapter/5/example_order_by_push_down.mdx @@ -38,7 +38,7 @@ edb-# BY eid ASC NULLS FIRST; (4 rows) ``` -Enable/disable GUC for ORDER BY pushdown queries at the session level or table level or at the server level: +Enable/disable GUC for ORDER BY pushdown queries at the session level, table level, or server level: ```sql -- Session level From e3d1c4e4f030b6a3e3886a0d01892a7cb5447ee2 Mon Sep 17 00:00:00 2001 From: nidhibhammar <59045594+nidhibhammar@users.noreply.github.com> Date: Wed, 19 Jul 2023 13:14:04 +0530 Subject: [PATCH 09/16] Added release notes --- .../2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx | 14 ++++++++++++++ .../2/hadoop_rel_notes/index.mdx | 2 ++ .../mongo_data_adapter/5/mongo_rel_notes/index.mdx | 2 ++ .../5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx | 13 +++++++++++++ .../mysql_data_adapter/2/mysql_rel_notes/index.mdx | 2 ++ .../2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx | 14 ++++++++++++++ 6 files changed, 47 insertions(+) create mode 100644 product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx create mode 100644 product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx create mode 100644 product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx diff --git a/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx b/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx new file mode 100644 index 00000000000..f4d26000b8a --- /dev/null +++ b/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx @@ -0,0 +1,14 @@ +--- +title: "Version 2.3.1" +--- + +Enhancements, bug fixes, and other changes in Hadoop Foreign Data Wrapper 2.3.1 include: + +| Type | Description | +| ----------- |--------------------------------------------------------------------------------------------------------------------------------- | +| Enhancement | Added support for PostgreSQL 16. | +| Feature | Added `enable_join_pushdown` and `enable_aggregate_pushdown` GUCs to support JOIN and AGGREGATE pushdowns respectively. | +| Feature | Added table and server level option to `enable_order_by_pushdown` and `enable_aggregate_pushdown` GUCs. | + + + diff --git a/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/index.mdx b/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/index.mdx index 492c56b03a2..04658f3c2c7 100644 --- a/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/index.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/index.mdx @@ -3,6 +3,7 @@ title: "Release Notes" redirects: - ../01_whats_new/ navigation: +- hadoop_rel_notes_2.3.1 - hadoop_rel_notes_2.3.0 - hadoop_rel_notes_2.2.0 - hadoop_rel_notes_2.1.0 @@ -17,6 +18,7 @@ The Hadoop Foreign Data Wrapper documentation describes the latest version inclu | Version | Release Date | | --------------------------------| ------------ | +| [2.3.1](hadoop_rel_notes_2.3.1) | 2023 Jul 20 | | [2.3.0](hadoop_rel_notes_2.3.0) | 2023 Jan 06 | | [2.2.0](hadoop_rel_notes_2.2.0) | 2022 May 26 | | [2.1.0](hadoop_rel_notes_2.1.0) | 2021 Dec 02 | diff --git a/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/index.mdx b/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/index.mdx index ef5e01247a4..3e99eee7f41 100644 --- a/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/index.mdx +++ b/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/index.mdx @@ -3,6 +3,7 @@ title: "Release notes" redirects: - ../01_whats_new/ navigation: +- mongo5.5.1_rel_notes - mongo5.5.0_rel_notes - mongo5.4.0_rel_notes - mongo5.3.0_rel_notes @@ -16,6 +17,7 @@ The Mongo Foreign Data Wrapper documentation describes the latest version of Mon | Version | Release date | | ----------------------------- | ------------ | +| [5.5.1](mongo5.5.1_rel_notes) | 2023 Jul 20 | | [5.5.0](mongo5.5.0_rel_notes) | 2023 Jan 06 | | [5.4.0](mongo5.4.0_rel_notes) | 2022 May 26 | | [5.3.0](mongo5.3.0_rel_notes) | 2021 Dec 02 | diff --git a/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx b/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx new file mode 100644 index 00000000000..947bebf0b8b --- /dev/null +++ b/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx @@ -0,0 +1,13 @@ +--- +title: "Version 5.5.0" +--- + +Enhancements, bug fixes, and other changes in MongoDB Foreign Data Wrapper 5.5.0 +include: + +| Type | Description | +| ----------- | -------------------------------------------------------------------------------------------------------------------------------- | +| Enhancement | Added support for PostgreSQL 16. | +| Feature | Added `enable_join_pushdown` and `enable_aggregate_pushdown` GUCs to support JOIN and AGGREGATE push downs respectively. | +| Feature | Added table and server level option to `enable_order_by_pushdown` GUC. | +| Bugfix | Fixed boolean expression handling in building the query document. | \ No newline at end of file diff --git a/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/index.mdx b/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/index.mdx index e24ccd46581..ed38e10191e 100644 --- a/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/index.mdx +++ b/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/index.mdx @@ -3,6 +3,7 @@ title: "Release notes" redirects: - ../01_whats_new/ navigation: +- mysql2.9.1_rel_notes - mysql2.9.0_rel_notes - mysql2.8.0_rel_notes - mysql2.7.0_rel_notes @@ -16,6 +17,7 @@ The MySQL Foreign Data Wrapper documentation describes the latest version of MyS | Version | Release Date | | ----------------------------- | ------------ | +| [2.9.1](mysql2.9.1_rel_notes) | 2023 Jul 20 | | [2.9.0](mysql2.9.0_rel_notes) | 2023 Jan 06 | | [2.8.0](mysql2.8.0_rel_notes) | 2022 May 26 | | [2.7.0](mysql2.7.0_rel_notes) | 2021 Dec 02 | diff --git a/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx b/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx new file mode 100644 index 00000000000..dd35f117e39 --- /dev/null +++ b/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx @@ -0,0 +1,14 @@ +--- +title: "Version 2.9.1" +--- + + +Enhancements, bug fixes, and other changes in MySQL Foreign Data Wrapper 2.9.1 include: + +| Type | Description | +| ----------- |----------------------------------------------------------------------------------------------------------------------------------| +| Enhancement | Added support for PostgreSQL 16. | +| Enhancement | Added operators and functions entries in the default `mysql_fdw_pushdown.config` file. | +| Bug | Fixed the incorrect quoting in generating EXPLAIN plan of the query. | + + From 9324fbcacf3f994152480fe348343e4f84a637f4 Mon Sep 17 00:00:00 2001 From: Matthew Gwillam <71602865+matthew123987@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:20:15 +0100 Subject: [PATCH 10/16] Update configuring_pgBouncer.mdx adding missing bracket --- .../9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx b/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx index c0c12aa0a30..dcdf88d3a9b 100644 --- a/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx +++ b/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx @@ -96,7 +96,7 @@ This example runs PgBouncer as the enterprisedb system user and outlines the pro pem=# COPY ( SELECT 'pgbouncer'::TEXT, 'pgbouncer_password' UNION ALL - SELECT 'pem_admin1'::TEXT, 'pem_admin1_password' + SELECT 'pem_admin1'::TEXT, 'pem_admin1_password') TO '/etc/edb/pgbouncer<1.x>/userlist.txt' WITH (FORMAT CSV, DELIMITER ' ', FORCE_QUOTE *); __OUTPUT__ From 4dd987478d29265bd66f6305ef4d8b7357869d47 Mon Sep 17 00:00:00 2001 From: Matthew Gwillam <71602865+matthew123987@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:21:03 +0100 Subject: [PATCH 11/16] Update configuring_pgBouncer.mdx add missing bracket, remove COPY from comment --- .../9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx b/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx index dcdf88d3a9b..c25887e3c24 100644 --- a/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx +++ b/product_docs/docs/pem/9/considerations/pem_pgbouncer/configuring_pgBouncer.mdx @@ -93,7 +93,8 @@ This example runs PgBouncer as the enterprisedb system user and outlines the pro ## username and their password list in CSV format $ psql -p 5444 -d pem -U enterprisedb - pem=# COPY ( + pem=# + COPY ( SELECT 'pgbouncer'::TEXT, 'pgbouncer_password' UNION ALL SELECT 'pem_admin1'::TEXT, 'pem_admin1_password') From 1fa741252e577caf603011d5890a4882fcd67769 Mon Sep 17 00:00:00 2001 From: Matthew Gwillam <71602865+matthew123987@users.noreply.github.com> Date: Sun, 23 Jul 2023 22:57:46 +0100 Subject: [PATCH 12/16] Update preparing_the_pem_database_server.mdx pem_admin1 needs create role permission: ``` [root@pemssl edb]# PEM_SERVER_PASSWORD=pass /usr/edb/pem/agent/bin/pemworker --register-agent --pem-server 192.168.102.14 --pem-port 6432 --pem-user pem_admin1 --pem-agent-user pem_agent_user1 --display-name pem_server_pgbouncer Sun Jul 23 21:50:24 2023 ERROR: ERROR: permission denied to create role CONTEXT: SQL statement "CREATE ROLE agent5 WITH LOGIN" PL/pgSQL function pem.create_agent(character varying,integer,boolean) line 48 at EXECUTE ``` --- .../pem_pgbouncer/preparing_the_pem_database_server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx b/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx index b02e55d70fb..6748ee470b5 100644 --- a/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx +++ b/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx @@ -19,7 +19,7 @@ You must configure the PEM database server to work with PgBouncer. This example 2. Create a user named pem_admin1 (not a superuser) with `pem_admin` and `pem_agent_pool role` membership on the PEM database server: ```ini - pem=# CREATE USER pem_admin1 PASSWORD 'ANY_PASSWORD' LOGIN + pem=# CREATE USER pem_admin1 PASSWORD 'ANY_PASSWORD' LOGIN CREATEROLE; CREATEROLE; CREATE ROLE pem=# GRANT pem_admin, pem_agent_pool TO pem_admin1; From 1128ed7768876f1294fc3cfb724116367965b20a Mon Sep 17 00:00:00 2001 From: Matthew Gwillam <71602865+matthew123987@users.noreply.github.com> Date: Mon, 24 Jul 2023 11:11:56 +0100 Subject: [PATCH 13/16] Update product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx Co-authored-by: Simon Notley <43099400+sonotley@users.noreply.github.com> --- .../pem_pgbouncer/preparing_the_pem_database_server.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx b/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx index 6748ee470b5..6aef1d3d6e0 100644 --- a/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx +++ b/product_docs/docs/pem/9/considerations/pem_pgbouncer/preparing_the_pem_database_server.mdx @@ -20,7 +20,6 @@ You must configure the PEM database server to work with PgBouncer. This example ```ini pem=# CREATE USER pem_admin1 PASSWORD 'ANY_PASSWORD' LOGIN CREATEROLE; - CREATEROLE; CREATE ROLE pem=# GRANT pem_admin, pem_agent_pool TO pem_admin1; GRANT ROLE From e155624be5231dcce626c9ff16cc0b1abcfc65a3 Mon Sep 17 00:00:00 2001 From: Dee Dee Rothery <83650384+drothery-edb@users.noreply.github.com> Date: Mon, 24 Jul 2023 09:48:10 -0400 Subject: [PATCH 14/16] Update product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx --- .../2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx b/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx index f4d26000b8a..8094257927e 100644 --- a/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx +++ b/product_docs/docs/hadoop_data_adapter/2/hadoop_rel_notes/hadoop_rel_notes_2.3.1.mdx @@ -7,7 +7,7 @@ Enhancements, bug fixes, and other changes in Hadoop Foreign Data Wrapper 2.3.1 | Type | Description | | ----------- |--------------------------------------------------------------------------------------------------------------------------------- | | Enhancement | Added support for PostgreSQL 16. | -| Feature | Added `enable_join_pushdown` and `enable_aggregate_pushdown` GUCs to support JOIN and AGGREGATE pushdowns respectively. | +| Feature | Added `enable_join_pushdown` and `enable_aggregate_pushdown` GUCs to support JOIN and AGGREGATE pushdowns, respectively. | | Feature | Added table and server level option to `enable_order_by_pushdown` and `enable_aggregate_pushdown` GUCs. | From 267a12f8f2d23c146e6cc3754967a667385969f6 Mon Sep 17 00:00:00 2001 From: Dee Dee Rothery <83650384+drothery-edb@users.noreply.github.com> Date: Mon, 24 Jul 2023 09:48:44 -0400 Subject: [PATCH 15/16] Update product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx --- .../5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx b/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx index 947bebf0b8b..aec83cd0cc8 100644 --- a/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx +++ b/product_docs/docs/mongo_data_adapter/5/mongo_rel_notes/mongo5.5.1_rel_notes.mdx @@ -8,6 +8,6 @@ include: | Type | Description | | ----------- | -------------------------------------------------------------------------------------------------------------------------------- | | Enhancement | Added support for PostgreSQL 16. | -| Feature | Added `enable_join_pushdown` and `enable_aggregate_pushdown` GUCs to support JOIN and AGGREGATE push downs respectively. | +| Feature | Added `enable_join_pushdown` and `enable_aggregate_pushdown` GUCs to support JOIN and AGGREGATE push downs, respectively. | | Feature | Added table and server level option to `enable_order_by_pushdown` GUC. | | Bugfix | Fixed boolean expression handling in building the query document. | \ No newline at end of file From 27ba784ad83981fc12d86a288c140f18a1f2854f Mon Sep 17 00:00:00 2001 From: Dee Dee Rothery <83650384+drothery-edb@users.noreply.github.com> Date: Mon, 24 Jul 2023 09:48:57 -0400 Subject: [PATCH 16/16] Update product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx --- .../2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx b/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx index dd35f117e39..fab5abfd2ca 100644 --- a/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx +++ b/product_docs/docs/mysql_data_adapter/2/mysql_rel_notes/mysql2.9.1_rel_notes.mdx @@ -9,6 +9,6 @@ Enhancements, bug fixes, and other changes in MySQL Foreign Data Wrapper 2.9.1 i | ----------- |----------------------------------------------------------------------------------------------------------------------------------| | Enhancement | Added support for PostgreSQL 16. | | Enhancement | Added operators and functions entries in the default `mysql_fdw_pushdown.config` file. | -| Bug | Fixed the incorrect quoting in generating EXPLAIN plan of the query. | +| Bug | Fixed the incorrect quoting when generating EXPLAIN plan of the query. |