ambition119 opened a new pull request #8387: [FLINK-11982] BatchTableSourceFactory support Json File URL: https://github.com/apache/flink/pull/8387 ## What is the purpose of the change fix [ISSUE #11982](https://issues.apache.org/jira/browse/FLINK-11982) ## Brief change log - [flink-connector-json] module to support File System Connector's JSON Format. - JsonBatchTableSourceFactory is a BatchTableSourceFactory - JsonBatchTableSource is a BatchTableSource ## Verifying this change Unit tests for add java class. *(example:)* ```java FileSystem connector = new FileSystem().path(path); tEnv.connect(connector) .withFormat(new Json().failOnMissingField(true).deriveSchema()) .withSchema(new Schema().field(fieldName, Types.STRING())) .registerTableSource("jsonTable"); String fullSql = "select * FROM jsonTable"; Table fullTable = tEnv.sqlQuery(fullSql); ``` ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (**yes**) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (**yes**) - The serializers: (**yes**) - The runtime per-record code paths (performance sensitive): (**no**) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (**no**) - The S3 file system connector: (**no**) ## Documentation - Does this pull request introduce a new feature? (**yes**) - If yes, how is the feature documented? (example)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
