diff --git a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4 b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
index c7e2d9c0147ae..6344fecc52751 100644
--- a/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
+++ b/parser/sql/dialect/opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
@@ -33,7 +33,7 @@ set
| SCHEMA STRING_
| NAMES encoding?
| ROLE nonReservedWordOrSconst
- | SESSION AUTHORIZATION nonReservedWordOrSconst
+ | SESSION AUTHORIZATION IDENTIFIER_ PASSWORD STRING_
| SESSION AUTHORIZATION DEFAULT
| XML OPTION documentOrContent)
;
diff --git a/test/it/parser/src/main/resources/case/dal/set.xml b/test/it/parser/src/main/resources/case/dal/set.xml
index 80b95dfbceb7b..f955d30e79aae 100644
--- a/test/it/parser/src/main/resources/case/dal/set.xml
+++ b/test/it/parser/src/main/resources/case/dal/set.xml
@@ -118,4 +118,5 @@
+
diff --git a/test/it/parser/src/main/resources/sql/supported/dal/set.xml b/test/it/parser/src/main/resources/sql/supported/dal/set.xml
index 7c748805f2675..0f92b710d6151 100644
--- a/test/it/parser/src/main/resources/sql/supported/dal/set.xml
+++ b/test/it/parser/src/main/resources/sql/supported/dal/set.xml
@@ -44,4 +44,5 @@
+