We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Why is Alteryx casting field to REAL when using AVG for In-DB connection?

Bo
5 - Atom

I'm using In-db plugin and Alteryx seems to cast the field used in Avg to REAL. My database doesn't support real. Is there a way to change this behavior? It doesn't do it for things like SUM. 

 

AVG(CAST(field as REAL))

 

I have created some mappings of the datatypes using the sample from here: C:\Users\<user>\AppData\Local\Alteryx\bin\RuntimeData\ODBC

 

But that doesn't seem to be for how Alteryx generates the SQL to the database. Any help is appreciated.

0 REPLIES 0
Labels
Top Solution Authors