diff --git a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DDLStatement.g4 b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DDLStatement.g4 index 98991736e7053..6bc716b689a72 100644 --- a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DDLStatement.g4 +++ b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DDLStatement.g4 @@ -1934,6 +1934,7 @@ onObjectClause | ALL PROCEDURES IN SCHEMA nameList | ALL ROUTINES IN SCHEMA nameList | CLIENT_MASTER_KEY nameList + | COLUMN_ENCRYPTION_KEY nameList ; numericOnlyList diff --git a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/OpenGaussKeyword.g4 b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/OpenGaussKeyword.g4 index 009230a173474..bd9e06022eb64 100644 --- a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/OpenGaussKeyword.g4 +++ b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/OpenGaussKeyword.g4 @@ -1444,3 +1444,7 @@ TRUNC CLIENT_MASTER_KEY : C L I E N T UL_ M A S T E R UL_ K E Y ; + +COLUMN_ENCRYPTION_KEY + : C O L U M N UL_ E N C R Y P T I O N UL_ K E Y + ; diff --git a/test/it/parser/src/main/resources/case/dcl/grant.xml b/test/it/parser/src/main/resources/case/dcl/grant.xml index acdfba527e015..aeacaf585867b 100644 --- a/test/it/parser/src/main/resources/case/dcl/grant.xml +++ b/test/it/parser/src/main/resources/case/dcl/grant.xml @@ -275,4 +275,5 @@ + diff --git a/test/it/parser/src/main/resources/case/dcl/revoke.xml b/test/it/parser/src/main/resources/case/dcl/revoke.xml index 2066c45975612..a5969a0dc533c 100644 --- a/test/it/parser/src/main/resources/case/dcl/revoke.xml +++ b/test/it/parser/src/main/resources/case/dcl/revoke.xml @@ -228,4 +228,6 @@ + + diff --git a/test/it/parser/src/main/resources/sql/supported/dcl/grant-user.xml b/test/it/parser/src/main/resources/sql/supported/dcl/grant-user.xml index f40116a5744fb..c95279f47ff27 100644 --- a/test/it/parser/src/main/resources/sql/supported/dcl/grant-user.xml +++ b/test/it/parser/src/main/resources/sql/supported/dcl/grant-user.xml @@ -151,4 +151,5 @@ + diff --git a/test/it/parser/src/main/resources/sql/supported/dcl/revoke-user.xml b/test/it/parser/src/main/resources/sql/supported/dcl/revoke-user.xml index 8ccf8f496aa16..4db968095c47a 100644 --- a/test/it/parser/src/main/resources/sql/supported/dcl/revoke-user.xml +++ b/test/it/parser/src/main/resources/sql/supported/dcl/revoke-user.xml @@ -125,4 +125,6 @@ + +