Under certain conditions, score code generation might fail due to the structure of one or more calculated columns. When the length of text in your calculated columns is excessively long, the SAS LASR Analytic Server cannot include them in the score code. The following situations can create excessively long calculated columns:
- A derived item from a decision tree might cause a problem if it contains a category variable with many distinct levels. Deleting this variable might help.
- A custom category variable transferred from SAS® Visual Analytics Explorer might cause a problem if it contains many distinct levels. Deleting this variable in SAS Visual Analytics Explorer and performing a new transfer to SAS® Visual Statistics might help.
- Any calculated item transferred from SAS Visual Analytics Explorer can cause this problem, especially if any condition is excessively long. Deleting this calculation in SAS Visual Analytics Explorer and performing a new transfer to SAS Visual Statistics might help.
Due to optimizations performed by the SAS LASR Analytic Server, there is not a fixed threshold at which a calculated column is considered excessively long. In general, the length of text within any parentheses in your calculated columns should be shorter than 1,024 bytes.