ravel-net / pyotr

Apache License 2.0
0 stars 0 forks source link

Cast errors between int4_faure and integers #4

Closed mudbri closed 2 years ago

mudbri commented 2 years ago

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

mudbri commented 2 years ago

This is fixed in commit 078de2ec21c0b019cad1730556f6656604ab210b 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