MCPcopy Create free account
hub / github.com/featureform/featureform / createTransformationName

Method createTransformationName

provider/sql.go:1212–1227  ·  view source on GitHub ↗
(id ResourceID)

Source from the content-addressed store, hash-verified

1210}
1211
1212func (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
1229type sqlGenericTableIterator struct {
1230 rows *sql.Rows

Callers 2

CreateTransformationMethod · 0.95
UpdateTransformationMethod · 0.95

Calls 1

GetPrimaryTableNameFunction · 0.85

Tested by

no test coverage detected