[jira] [Created] (FLINK-22475) Datagen connector does not list its available options with placeholders

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22475) Datagen connector does not list its available options with placeholders

Shang Yuanchun (Jira)
Ingo Bürk created FLINK-22475:
---------------------------------

             Summary: Datagen connector does not list its available options with placeholders
                 Key: FLINK-22475
                 URL: https://issues.apache.org/jira/browse/FLINK-22475
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Planner
    Affects Versions: 1.12.2, 1.13.0
            Reporter: Ingo Bürk


The Datagen connector provides optional options like "field.#.max" which contain placeholders as the option is to be set per-field. However, its factory does not list these placeholder options at all.

In order to generate connector documentation from code, the factory should list these placeholder options.

Additionally, we should "standardize" the usage of '#' as a placeholder, document it on the Factory interface and possibly even extend the validation helper to 1) ignore required properties containing a '#' and 2) reject provided options containing a '#' in their key.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)