Skip to content

[Bug]: CV11 triggered with only one type cast #2010

@austinbutler

Description

@austinbutler

What happened?

The following results in Inconsistent type casting styles found (CV11).

SELECT STRING_AGG(id::text, ' ')
FROM ou;

Config:

[sqruff]
dialect = postgres
rules = all

Version

0.29.3

Checked in Playground

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