Re: Can I get the filename as a column?
Posted by
Dawid Wysakowicz-2 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Can-I-get-the-filename-as-a-column-tp39096p39097.html
I am afraid there is no such functionality available yet.
I think though it is a valid request. I think we can use the upcoming
FLIP-107 metadata columns for this purpose and expose the file name as
metadata column of a filesystem source.
Would you like to create a JIRA issue for it?
Best,
Dawid
[1]
https://cwiki.apache.org/confluence/display/FLINK/FLIP-107%3A+Handling+of+metadata+in+SQL+connectorsOn 30/10/2020 13:21, Ruben Laguna wrote: