(id ResourceID)
| 1210 | } |
| 1211 | |
| 1212 | func (store *sqlOfflineStore) createTransformationName(id ResourceID) (string, error) { |
| 1213 | switch id.Type { |
| 1214 | case Transformation: |
| 1215 | return GetPrimaryTableName(id) |
| 1216 | case Label: |
| 1217 | return "", TransformationTypeError{"Invalid Transformation Type: Label"} |
| 1218 | case Feature: |
| 1219 | return "", TransformationTypeError{"Invalid Transformation Type: Feature"} |
| 1220 | case TrainingSet: |
| 1221 | return "", TransformationTypeError{"Invalid Transformation Type: Training Set"} |
| 1222 | case Primary: |
| 1223 | return "", TransformationTypeError{"Invalid Transformation Type: Primary"} |
| 1224 | default: |
| 1225 | return "", TransformationTypeError{"Invalid Transformation Type"} |
| 1226 | } |
| 1227 | } |
| 1228 | |
| 1229 | type sqlGenericTableIterator struct { |
| 1230 | rows *sql.Rows |
no test coverage detected