Github user KurtYoung commented on a diff in the pull request:
https://github.com/apache/flink/pull/3273#discussion_r100452676
--- Diff: docs/dev/table_api.md ---
@@ -253,56 +253,51 @@ Table result =
tableEnvironment.ingest("kafka-source");
The `CsvTableSource` is already included in `flink-table` without
additional dependecies.
-It can be configured with the following properties:
-
- - `path` The path to the CSV file, required.
- - `fieldNames` The names of the table fields, required.
- - `fieldTypes` The types of the table fields, required.
- - `fieldDelim` The field delimiter, `","` by default.
- - `rowDelim` The row delimiter, `"\n"` by default.
- - `quoteCharacter` An optional quote character for String values, `null`
by default.
- - `ignoreFirstLine` Flag to ignore the first line, `false` by default.
- - `ignoreComments` An optional prefix to indicate comments, `null` by
default.
- - `lenient` Flag to skip records with parse error instead to fail,
`false` by default.
+It can be created by `CsvTableSource.builder()`, the builder has the
following methods to configure properties:
+
+ - `path(String path)` Sets the path to the CSV file, required.
+ - `field(String fieldName, TypeInformation<?> fieldType)` Adds a field
with the field name and field type information, required.
+ - `fieldDelimiter(String delim)` Sets the field delimiter, `","` by
default.
+ - `lineDelimiter(String delim)` Sets the line delimiter, `"\n"` by
default.
+ - `quoteCharacter(Character quote)` Sets the quote character for String
values, `null` by default.
+ - `commentPrefix(String prefix)` Sets a prefix to indicate comments, null
by default.
+ - `ignoreFirstLine()` Ignore the first line. Not skip the first line by
default.
--- End diff --
disabled by default?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---