These paths get passed directly to the Hadoop FileSystem API and I think the support globbing out-of-the box. So AFAIK it should just work.
On Tue, Jun 17, 2014 at 9:09 PM, MEETHU MATHEW <meethu2...@yahoo.co.in> wrote: > Hi Jianshi, > > I have used wild card characters (*) in my program and it worked.. > My code was like this > b = sc.textFile("hdfs:///path to file/data_file_2013SEP01*") > > Thanks & Regards, > Meethu M > > > On Wednesday, 18 June 2014 9:29 AM, Jianshi Huang <jianshi.hu...@gmail.com> > wrote: > > > It would be convenient if Spark's textFile, parquetFile, etc. can support > path with wildcard, such as: > > hdfs://domain/user/jianshuang/data/parquet/table/month=2014* > > Or is there already a way to do it now? > > Jianshi > > -- > Jianshi Huang > > LinkedIn: jianshi > Twitter: @jshuang > Github & Blog: http://huangjs.github.com/ > >