dilipbiswal commented on a change in pull request #28451: URL: https://github.com/apache/spark/pull/28451#discussion_r419827929
########## File path: docs/sql-ref-literals.md ########## @@ -71,128 +68,114 @@ SELECT 'it\'s $10.' AS col; +---------+ |It's $10.| +---------+ -{% endhighlight %} +``` ### Binary Literal A binary literal is used to specify a byte sequence value. #### Syntax -{% highlight sql %} +```sql X { 'c [ ... ]' | "c [ ... ]" } -{% endhighlight %} +``` + +#### Parameters -#### <em>Parameters</em> +* **c** -<dl> - <dt><code><em>c</em></code></dt> - <dd> One character from the character set. Review comment: I believe there is limitation on the chars that are allowed in the binary literal ? for example, i tried : SELECT X'zzzzzz' AS col and got an exception ? ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org