??????????
????????Dataset????????FileInputFormat??????????????????supportsMultiPaths??????Deprecated
/**
 * Override this method to supports multiple paths.
 * When this method will be removed, all FileInputFormats have to support 
multiple paths.
 *
 * @return True if the FileInputFormat supports multiple paths, false otherwise.
 *
 * @deprecated Will be removed for Flink 2.0.
 */
@Deprecated
public boolean supportsMultiPaths() {
   return false;
}




------------------ ???????? ------------------
??????:&nbsp;"Jingsong Li"<[email protected]&gt;;
????????:&nbsp;2020??4??27??(??????) ????9:29
??????:&nbsp;"user-zh"<[email protected]&gt;;

????:&nbsp;Re: flink ????????????????????????????????????



Hi,

????????Dataset????SQL??

??????Dataset????Datastream
??????????????????????FileInputFormat.setFilePaths?

Best,
Jingsong Lee

On Sun, Apr 26, 2020 at 10:01 PM ???? <[email protected]&gt; wrote:

&gt; HI ALL ??
&gt; &amp;nbsp; &amp;nbsp; 
&amp;nbsp;????????flink????????????????????????????????????????????
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&amp;nbsp;/abc/202004*/t1.data&amp;nbsp;
&gt; ??2020??4??????t1.data??????
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&amp;nbsp;/abc/20200401/t*.data
&gt; ??2020??4??1????????????t??????????
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;??????



-- 
Best, Jingsong Lee

回复