From f628264425f90269b6e4e1401b4a431289ed78fb Mon Sep 17 00:00:00 2001 From: Rasika03 Date: Thu, 26 Aug 2021 13:56:11 +0530 Subject: [PATCH 1/4] Added the restrictions for mod operator for XDB 6.2.15 release --- .../13_table_filters.mdx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx index d236d1bcb46..89b24c9cbf3 100644 --- a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx +++ b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx @@ -106,6 +106,21 @@ The `REPLICA IDENTITY FULL` setting on a source table ensures that certain types Table filters are not supported on binary data type columns. A binary data type is the Postgres data type `BYTEA`. In addition, table filters are not supported on Advanced Server columns with data types `BINARY`, `VARBINARY`, `BLOB`, `LONG RAW`, and `RAW` as these are alias names for the `BYTEA` data type. +**Filtering Restrictions on Operators** + +XDB supports modulus operator(denoted by %) to define a filter clause. However, the following restrictions apply: + +- You can have only a single filter condition using the modulus operator + +- You use it with any other conditions using AND, or OR operators + +XDB supports the modulus filter in the following formats: + +`deptno%3=0` + +`@deptno%3=0` + + ## Roadmap for Further Instructions The specific details on implementing table filtering depend upon whether you are using a single-master replication system or a multi-master replication system. The following is a roadmap to the relevant sections for each type of replication system. From 2bbe0b8ecc088cd9430688b76e485b0eb868c4d6 Mon Sep 17 00:00:00 2001 From: Rasika03 Date: Thu, 26 Aug 2021 14:18:04 +0530 Subject: [PATCH 2/4] minor content updates --- .../13_table_filters.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx index 89b24c9cbf3..4a06905add0 100644 --- a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx +++ b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx @@ -108,11 +108,11 @@ Table filters are not supported on binary data type columns. A binary data type **Filtering Restrictions on Operators** -XDB supports modulus operator(denoted by %) to define a filter clause. However, the following restrictions apply: +XDB supports modulus operator (denoted by %) to define a filter clause. However, the following restrictions apply: - You can have only a single filter condition using the modulus operator -- You use it with any other conditions using AND, or OR operators +- You use it with any other conditions using `AND`, or `OR` operators XDB supports the modulus filter in the following formats: From 1c8ddf45c8978df199ded77b45078f5da5b5bc8c Mon Sep 17 00:00:00 2001 From: Rasika03 Date: Thu, 26 Aug 2021 15:46:28 +0530 Subject: [PATCH 3/4] minor update in the content --- .../13_table_filters.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx index 4a06905add0..71f98664fb7 100644 --- a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx +++ b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx @@ -112,7 +112,7 @@ XDB supports modulus operator (denoted by %) to define a filter clause. However, - You can have only a single filter condition using the modulus operator -- You use it with any other conditions using `AND`, or `OR` operators +- You cannot use it with any other conditions using `AND`, or `OR` operators XDB supports the modulus filter in the following formats: From 195500d651192e07a9935b94dfaf80f7a97a44d3 Mon Sep 17 00:00:00 2001 From: Rasika03 <70322985+Rasika03@users.noreply.github.com> Date: Mon, 30 Aug 2021 20:31:31 +0530 Subject: [PATCH 4/4] Update product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx Co-authored-by: drothery-edb <83650384+drothery-edb@users.noreply.github.com> --- .../13_table_filters.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx index 71f98664fb7..72ae973966a 100644 --- a/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx +++ b/product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/13_table_filters.mdx @@ -112,7 +112,7 @@ XDB supports modulus operator (denoted by %) to define a filter clause. However, - You can have only a single filter condition using the modulus operator -- You cannot use it with any other conditions using `AND`, or `OR` operators +- You cannot use it with any other conditions using `AND` or `OR` operators XDB supports the modulus filter in the following formats: