GitHub user akhilthatipamula opened a pull request:
https://github.com/apache/spark/pull/6633
Improved DataFrame.show() output
1. Increased the minimum width of each column to '3'.
2. If a DataFrame have more than 20 rows, displayed message "only showing
the top 20 rows".
4. Added method isPrimitive which checks if a DataType is primitive.
3. For array values, instead of printing "ArrayBuffer", just printed square
brackets.
@rxin
@animeshbaranawal
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/akhilthatipamula/spark spark-7993
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6633.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6633
----
commit 4bb742f498522b4e4266a7eaae5465ead1419d7e
Author: akhilthatipamula <[email protected]>
Date: 2015-06-04T07:42:42Z
Modified dataframe.show() method
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]