DBZ-7805 Support out-of-order tablespace-clause

This commit is contained in:
Chris Cranford 2024-04-26 10:40:45 -04:00 committed by Jiri Pechanec
parent f5f623d495
commit 19d366d685
2 changed files with 23 additions and 0 deletions

View File

@ -1903,6 +1903,7 @@ relational_table
physical_properties?
column_properties?
table_partitioning_clauses?
segment_attributes_clause? // LogMiner-specific
(CACHE | NOCACHE)? (RESULT_CACHE '(' MODE (DEFAULT | FORCE) ')')?
parallel_clause?
(ROWDEPENDENCIES | NOROWDEPENDENCIES)?

View File

@ -669,6 +669,28 @@ create table debezium.fruits (
description varchar2(50) annotations (UI_Display 'Description', Classification 'Fruit Info')
)
annotations (UI_Display 'Fruit Table', Classification 'Fruit Info');
CREATE TABLE SCHEMA_B.TABLE_A (
C_DATE VARCHAR2(8) NOT NULL,
C_SN NUMBER NOT NULL
)
PARTITION BY RANGE ( C_DATE )
--INTERVAL ( numtoyminterval( 1, 'MONTH' ) )
(
PARTITION TABLE_A_202401 VALUES LESS THAN ('20240201'),
PARTITION TABLE_A_202402 VALUES LESS THAN ('20240301'),
PARTITION TABLE_A_202403 VALUES LESS THAN ('20240401'),
PARTITION TABLE_A_202404 VALUES LESS THAN ('20240501'),
PARTITION TABLE_A_202405 VALUES LESS THAN ('20240601'),
PARTITION TABLE_A_202406 VALUES LESS THAN ('20240701'),
PARTITION TABLE_A_202407 VALUES LESS THAN ('20240801'),
PARTITION TABLE_A_202408 VALUES LESS THAN ('20240901'),
PARTITION TABLE_A_202409 VALUES LESS THAN ('20241001'),
PARTITION TABLE_A_202410 VALUES LESS THAN ('20241101'),
PARTITION TABLE_A_202411 VALUES LESS THAN ('20241201'),
PARTITION TABLE_A_202412 VALUES LESS THAN ('20250101'),
PARTITION TABLE_A_202501 VALUES LESS THAN ('20250201')
) TABLESPACE TS_A;
-- Create index (Oracle 23+)
create index hr.name IF NOT EXISTS on hr.table (id,data) tablespace ts;
-- Create user (Oracle 23+)