HI,

I"m working on writing an aggregate in in C that is a MAL function. I've run into a problem with decimal types.

I've noticed that when I inspect the BAT inputs for various types, they are coerced to
simpler types. (flt,dbl -> dbl). (int, decimal -> int). There is also no other information in the BAT structure to see the type.

I notice that a SQL select gets the type info passed in as parameters for the 'exportValue' output.

For example:
>  sql.exportValue(1,".","second_single_value","decimal",9,3,8,_4,"");      
How can I get this type information ('decimal', etc.) passed into my function?

Dru