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

Method IsPrimaryDataSQLTable

metadata/client.go:2165–2170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2163}
2164
2165func (variant *SourceVariant) IsPrimaryDataSQLTable() bool {
2166 if !variant.isPrimaryData() {
2167 return false
2168 }
2169 return reflect.TypeOf(variant.serialized.GetPrimaryData().GetLocation()) == reflect.TypeOf(&pb.PrimaryData_Table{})
2170}
2171
2172func (variant *SourceVariant) PrimaryDataSQLTableName() string {
2173 if !variant.IsPrimaryDataSQLTable() {

Callers 6

TestMethod · 0.80
runPrimaryTableJobMethod · 0.80
runRegisterSourceJobMethod · 0.80
runLabelRegisterJobMethod · 0.80

Calls 3

isPrimaryDataMethod · 0.95
GetPrimaryDataMethod · 0.80
GetLocationMethod · 0.45

Tested by 1

TestMethod · 0.64