Registry / other / flink-table-api-java-bridge-2-11

flink-table-api-java-bridge-2-11

JSON →
library1.14.6javamavenunverified

This module contains the Table/SQL API for writing table programs that interact with other Flink APIs using the Java programming language.

<dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-table-api-java-bridge_2.11</artifactId> <version>1.14.6</version> </dependency>
INSTALL
IMPORT
SIG · FLINK-TABLE-API-JA
F
flink-table-api-java-bridge-2-11
otherjavav1.14.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TableEnvironment
✓ org.apache.flink.table.api.TableEnvironment

Minimal Flink Table API program creating a table and querying it.

import org.apache.flink.table.api.EnvironmentSettings; import org.apache.flink.table.api.TableEnvironment; public class FlinkTableExample { public static void main(String[] args) { EnvironmentSettings settings = EnvironmentSettings.newInstance().inStreamingMode().build(); TableEnvironment tEnv = TableEnvironment.create(settings); tEnv.executeSql("CREATE TABLE source (id INT, name STRING) WITH ('connector' = 'datagen')"); tEnv.executeSql("SELECT * FROM source").print(); } }
Debug
Known issues
gotchaThis artifact is built for Scala 2.11, which is outdated; Flink 1.14.x also supports Scala 2.12.
fix
Use flink-table-api-java-bridge_2.12 for Scala 2.12 compatibility, or upgrade to a newer Flink version.
affects: >=1.14.0
Upgrade
Version history
1.14.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
flink-table-api-java-bridge-2-11 — mvn dependency:get flink-table-api-java-bridge-2-11 · libregistry