zoukankan      html  css  js  c++  java
  • clickhouse Mysql 数据类型对比

    ClickHouse MySQL Comment
    UInt8, UInt16, UInt32, UInt64 TINYINT UNSIGNED, SMALLINT UNSIGNED, INT UNSIGNED, BIGINT UNSIGNED  
    Int8, Int16, Int32, Int64 TINYINT SIGNED, SMALLINT SIGNED, INT SIGNED, BIGINT SIGNED  
    Float32, Float64 FLOAT, DOUBLE Supports inf, -inf, nan, recommended NOT to use by ClickHouse!
    String BLOB, TEXT, VARCHAR, VARBINARY No encoding. Recommended to use UTF-8. In fact behaves like a BLOB.
    FixedString(n) CHAR, BINARY padded. Less functions available than String, in fact it behaves like BINARY.
    Date DATE UNIX epoch date up to 2038.
    DateTime DATETIME, TIMESTAMP UNIX epoch timestamp up to 2038.
    Enum ENUM Similar to MySQL ENUM. Behaves like Int8/16.
    Array(type) n.a. Array of type. Closest equivalent in MySQL is JSON? Not well supported.
    Tuple() n.a.  
    Nested() n.a. Closest equivalent in MySQL is JSON?
    AggregateFunction() n.a.  
    Set n.a.  
    Expression n.a.
  • 相关阅读:
    springboot 整合 memcached l
    文件处理工具类 l
    执行脚本工具类 l
    LRU l
    归并排序 l
    Redis 数据类型 l
    git 常用操作命令 唏嘘
    postmanPOST请求 status 415错误 唏嘘
    MySQL 启动和关闭MySQL服务 唏嘘
    OO和OP
  • 原文地址:https://www.cnblogs.com/cbugs/p/13388173.html
Copyright © 2011-2022 走看看