Data Types
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
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.