This is an automated email from the ASF dual-hosted git repository.

tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/main by this push:
     new d4f437bcd90 Minor typo: transfrom->transform
d4f437bcd90 is described below

commit d4f437bcd90b44897aee7d10fa627c899aa79262
Author: Maxim Smyatkin <[email protected]>
AuthorDate: Mon May 18 16:55:41 2026 +0300

    Minor typo: transfrom->transform
---
 src/backend/access/common/reloptions_gp.c | 2 +-
 src/backend/commands/tablecmds.c          | 2 +-
 src/backend/parser/parse_partition_gp.c   | 2 +-
 src/include/access/reloptions.h           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/access/common/reloptions_gp.c 
b/src/backend/access/common/reloptions_gp.c
index fbf75fb9e10..cbfe5d7e28a 100644
--- a/src/backend/access/common/reloptions_gp.c
+++ b/src/backend/access/common/reloptions_gp.c
@@ -1791,7 +1791,7 @@ transformColumnEncoding(const TableAmRoutine *tam, 
Relation rel, List *colDefs,
        return result;
 }
 
-List* transfromColumnEncodingAocoRootPartition(List *colDefs, List *stenc, 
List *withOptions, bool errorOnEncodingClause)
+List* transformColumnEncodingAocoRootPartition(List *colDefs, List *stenc, 
List *withOptions, bool errorOnEncodingClause)
 {
        ColumnReferenceStorageDirective *deflt = NULL;
        ListCell   *lc;
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 07f00a212b0..18f45355ab8 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -1183,7 +1183,7 @@ DefineRelation(CreateStmt *stmt, char relkind, Oid 
ownerId,
                 * table access method. The partition table will have the same 
behaviors on
                 * relam, reloptions, attribute encodings in the future.
                 */
-               stmt->attr_encodings = 
transfromColumnEncodingAocoRootPartition(schema,
+               stmt->attr_encodings = 
transformColumnEncodingAocoRootPartition(schema,
                                                                
stmt->attr_encodings,
                                                                stmt->options,
                                                                
!AMHandlerIsAoCols(amHandlerOid)
diff --git a/src/backend/parser/parse_partition_gp.c 
b/src/backend/parser/parse_partition_gp.c
index 747f1940eac..b912b658376 100644
--- a/src/backend/parser/parse_partition_gp.c
+++ b/src/backend/parser/parse_partition_gp.c
@@ -1687,7 +1687,7 @@ generatePartitions(Oid parentrelid, GpPartitionDefinition 
*gpPartSpec,
                        if (elem->accessMethod && strcmp(elem->accessMethod, 
"ao_column") == 0)
                                elem->colencs = 
merge_partition_encoding(pstate, elem->colencs, penc_cls);
                        else if (!elem->colencs) {
-                               /* For the aoco, used 
`transfromColumnEncodingAocoRootPartition` to
+                               /* For the aoco, used 
`transformColumnEncodingAocoRootPartition` to
                                 * pass encoding clause in root partition. The 
logic in that method is
                                 * relate to aoco that means it only validate 
and pass the aoco encoding
                                 * clause options. So we have to give up pass 
root partition encoding
diff --git a/src/include/access/reloptions.h b/src/include/access/reloptions.h
index 3b411103c19..74bc6fae99a 100644
--- a/src/include/access/reloptions.h
+++ b/src/include/access/reloptions.h
@@ -306,7 +306,7 @@ extern List *transformColumnEncoding(const TableAmRoutine 
*tam, Relation rel, Li
                                                                                
List *stenc, List *withOptions, List *parentenc,
                                                                                
bool explicitOnly, bool createDefaultOne, bool appendonly);
 
-List* transfromColumnEncodingAocoRootPartition(List *colDefs, List *stenc, 
List *withOptions, bool errorOnEncodingClause);
+List* transformColumnEncodingAocoRootPartition(List *colDefs, List *stenc, 
List *withOptions, bool errorOnEncodingClause);
 
 extern List *transformStorageEncodingClause(List *options, bool validate);
 extern List *form_default_storage_directive(List *enc);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to