V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dtgxx
V2EX  ›  问与答

急,大佬们, Hive 里面 cast 转换大数用啥类型?

  •  
  •   dtgxx · Dec 15, 2020 · 1033 views
    This topic created in 1972 days ago, the information mentioned may be changed or developed.

    select cast('340282366920938463463374607431768211455' as bigint);


    试了几个都不行

    2 replies    2020-12-15 23:36:14 +08:00
    Meltdown
        1
    Meltdown  
       Dec 15, 2020 via Android
    怎么不行
    dtgxx
        2
    dtgxx  
    OP
       Dec 15, 2020
    @Meltdown #1 数太大 返回都是 NULL
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1031 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:30 · PVG 02:30 · LAX 11:30 · JFK 14:30
    ♥ Do have faith in what you're doing.