Skip to content

Materialize does not support format function #59

Open
@paoliniluis

Description

@paoliniluis

Seems that the driver inherits mostly from postgres, and it tries to generate a query with "format" function which does not support: https://www.postgresql.org/docs/current/functions-string.html

.e.g.
ERROR: function "format" does not exist, Hint: No function matches the given name and argument types. You might need to add explicit type casts. {:driver :materialize, :sql ["SELECT" " "c"."column_name" AS "name"," " CASE" " WHEN "c"."udt_schema" IN ('public', 'pg_catalog') THEN FORMAT('%s', "c"."udt_name")" " ELSE FORMAT('"%s"."%s"', "c"."udt_schema", "c"."udt_name")" " END AS "database-type","

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