Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Data Types

Updated on 2022-11-18 GMT+08:00

Currently, the following data types are supported during table creation: TINYINT, SMALLINT, BIGINT, INT, BOOLEAN, REAL, DECIMAL, DOUBLE, VARCHAR, STRING, BINARY, VARIBINARY, TIMESTAMP, DATE, CHAR, ARRAY, ROW, MAP, and STRUCT. Other types are supported during data query and calculation.

Generally, most non-composite data types can be entered by literals and character strings. In the example, a string in the JSON format is added.

select json '{"name": "zhangsan", "sex": "man"}';
              _col0              
---------------------------------
 {"name":"zhangsan","sex":"man"} 
(1 row)
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback