https://bigdataschool.ru/blog/calcite-for-flink-sql.html
Как Apache Flink использует Calcite для выполнения SQL-запросов