dongjoon-hyun commented on a change in pull request #27447: 
[SPARK-29587][DOC][FOLLOWUP] Add doc for new type `REAL` and `NUMERIC`
URL: https://github.com/apache/spark/pull/27447#discussion_r375529694
 
 

 ##########
 File path: docs/sql-ref-datatypes.md
 ##########
 @@ -631,4 +631,71 @@ from pyspark.sql.types import *
 </tr>
 </table>
 </div>
+
+<div data-lang="sql"  markdown="1">
+
+The following table shows the type names as well as aliases used in Spark SQL 
parser for each data type.
+
+<table class="table">
+<tr>
+  <th style="width:50%">Data type</th>
+  <th>SQL name</th></tr>
+<tr>
+  <td> <b>BooleanType</b> </td>
+  <td> boolean </td>
+</tr>
+<tr>
+  <td> <b>ByteType</b> </td>
+  <td> byte, tinyint </td>
+</tr>
+<tr>
+  <td> <b>ShortType</b> </td>
+  <td> shot, smallint </td>
 
 Review comment:
   `shot`?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to