Division formula problem, replace float to double

Division formula problem, replace float to double.

By default, when im trying to create custom expression with Column A / Column B, im getting error because metabase trying to cast column to FLOAT and i dont have this column type, i have only double.

How i can make changes in default conversions ?!

My formula:

Error im getting:

Reason of error:

Hi @andrei.gladyshev
The driver needs to change the type to something that is supported by the database.
Post "Diagnostic Info" from Admin > Troubleshooting, and the driver version you're using.


Version v0.41.5
Built on 2021-12-16

Diagnostic Info :
"browser-info": {
"language": "en-GB",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.13+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.13",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.13+8",
"os.name": "Linux",
"os.version": "4.14.214-160.339.amzn2.x86_64",
"user.language": "en",
"user.timezone": "Asia/Manila"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "12.3"
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.23"
"run-mode": "prod",
"version": {
"date": "2021-12-16",
"tag": "v0.41.5",
"branch": "release-x.41.x",
"hash": "fbfffc6"
"settings": {
"report-timezone": "Asia/Manila"

@andrei.gladyshev I don't know which driver version you're using, but use the latest and a matching Metabase compatible version, and open an issue in that repo: https://github.com/dacort/metabase-athena-driver

thank you! we updated driver and it works!