ravel-net / pyotr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cast errors between int4_faure and integers

mudbri opened this issue · comments

When working with c-variables, many queries attempt to cast integers to int4_faure and int4_faure to integers. For example, if the WHERE clause has a clause such as "t0.c0 = 1", whereby t0.c0 is a column of type int4_faure, this will require an implicit cast from integer 1 to int4_faure column. The solution to this would be to add functions in int4_faure to support these casts

This is fixed in commit 078de2e in the changes made to files int_faure.c and int_faure.source. Please make sure to recompile and reinstall int4_faure to make this work