Skip to content

BIGINT constants support #390

@serge-rider

Description

@serge-rider

Parser fails with when SQL expression contains long BIGINT constant.
Example:

select * from student where student_no = 20161114000000035001;

Error:

java.lang.NumberFormatException: Passed value does not contain a parsable long value

I see that net.sf.jsqlparser.expression.LongValue keeps value as long. Maybe it should be BigInteger. Or maybe BigIntegerValue expression should be introduced.

Source problem: dbeaver/dbeaver#1116

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions