Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: rboccuzziIt depends on how you are inputing your data...if you are pulling from a database, where the data is already typed, it should maintain the type from there. If you are pulling from a text file, such as a csv delimited file for example, it is correct that you will be bringing in the data as string...
You can then use other nodes, such as the Data Analyzer, to discover the data types for you, or a filter node and BRAINscript functions such as date, time, int and double to change the types for each field. When converting after you have imported all the data, it gives you the ability to see the data, and deal with the exceptions properly. Sometimes data might have dates in some rows, but other numerical values in other rows, all in the same column, for example. You can look at the functions isDate, isTime, isDigit, etc. as some that can help test the data if you would rather not have the Data Analyzer do the work for you.
Cheers
Rich