Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-11 Thread Dongjoon Hyun
Thank you for the opinion, Mingjie and Liang-Chi. Dongjoon. On Sun, Dec 11, 2016 at 5:42 PM, Liang-Chi Hsieh wrote: > Hi Dongjoon, > > I know some people only use Spark SQL with SQL syntax not Dataset API. So I > think it should be useful to provide a way to do this in SQL. > > > > - > Lian

Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-11 Thread Liang-Chi Hsieh
Hi Dongjoon, I know some people only use Spark SQL with SQL syntax not Dataset API. So I think it should be useful to provide a way to do this in SQL. - Liang-Chi Hsieh | @viirya Spark Technology Center -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.

Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-10 Thread Mingjie Tang
header for >> plain text / csv that lots of companies have. >> >> >> -- >> *From:* Dongjoon Hyun >> *Sent:* Friday, December 9, 2016 9:42:58 AM >> *To:* Dongjin Lee; dev@spark.apache.org >> *Subject:* Re: Question

Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-10 Thread Dongjoon Hyun
; *From:* Dongjoon Hyun > *Sent:* Friday, December 9, 2016 9:42:58 AM > *To:* Dongjin Lee; dev@spark.apache.org > *Subject:* Re: Question about SPARK-11374 (skip.header.line.count) > > Thank you for the opinion, Dongjin! > > > On Thu, Dec 8, 2016 at 21:56 Dongjin Lee wrote: >

Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-10 Thread Felix Cheung
+1 I think it's useful to always have a pure SQL way and skip header for plain text / csv that lots of companies have. From: Dongjoon Hyun Sent: Friday, December 9, 2016 9:42:58 AM To: Dongjin Lee; dev@spark.apache.org Subject: Re: Question about SPARK-

Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-09 Thread Dongjoon Hyun
Thank you for the opinion, Dongjin! On Thu, Dec 8, 2016 at 21:56 Dongjin Lee wrote: > +1 For this idea. I need it also. > > Regards, > Dongjin > > On Fri, Dec 9, 2016 at 8:59 AM, Dongjoon Hyun wrote: > > Hi, All. > > > > > > Could you give me some opinion? > > > > > > There is an old SPARK iss

Re: Question about SPARK-11374 (skip.header.line.count)

2016-12-08 Thread Dongjin Lee
+1 For this idea. I need it also. Regards, Dongjin On Fri, Dec 9, 2016 at 8:59 AM, Dongjoon Hyun wrote: > Hi, All. > > Could you give me some opinion? > > There is an old SPARK issue, SPARK-11374, about removing header lines from > text file. > Currently, Spark supports removing CSV header line

Fwd: Question about SPARK-11374 (skip.header.line.count)

2016-12-08 Thread Dongjoon Hyun
+dev I forget to add @user. Dongjoon. -- Forwarded message - From: Dongjoon Hyun Date: Thu, Dec 8, 2016 at 16:00 Subject: Question about SPARK-11374 (skip.header.line.count) To: Hi, All. Could you give me some opinion? There is an old SPARK issue, SPARK-11374, about

Question about SPARK-11374 (skip.header.line.count)

2016-12-08 Thread Dongjoon Hyun
Hi, All. Could you give me some opinion? There is an old SPARK issue, SPARK-11374, about removing header lines from text file. Currently, Spark supports removing CSV header lines by the following way. ``` scala> spark.read.option("header","true").csv("/data").show +---+---+ | c1| c2| +---+---+