Github user dyozie commented on a diff in the pull request:
https://github.com/apache/incubator-hawq-docs/pull/85#discussion_r95690934
--- Diff: markdown/reference/sql/CREATE-CAST.html.md.erb ---
@@ -0,0 +1,101 @@
+---
+title: CREATE CAST
+---
+
+Defines a new cast.
+
+## <a id="topic1__section2"></a>Synopsis
+
+``` pre
+CREATE CAST (sourcetype AS targettype)
+ WITH FUNCTION funcname (argtypes)
+ [AS ASSIGNMENT | AS IMPLICIT]
+
+CREATE CAST (sourcetype AS targettype) WITHOUT FUNCTION
+ [AS ASSIGNMENT | AS IMPLICIT]
+```
+
+## <a id="topic1__section3"></a>Description
+
+`CREATE CAST` defines a new cast. A cast specifies how to perform a
conversion between two data types. For example,
+
+```pre
+SELECT CAST(42 AS text);
+```
+
+converts the integer constant 42 to type `text` by invoking a previously
specified function, in this `case text(int4)`. If no suitable cast has been
defined, the conversion fails.
--- End diff --
Change `case text(int4)`to case `text(int4)`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---