Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

词法解析 #796

Open
jd-zhang opened this issue Jul 7, 2022 · 6 comments
Open

词法解析 #796

jd-zhang opened this issue Jul 7, 2022 · 6 comments

Comments

@jd-zhang
Copy link
Contributor

jd-zhang commented Jul 7, 2022

*Issue migrated from trac ticket # 881 www.kunlunbase.com *

component: computing nodes | priority: major

2022-07-07 12:10:08: smith created the issue


出问题的例子(最后少了一个单引号)

abc=# select 'CREATE USER MAPPING FOR \"current_user\" SERVER sv2 OPTIONS (user *\"current_user\"*)';
                                       ?column?
--------------------------------------------------------------------------------------
 CREATE USER MAPPING FOR \"current_user\" SERVER sv2 OPTIONS (user '\"current_user\")
(1 row)

预期:
smith=# select 'CREATE USER MAPPING FOR "current_user" SERVER sv2 OPTIONS (user "current_user")';
?column?

CREATE USER MAPPING FOR "current_user" SERVER sv2 OPTIONS (user '"current_user"')
(1 row)

@jd-zhang
Copy link
Contributor Author

jd-zhang commented Jul 7, 2022

2022-07-07 12:10:38: smith commented


预期:

smith=# select 'CREATE USER MAPPING FOR \"current_user\" SERVER sv2 OPTIONS (user *\"current_user\"*)';
                                       ?column?
---------------------------------------------------------------------------------------
 CREATE USER MAPPING FOR \"current_user\" SERVER sv2 OPTIONS (user '\"current_user\"')
(1 row)

@jd-zhang
Copy link
Contributor Author

jd-zhang commented Jul 7, 2022

2022-07-07 14:09:57: zhaowei@zettadb.com

1 similar comment
@jd-zhang
Copy link
Contributor Author

jd-zhang commented Jul 7, 2022

2022-07-07 14:09:57: zhaowei@zettadb.com

@jd-zhang
Copy link
Contributor Author

jd-zhang commented Jul 7, 2022

2022-07-07 14:09:57: zhaowei@zettadb.com commented


fixed

@jd-zhang
Copy link
Contributor Author

jd-zhang commented Jul 7, 2022

2022-07-07 19:55:23: zhaowei@zettadb.com changed owner from david to kunlun

@jd-zhang
Copy link
Contributor Author

jd-zhang commented Jul 7, 2022

2022-07-07 19:55:23: zhaowei@zettadb.com changed status from new to accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant