SQL
This page describes the SQL language supported in Flink, including Data Definition Language (DDL), Data Manipulation Language (DML) and Query Language. Flink’s SQL support is based on Apache Calcite which implements the SQL standard.
本页介绍Flink支持的SQL语言,包括数据定义语言(DDL)、数据操作语言(DML)和查询语言。Flink的SQL支持是基于实现SQL标准的Apache Calcite。
This page lists all the supported statements supported in Flink SQL for now:
此页面列出了Flink SQL目前支持的所有语句:
- SELECT (Queries)
- CREATE TABLE, CATALOG, DATABASE, VIEW, FUNCTION
- DROP TABLE, DATABASE, VIEW, FUNCTION
- ALTER TABLE, DATABASE, FUNCTION
- INSERT
- DESCRIBE
- EXPLAIN
- USE
- SHOW
- LOAD
- UNLOAD
Data Types
Please see the dedicated page about data types.
请参阅有关数据类型的专用页面。
Generic types and (nested) composite types (e.g., POJOs, tuples, rows, Scala case classes) can be fields of a row as well.
泛型类型和(嵌套的)复合类型(例如POJO、元组、rows、Scala case类)也可以是一行的字段。
Fields of composite types with arbitrary nesting can be accessed with value access functions.
可以使用值访问函数访问具有任意嵌套的复合类型的字段。
Generic types are treated as a black box and can be passed on or processed by