mindsdb / type_infer

Type inference for Machine Learning pipelines
GNU General Public License v3.0
17 stars 7 forks source link

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

Open Alexnortung opened 7 months ago

Alexnortung commented 7 months ago

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

Anything else?

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

ZoranPandovski commented 7 months ago

Thanks for reporting this @Alexnortung . It looks like the issue is in our type_infer library. We will check this. @paxcema Should we transfer this issue to type_infer repo ?