Skip to content

Commit 64ca7f1

Browse files
author
smadarasmi
committed
replace postgresql ~ with generic sql LIKE
1 parent 1fdcf27 commit 64ca7f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/feast/core/dao/FeatureSetRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ public interface FeatureSetRepository extends JpaRepository<FeatureSet, String>
1111
List<FeatureSet> findByName(String name);
1212

1313
// find all versions of featureSets with names matching the regex
14-
@Query(nativeQuery=true, value="SELECT * FROM feature_sets WHERE name ~ ?1")
14+
@Query(nativeQuery=true, value="SELECT * FROM feature_sets WHERE name LIKE ?1")
1515
List<FeatureSet> findByNameRegex(String regex);
1616
}

0 commit comments

Comments
 (0)