在flink的table api&sql应用程序开发中,我们知道是吧所有的数据结构抽象成了一张表table,然后使用sql的语法对数据进行处理。那么既然是sql的语法,那么整个数据结构就会有一些基本的数据类型的支持,下表中我们列举出相关的基础数据类型。
| 序号 | 类型 | 类别 |
| 1 | char | string |
| 2 | varchar | |
| 3 | string | |
| 4 | boolean | boolean |
| 5 | binary | binary string |
| 6 | varbinary | |
| 7 | bytes | |
| 8 | decimal | Exact numertics |
| 9 | tinyint | |
| 10 | smallint | |
| 11 | integer | |
| 12 | bigint | |
| 13 | float | Approximate Numerics |
| 14 | double | |
| 15 | date | date and time |
| 16 | time | |
| 17 | timestamp | |
| 18 | timestamp_ltz | |
| 19 | interval | |
| 20 | array | constructed data types |
| 21 | multiset | |
| 22 | map | |
| 23 | row | |
| 24 | raw | other data types |
| 25 | structured types | user-defined data types |

还没有评论,来说两句吧...