Skip to content

The result type of count/count_distinct #2635

@liukun4515

Description

@liukun4515

Describe the bug
Now, the result type of count is UINT64 in the current version.

From the pg document, https://www.postgresql.org/docs/current/functions-aggregate.html

We get that

count ( * ) → bigint

Computes the number of input rows.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions