jingshanglu commented on issue #3290: fix g4 for assignmentValueNode get error 
by index
URL: 
https://github.com/apache/incubator-shardingsphere/pull/3290#issuecomment-542592442
 
 
   > That maybe not enough because the expression may `values(xx) + values(xx)`.
   > So `VALUES` should be a part of expr
   
   ```
   assignmentRight_
       : VALUES LP_ assignmentValue RP_ | assignmentValue
       ;
   
   setAssignmentsClause
       : SET assignment (COMMA_ assignment)*
       ;
   
   assignmentValues
       : LP_ assignmentValue (COMMA_ assignmentValue)* RP_
       | LP_ RP_
       ;
   
   assignmentValue
       : expr | DEFAULT | blobValue
       ;
   ```
   assignmentValue may be expr

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to