Open abeduplaa opened 5 years ago
Thanks for reporting @abeduplaa , we're in the middle of auditing all the functionality in pymapd, and we'll hopefully be able to fix this in the near future
@andrewseidl I think this one is for you. Sounds like on the backend, Arrow still goes through an endpoint that wants an Int32 even for an Int16
This same error happens for TEXT ENCODING NONE
also, says it's looking for TMapDException: TMapDException(error_msg='Exception: Expected int32 type')
When attempting to load a pandas dataframe with a datatype of int16 to a table with predefined datatype of INTEGER ENCODING FIXED(16), the following error is thrown:
to load the table, the following function from pymapd api was used:
con.load_table('table', df, method='infer', create=False)