Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 6048aba

Browse files
committed
Removing some stuff
1 parent c8e7abb commit 6048aba

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

platform/frontend_connectors/schema_transformer.go

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,11 @@ type SchemaCheckPass struct {
3333
}
3434

3535
func NewSchemaCheckPass(cfg *config.QuesmaConfiguration, tableDiscovery database_common.TableDiscovery, strategyType searchAfterStrategyType) *SchemaCheckPass {
36-
schemaCheckPass := &SchemaCheckPass{
36+
return &SchemaCheckPass{
3737
cfg: cfg,
3838
tableDiscovery: tableDiscovery,
3939
searchAfterStrategy: searchAfterStrategyFactory(strategyType),
4040
}
41-
return schemaCheckPass
42-
}
43-
44-
func (s *SchemaCheckPass) RemoveTransformation(name string) {
45-
for i, transformation := range s.transformations {
46-
if transformation.TransformationName == name {
47-
s.transformations = append(s.transformations[:i], s.transformations[i+1:]...)
48-
return
49-
}
50-
}
5141
}
5242

5343
func (s *SchemaCheckPass) isFieldMapSyntaxEnabled(query *model.Query) bool {

0 commit comments

Comments
 (0)