Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Connect Discussions

Find answers, ask questions, and share expertise about Alteryx Connect.

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