Skip to content

Columns with NUMERIC datatype do not return any value in the query #50

@supermuka

Description

@supermuka

Consider the following columns and respectives datatypes on table auge_objective.measures:

id VARCHAR,
name VARCHAR,
start_value NUMERIC,
end_value NUMERIC,
current_value NUMERIC

When the query is executed the following way, the NUMERIC columns don't return nothing.

"SELECT id, name, start_value, end_value, current_value FROM auge_objective.measures ";

But if it's used cast to REAL, the query returns with right values. It´s works!

"SELECT id, name, start_value::REAL, end_value::REAL, current_value::REAL FROM auge_objective.measures ";

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