This connector provides access to partitioned files in filesystems supported by the Flink FileSystem abstraction.
The file system connector itself is included in Flink and does not require an additional dependency.
A corresponding format needs to be specified for reading and writing rows from and to a file system.
The file system connector allows for reading and writing from a local or distributed filesystem. A filesystem table can be defined as:
DDL
CREATE TABLE MyUserTable (
column_name1 INT,
column_name2 STRING,
...
part_name1 INT,
part_name2 STRIN
这篇博客介绍了Flink的FileSystem SQL Connector,用于访问支持Flink FileSystem抽象的分区文件。该连接器支持多种文件格式,如CSV、JSON、Avro等,并允许对分区文件进行读写操作。文件系统连接器支持流式写入,利用Streaming File Sink将记录写入文件,提供了滚动策略、文件压缩和分区提交等功能。此外,还讨论了分区提交触发器和时间提取器的配置选项。
订阅专栏 解锁全文
1152

被折叠的 条评论
为什么被折叠?



