You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/02/05 21:54:02 UTC

[GitHub] [spark] dongjoon-hyun commented on a change in pull request #27447: [SPARK-29587][DOC][FOLLOWUP] Add doc for new type `REAL` and `NUMERIC`

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_r375529610
 
 

 ##########
 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>
 
 Review comment:
   Shall we capitalize SQL types like `BOOLEAN` and `INT`?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org