Flink Table Store is a unified storage to build dynamic tables for both streaming and batch processing in Flink,
supporting high-speed data ingestion and timely data query.
This article assumes that you have mastered the basic knowledge and operation of Flink Table Store.
For the knowledge about Flink Table Store not mentioned in this article,
you can obtain it from its Official Documentation.
By using kyuubi, we can run SQL queries towards Flink Table Store which is more
convenient, easy to understand, and easy to expand than directly using
trino to manipulate Flink Table Store.
To activate functionality of Flink Table Store, we can set the following configurations:
Catalogs are registered by creating a catalog properties file in the $TRINO_SERVER_HOME/etc/catalog directory.
For example, create $TRINO_SERVER_HOME/etc/catalog/tablestore.properties with the following contents to mount the tablestore connector as the tablestore catalog:
Flink Table Store supports reading table store tables through Trino.
A common scenario is to write data with Flink and read data with Trino.
You can follow this document Flink Table Store Quick Start to write data to a table store table
and then use kyuubi trino sql engine to query the table with the following SQL SELECT statement.