Skip to content

Commit c7f10a4

Browse files
committed
Replace regex with existing system variable
1 parent e81bee8 commit c7f10a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/clt-tests/mcl/auto-embeddings-openai-remote.rec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ Test KNN search with text query parameter (auto-embeddings approach)
126126
mysql -h0 -P9306 -e "SELECT id, knn_dist() FROM test_openai_remote WHERE knn(embedding, 3, 'machine learning and artificial intelligence')\G"
127127
––– output –––
128128
*************************** 1. row ***************************
129-
id: #!/[12]/!#
129+
id: %{NUMBER}
130130
knn_dist(): #!/[0-9]+\.[0-9]+/!#
131131
*************************** 2. row ***************************
132-
id: #!/[12]/!#
132+
id: %{NUMBER}
133133
knn_dist(): #!/[0-9]+\.[0-9]+/!#
134134
––– comment –––
135135
Test KNN search with additional filtering

test/clt-tests/mcl/auto-embeddings-voyage-remote.rec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ Test KNN search with text query parameter (auto-embeddings approach)
126126
mysql -h0 -P9306 -e "SELECT id, knn_dist() FROM test_voyage_remote WHERE knn(embedding, 3, 'machine learning and artificial intelligence')\G"
127127
––– output –––
128128
*************************** 1. row ***************************
129-
id: #!/[12]/!#
129+
id: %{NUMBER}
130130
knn_dist(): #!/[0-9]+\.[0-9]+/!#
131131
*************************** 2. row ***************************
132-
id: #!/[12]/!#
132+
id: %{NUMBER}
133133
knn_dist(): #!/[0-9]+\.[0-9]+/!#
134134
––– comment –––
135135
Test KNN search with additional filtering

0 commit comments

Comments
 (0)