提交 8ccfd860 编写于 作者: D Daniel Gustafsson

Fix common typos for "partition" in code comments

上级 1a5fbd5a
......@@ -2146,7 +2146,7 @@ ORDER BY tablename, c2.oid desc;
def _update_distribution_policy(self, dbname):
""" NULL out the distribution policy for both
regular and paritioned table before expansion
regular and partitioned table before expansion
"""
table_conn = self.connect_database(dbname)
......
......@@ -1351,7 +1351,7 @@ Feature: Incrementally analyze the database
And columns "a,c" of table "public.t3_ao" should appear in the latest column state file
And column "b" of table "public.t3_ao" should not appear in the latest column state file
# no entry in state files for parition tables
# no entry in state files for partition tables
@analyzedb_core @analyzedb_partition_tables
Scenario: Partition tables, (no entry, no change, root)
......@@ -1431,7 +1431,7 @@ Feature: Incrementally analyze the database
And "public.sales_1_prt_2" should appear in the latest state files
And "public.sales_1_prt_4" should appear in the latest state files
# entries exist for all parts in state files for parition tables
# entries exist for all parts in state files for partition tables
@analyzedb_core @analyzedb_partition_tables
Scenario: Partition tables, (entries for all parts, no change, root)
......@@ -1516,7 +1516,7 @@ Feature: Incrementally analyze the database
And "public.sales_1_prt_2" should appear in the latest state files
And "public.sales_1_prt_4" should appear in the latest state files
# entries exist for some parts in state files for parition tables
# entries exist for some parts in state files for partition tables
@analyzedb_core @analyzedb_partition_tables
Scenario: Partition tables, (entries for some parts, no change, root)
......
......@@ -47,7 +47,7 @@ static HTAB *PartitionIndexHash;
static HTAB *LogicalIndexInfoHash;
/*
* Hash entry for PartionIndexHash
* Hash entry for PartitionIndexHash
* hashkey is (indexkey + indexpred + indexexprs)
*/
typedef struct
......
......@@ -104,7 +104,7 @@ typedef struct CacheCtl
/*
* Each partition requires a lightweight lock.
* baseLWLockId is the first LW lock of a preallocated numPartions size
* baseLWLockId is the first LW lock of a preallocated numPartitions size
* lock array.
*/
LWLockId baseLWLockId;
......
......@@ -5362,7 +5362,7 @@ Table "bfv_partition.mpp6612_1_prt_default_part"
Inherits: mpp6612
Distributed by: (unique1)
-- Modify the partion definition. MPP-3724
-- Modify the partition definition. MPP-3724
-- alter table mpp6612 alter column unique1 type char(10); -- This should fail
-- alter table mpp6612 alter column unique1 type int8;
-- Show the dsecription
......
......@@ -1689,7 +1689,7 @@ alter table mpp6612 alter column unique2 type char(10);
-- Show the dsecription
\d mpp6612*
-- Modify the partion definition. MPP-3724
-- Modify the partition definition. MPP-3724
-- alter table mpp6612 alter column unique1 type char(10); -- This should fail
-- alter table mpp6612 alter column unique1 type int8;
-- Show the dsecription
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册