Apache Flink SQL:table 属性的参考指南

Apache Flink SQL: Reference guide for table properties

我正在使用 Flink SQL API 和 sql 客户端。我想知道是否有针对特定 type/format-type 的所有可用 table 属性 的 参考指南?

例如,我想定义一个 CSV 源 -table 并且在 documentation 中写道,有选项 format.allow-comments' = 'true 但随后客户端抛出错误,该选项不可用。

另一个例子,通过谷歌搜索我找到了选项ìgnore-first-line,但它不在文档中。

看起来您引用的文档是遗留的,实际上所有 table 连接器属性和格式属性都应该可以从文档网站获得:

table 连接器属性: https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/table/connectors/#table-sql-connectors

table 格式属性: https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/table/connectors/formats/

例如,CSV 格式属性在这里: https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/table/connectors/formats/csv.html#format-options

希望这些信息对您有所帮助。