Re: results of taken(3) not appearing in console window

2020-03-26 Thread Zahid Rahman
Thanks. I added that as well. I also needed to add a hard coded import previously spark.implicits._ val flightDf = spark.read.parquet("/data/flight-data/parquet/2010-summary.parquet/") flights.show(3) +-+---+-+ |DEST_COUNTRY_NAME|ORIGIN_COUNTRY_NAME|count|

Re: results of taken(3) not appearing in console window

2020-03-26 Thread Zahid Rahman
Thank you. Backbutton.co.uk ¯\_(ツ)_/¯ ♡۶Java♡۶RMI ♡۶ Make Use Method {MUM} makeuse.org On Thu, 26 Mar 2020 at 19:18, Reynold Xin wrote: > bcc dev, +user > > You need to print out the result. Take itself doesn't print. You only got > the results printed to the

Re: results of taken(3) not appearing in console window

2020-03-26 Thread Reynold Xin
bcc dev, +user You need to print out the result. Take itself doesn't print. You only got the results printed to the console because the Scala REPL automatically prints the returned value from take. On Thu, Mar 26, 2020 at 12:15 PM, Zahid Rahman < zahidr1...@gmail.com > wrote: > > I am