Hi,

你是在用Dataset还是SQL?

如果是Dataset或是Datastream
先把文件筛选出来,然后FileInputFormat.setFilePaths?

Best,
Jingsong Lee

On Sun, Apr 26, 2020 at 10:01 PM 无痕 <[email protected]> wrote:

> HI ALL :
> &nbsp; &nbsp; &nbsp;请问下,flink批方式如何读取多路径文件或通配符文件?如下:
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/abc/202004*/t1.data&nbsp;
> 读2020年4月所有t1.data文件;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/abc/20200401/t*.data
> 读2020年4月1日目录下所有t开头的文件
> &nbsp; &nbsp; &nbsp;谢谢!



-- 
Best, Jingsong Lee

回复