Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16824#discussion_r99728558
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -296,8 +312,10 @@ def show(self, n=20, truncate=True):
                 If set to a number greater than one, truncates long strings to 
length ``truncate``
                 and align cells right.
     
    +        >>> from pyspark.sql import Row
    +        >>> df = spark.createDataFrame([Row(name='Alice', age=2), 
Row(name='Bob', age=5)])
             >>> df
    -        DataFrame[age: int, name: string]
    +        DataFrame[age: bigint, name: string]
    --- End diff --
    
    This is the same. It seems `bigint` by default if we don't explicitly 
provide the schema.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to