Skip to content

[Bug]: Postgres money type is inferred as categorial input #64

Description

@Alexnortung

Short description of current behavior

I am using a postgres database with a money column that has several different values. But mindsdb (or lightwood) infers it as categorial input.

Video or screenshots

When using the sdk I get the following data:

billede

Expected behavior

I would expect the money column to be inferred as a number column, since in postgres it is also a numeric value and is defenitely not a categorial value.

How to reproduce the error

  • Use a posgres database
  • create a table with a money column
  • add several rows with different values
  • create a model for it in mindsdb and see that it is inferred as categorial input

Anything else?

I think part of the problem is that postgres formats the money column output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions