BIGINT Max Value

While I was flipping Dune's Dashboard vertical - https://dune.com/cryptuschrist/dunesql-functions - I added min and max values for different number types going by Trino's Docs. According to Trino the highest value for BIGINT is 2^63 - 1 In dune Power(2,63) - 1 throws an error. I figured out that the actual highest it would work at is 2^63 - 513 . Not sure if it is an actual bug or not but thought I would let you guys know.

Please authenticate to join the conversation.

Upvoters
Status

Open

Board

Bugs

Date

About 3 years ago

Author

CryptusChrist

Subscribe to post

Get notified by email when there are changes.