@@ -1086,8 +1086,8 @@ public void Parse_Pg_Returning()
10861086
10871087 var expected = new SelectItem [ ]
10881088 {
1089- new SelectItem . ExpressionWithAlias ( new Identifier ( "temp_lo" ) , "lo" ) ,
1090- new SelectItem . ExpressionWithAlias ( new Identifier ( "temp_hi" ) , "hi" ) ,
1089+ new SelectItem . ExpressionWithAlias ( new Identifier ( "temp_lo" ) , "lo" , true ) ,
1090+ new SelectItem . ExpressionWithAlias ( new Identifier ( "temp_hi" ) , "hi" , true ) ,
10911091 new SelectItem . UnnamedExpression ( new Identifier ( "prcp" ) )
10921092 } ;
10931093
@@ -1792,7 +1792,7 @@ public void Parse_Delimited_Identifiers()
17921792
17931793 var table = new TableFactor . Table ( new ObjectName ( new Ident ( "a table" , Symbols . DoubleQuote ) ) )
17941794 {
1795- Alias = new TableAlias ( new Ident ( "alias" , Symbols . DoubleQuote ) )
1795+ Alias = new TableAlias ( new Ident ( "alias" , Symbols . DoubleQuote ) , true )
17961796 } ;
17971797
17981798 Assert . Equal ( table , select . From ! . Single ( ) . Relation ) ;
@@ -1809,7 +1809,7 @@ public void Parse_Delimited_Identifiers()
18091809
18101810 Assert . Equal ( new SelectItem . ExpressionWithAlias ( new Identifier (
18111811 new Ident ( "simple id" , Symbols . DoubleQuote ) ) ,
1812- new Ident ( "column alias" , Symbols . DoubleQuote ) ) ,
1812+ new Ident ( "column alias" , Symbols . DoubleQuote ) , true ) ,
18131813 select . Projection [ 2 ] ) ;
18141814
18151815 VerifiedStatement ( "CREATE TABLE \" foo\" (\" bar\" \" int\" )" ) ;
@@ -1921,7 +1921,7 @@ public void Parse_Dollar_Quoted_String()
19211921 Assert . Equal ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "hello" ) ) ) , projection [ 0 ] . AsExpr ( ) ) ;
19221922 Assert . Equal ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "world" , "tag_name" ) ) ) , projection [ 1 ] . AsExpr ( ) ) ;
19231923 Assert . Equal ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "Foo$Bar" ) ) ) , projection [ 2 ] . AsExpr ( ) ) ;
1924- var expr = new SelectItem . ExpressionWithAlias ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "Foo$Bar" ) ) ) , "col_name" ) ;
1924+ var expr = new SelectItem . ExpressionWithAlias ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "Foo$Bar" ) ) ) , "col_name" , false ) ;
19251925 Assert . Equal ( expr , projection [ 3 ] ) ;
19261926 Assert . Equal ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "" ) ) ) , projection [ 4 ] . AsExpr ( ) ) ;
19271927 Assert . Equal ( new LiteralValue ( new Value . DollarQuotedString ( new DollarQuotedStringValue ( "" , "tag_name" ) ) ) , projection [ 5 ] . AsExpr ( ) ) ;
@@ -2085,7 +2085,7 @@ public void Parse_Join_Constraint_Unnest_Alias()
20852085 {
20862086 new ( new TableFactor . UnNest ( [ new CompoundIdentifier ( new Ident [ ] { "t1" , "a" } ) ] )
20872087 {
2088- Alias = new TableAlias ( "f" ) ,
2088+ Alias = new TableAlias ( "f" , true ) ,
20892089 } ,
20902090 new JoinOperator . Inner ( new JoinConstraint . On (
20912091 new BinaryOp (
0 commit comments