mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Test that regexp
can be used as an identifier in postgres (#1018)
This commit is contained in:
parent
86aa1b96be
commit
57090537f0
1 changed files with 7 additions and 0 deletions
|
@ -3390,6 +3390,13 @@ fn parse_truncate() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_select_regexp_as_column_name() {
|
||||
pg_and_generic().verified_only_select(
|
||||
"SELECT REGEXP.REGEXP AS REGEXP FROM REGEXP AS REGEXP WHERE REGEXP.REGEXP",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_create_table_with_alias() {
|
||||
let sql = "CREATE TABLE public.datatype_aliases
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue