Commit 9d0d06d
authored
[PlSql] Multiple grammar improvements (#4640)
* [PlSql] Implement "drop materialized view log" syntax
* [PlSql] Implement "drop materialized view log" syntax test
* [PlSql] Improve "create sequence"
* [PlSql] Make UNUSABLE optional in on_comp_partitioned_clause
* [PlSql] Add shrink_clause as an option index partition modifications
* [PlSql] Add compute/estimate clauses to analyze
* [PlSql] Support parallel degree/instances sub-clauses
* [PlSql] Permit table_properties in any order
* [PlSql] Change relational_property precedence order
* [PlSql] Use constraint_name for partition by reference identifier
* [PlSql] Add internal/external to table_partition_description
* [PlSql] Allow physical properties in any order
* [PlSql] Allow in-memory clause on partition_storage_clause
This change also adjusts the behavior of inmemory_attributes so that the
SQL can supply these attributes in any order, as allowed by the engine.
* [PlSql] Add external table compression options
* [PlSql] Remove redundant physical_attributes_clause rule
* [PlSql] Support custom log groups on specific columns
* [PlSql] Add unique index supplemental logging
In Oracle 10g, supplemental logging was improved for logical replication
to include the "UNIQUE INDEX" clause to log columns that are not declared
as unique constraints, used by Streams and GoldenGate replication.
* [PlSql] Improve truncate_table grammar options
* [PlSql] Improve drop_table grammar options
* [PlSql] Support alter table modify subpartition
* [PlSql] Extend logical_replication_clause for Oracle 23
* [PlSql] Allow unnamed varray storage
* [PlSql] Permit quoted column types
* [PlSql] Extend identity_options coverage
* [PlSql] Improve virtual_column_definition rule
* [PlSql] Support casting object types to relational tables
* [PlSql] Support negative literal numeric values
* [PlSql] Support character varying/sdo_geometry data types
* [PlSql] Remove redundant regular_id E_LETTER rule
* [PlSql] Add ENABLED regular_id keyword
* [PlSql] Remove redundant regular_id ERROR_INDEX and ERROR_CODE rules
* [PlSql] Allow columns named template_table and timezone
* [PlSql] Improve object permissions
* [PlSql] Support move partition/subpartition
* [PlSql] Fix initial value for `_isVersion11` for Python31 parent ba24bdd commit 9d0d06d
File tree
21 files changed
+645
-59
lines changed- sql/plsql
- Antlr4ng
- CSharp
- Cpp
- Dart
- Go
- JavaScript
- Java
- Python3
- TypeScript
- examples
21 files changed
+645
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| |||
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| |||
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
| 1130 | + | |
1130 | 1131 | | |
1131 | 1132 | | |
1132 | 1133 | | |
| |||
1213 | 1214 | | |
1214 | 1215 | | |
1215 | 1216 | | |
| 1217 | + | |
1216 | 1218 | | |
1217 | 1219 | | |
1218 | 1220 | | |
| |||
1701 | 1703 | | |
1702 | 1704 | | |
1703 | 1705 | | |
| 1706 | + | |
1704 | 1707 | | |
1705 | 1708 | | |
1706 | 1709 | | |
| |||
0 commit comments