File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ async fn sanity_before_after_index_creation(pool: PgPool) -> Result<()> {
5858
5959 let sql = format ! (
6060 "SELECT 1 FROM {} WHERE eql_v2.jsonb_array(e) @> eql_v2.jsonb_array('{}'::jsonb) LIMIT 1" ,
61- STE_VEC_VAST_TABLE ,
62- row
61+ STE_VEC_VAST_TABLE , row
6362 ) ;
6463
6564 // BEFORE: Without index, should use Seq Scan
@@ -128,8 +127,7 @@ async fn contains_encrypted_jsonb_param(pool: PgPool) -> Result<()> {
128127 // Verify index usage with literal for EXPLAIN (can't EXPLAIN with params)
129128 let explain_sql = format ! (
130129 "SELECT id FROM {} WHERE eql_v2.jsonb_contains(e, '{}'::jsonb) LIMIT 1" ,
131- STE_VEC_VAST_TABLE ,
132- sv_element
130+ STE_VEC_VAST_TABLE , sv_element
133131 ) ;
134132 assert_uses_index ( & pool, & explain_sql, STE_VEC_VAST_GIN_INDEX ) . await ?;
135133
@@ -421,8 +419,7 @@ async fn contained_by_jsonb_param_encrypted(pool: PgPool) -> Result<()> {
421419 // Verify index usage
422420 let explain_sql = format ! (
423421 "SELECT id FROM {} WHERE eql_v2.jsonb_contained_by('{}'::jsonb, e) LIMIT 1" ,
424- STE_VEC_VAST_TABLE ,
425- sv_element
422+ STE_VEC_VAST_TABLE , sv_element
426423 ) ;
427424 assert_uses_index ( & pool, & explain_sql, STE_VEC_VAST_GIN_INDEX ) . await ?;
428425
You can’t perform that action at this time.
0 commit comments