You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by "Wilburn, Scott" <Sc...@VerizonWireless.com.INVALID> on 2016/03/21 23:43:39 UTC
RE: [E] Re: dfs filename
Thanks. I've started a track on that. Do you know of any workaround in the meantime?
Thanks,
Scott Wilburn
-----Original Message-----
From: Abhishek Girish [mailto:abhishek.girish@gmail.com]
Sent: Monday, March 21, 2016 02:40 PM
To: user
Subject: [E] Re: dfs filename
This is currently not supported. You could track DRILL-3474 <https://issues.apache.org/jira/browse/DRILL-3474> / DRILL-3559 <https://issues.apache.org/jira/browse/DRILL-3559> for updates.
On Mon, Mar 21, 2016 at 2:13 PM, Wilburn, Scott < Scott.Wilburn@verizonwireless.com.invalid> wrote:
> Hello,
> Is there a way to query dfs csv files in multiple directories and
> include the filename as a field in the output? I created a view that
> is able to query over all of my directories, but I really need to know
> which file each record came from.
> For example, if my records have two columns, key and value, I really
> want to print three columns: filename,key,value .
> Any help would be appreciated.
>
> Thanks,
> Scott Wilburn
>
>