damccorm opened a new issue, #19981:
URL: https://github.com/apache/beam/issues/19981

   When unprasing literal strings we need to escape special symbols (ex: `\n`, 
`\r`, `\u0012`).
   
   ZetaSQL supports for some 4-byte (or 8 hex digit) unicode via `\Uhhhhhhhh`.
   
   As of 
[now]([https://github.com/apache/beam/blob/8a35f408f640d04c38ad6e2a497d30410b3bff32/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/bigquery/BeamSqlUnparseContext.java#L59)]
 only 2-byte (or 4 hex digit) unicode is supported by escaping it via `\u`.
   
    
   
   More about escape sequences here (need to scroll down a little): 
   
   https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical
   
   Imported from Jira 
[BEAM-9180](https://issues.apache.org/jira/browse/BEAM-9180). Original Jira may 
contain additional context.
   Reported by: kirillkozlov.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to