forked from google/zetasql
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
13 changed files
with
223 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
alter user root; | ||
-- | ||
ERROR: Syntax error: Unexpected ";" [at 1:16] | ||
alter user root; | ||
^ | ||
== | ||
|
||
alter user root set options (password='abc'); | ||
-- | ||
AlterUserStatement [0-44] | ||
PathExpression [11-15] | ||
Identifier(root) [11-15] | ||
AlterActionList [16-44] | ||
SetOptionsOperation [16-44] | ||
OptionsList [28-44] | ||
OptionsEntry [29-43] | ||
Identifier(password) [29-37] | ||
StringLiteral('abc') [38-43] | ||
-- | ||
ALTER USER root SET OPTIONS(password = 'abc') | ||
== | ||
|
||
alter user if exists root set options (password='abc'); | ||
-- | ||
AlterUserStatement(is_if_exists) [0-54] | ||
PathExpression [21-25] | ||
Identifier(root) [21-25] | ||
AlterActionList [26-54] | ||
SetOptionsOperation [26-54] | ||
OptionsList [38-54] | ||
OptionsEntry [39-53] | ||
Identifier(password) [39-47] | ||
StringLiteral('abc') [48-53] | ||
-- | ||
ALTER USER IF EXISTS root SET OPTIONS(password = 'abc') | ||
== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
create user root; | ||
-- | ||
CreateUserStatement [0-16] | ||
PathExpression [12-16] | ||
Identifier(root) [12-16] | ||
-- | ||
CREATE USER root | ||
== | ||
|
||
create user if not exists root; | ||
-- | ||
CreateUserStatement(is_if_not_exists) [0-30] | ||
PathExpression [26-30] | ||
Identifier(root) [26-30] | ||
-- | ||
CREATE USER IF NOT EXISTS root | ||
== | ||
|
||
create user root options (password='abc'); | ||
-- | ||
CreateUserStatement [0-41] | ||
PathExpression [12-16] | ||
Identifier(root) [12-16] | ||
OptionsList [25-41] | ||
OptionsEntry [26-40] | ||
Identifier(password) [26-34] | ||
StringLiteral('abc') [35-40] | ||
-- | ||
CREATE USER root OPTIONS(password = 'abc') | ||
== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
drop user root; | ||
-- | ||
DropUserStatement [0-14] | ||
PathExpression [10-14] | ||
Identifier(root) [10-14] | ||
-- | ||
DROP USER root | ||
== | ||
|
||
drop user if exists user1; | ||
-- | ||
DropUserStatement [0-25] | ||
PathExpression [20-25] | ||
Identifier(user1) [20-25] | ||
-- | ||
DROP USER IF EXISTS user1 | ||
== |
Oops, something went wrong.