Since version 1.5.0, show(false) on a DataFrame prevents truncation of long
strings in the output. By default, strings more than 20 characters are
truncated.

Example usage:
scala> df.show(false)

--
Jagrut


On Sat, Nov 21, 2015 at 6:24 AM, Fengdong Yu <fengdo...@everstring.com>
wrote:

> Hi,
>
> I found if the column value is too long, spark shell only show a partial
> result.
>
> such as:
>
> sqlContext.sql("select url from tableAā€¯).show(10)
>
> it cannot show the whole URL here. so how to adjust it?  Thanks
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>

Reply via email to