Austin Nobis has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12813


Change subject: IMPALA-8326: Fix CreateDropRoleStmt toSql
......................................................................

IMPALA-8326: Fix CreateDropRoleStmt toSql

Previously the CreateDropRoleStmt class' toSql method would
incorrectly order the stringified SQL statement as <role_name>
ROLE CREATE/DROP. This patch will properly order the statement
as CREATE/DROP ROLE <role_name>.

Testing:
- Ran all FE tests

Change-Id: I25e4e1f680a6992779a47b5e6ad5092f27ba390a
---
M fe/src/main/java/org/apache/impala/analysis/CreateDropRoleStmt.java
M fe/src/test/java/org/apache/impala/analysis/ToSqlTest.java
2 files changed, 9 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/13/12813/2
--
To view, visit http://gerrit.cloudera.org:8080/12813
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I25e4e1f680a6992779a47b5e6ad5092f27ba390a
Gerrit-Change-Number: 12813
Gerrit-PatchSet: 2
Gerrit-Owner: Austin Nobis <ano...@cloudera.com>

Reply via email to