Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to fetch file name in impala query

How to fetch file name in impala query

Rising Star

Hi everyone!

 

Could anybody tell how i can fetch file name in impala query?

like 

select
col1,
col2,
input__file__name
from mytable

 

in case of hive?

thanks!

1 REPLY 1

Re: How to fetch file name in impala query

Cloudera Employee

I believe currently that capability isn't available. I recall seeing a JIRA asking for notation like that, but I don't know the JIRA number.

 

John