I want to create new table in cratedb with one column of type long and other of type double using Sqlalchemy. I mapped long and double data types to Sqlalchemy's NUMERIC and DECIMAL data types as stated here. But they are not getting converted to long and double. Following is my code snippet.
I want to create new table in cratedb with one column of type long and other of type double using Sqlalchemy. I mapped long and double data types to Sqlalchemy's NUMERIC and DECIMAL data types as stated here. But they are not getting converted to long and double. Following is my code snippet.
The sql query it creates is
As numeric and decimal are not supported cratedb types, cratedb throws error.