1
CREATE SCHEMA A REPLICATION = TRUE;
1
CREATE SCHEMA A REPLICATE = TRUE;
2
2
SHOW CREATE SCHEMA A;
6
CREATE TABLE A (A SERIAL);
9
CREATE TABLE B (A SERIAL) REPLICATE = FALSE;
12
SELECT SCHEMA_NAME, IS_REPLICATED FROM DATA_DICTIONARY.SCHEMAS WHERE SCHEMA_NAME="A";
14
SELECT TABLE_NAME, IS_REPLICATED FROM DATA_DICTIONARY.TABLES WHERE TABLE_SCHEMA="A";
5
CREATE SCHEMA A REPLICATION = FALSE;
18
# Now we need to see if the table is inheriting the replication behavior
20
CREATE SCHEMA A REPLICATE = FALSE;
6
21
SHOW CREATE SCHEMA A;
25
CREATE TABLE A (A SERIAL);
28
CREATE TABLE B (A SERIAL) REPLICATE = TRUE;
31
SELECT SCHEMA_NAME, IS_REPLICATED FROM DATA_DICTIONARY.SCHEMAS WHERE SCHEMA_NAME="A";
33
SELECT TABLE_NAME, IS_REPLICATED FROM DATA_DICTIONARY.TABLES WHERE TABLE_SCHEMA="A";