File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ func TestBuildFilterCondition(t *testing.T) {
503503 expectedStartIdx : 1 ,
504504 expectedErr : nil ,
505505 },
506- // New tests for @kind field
506+ // @kind is handled at table selection level, not in WHERE clauses
507507 {
508508 name : "Kind Equals" ,
509509 filter : Filter {
@@ -512,8 +512,8 @@ func TestBuildFilterCondition(t *testing.T) {
512512 Operator : OpEquals ,
513513 Value : "asset" ,
514514 },
515- expectedCond : "'asset' ILIKE $1 " ,
516- expectedParams : [] interface {}{ "asset" } ,
515+ expectedCond : "TRUE " ,
516+ expectedParams : nil ,
517517 expectedStartIdx : 1 ,
518518 expectedErr : nil ,
519519 },
@@ -525,8 +525,8 @@ func TestBuildFilterCondition(t *testing.T) {
525525 Operator : OpContains ,
526526 Value : "gloss" ,
527527 },
528- expectedCond : "'asset' ILIKE $1 " ,
529- expectedParams : [] interface {}{ "%gloss%" } ,
528+ expectedCond : "TRUE " ,
529+ expectedParams : nil ,
530530 expectedStartIdx : 1 ,
531531 expectedErr : nil ,
532532 },
You can’t perform that action at this time.
0 commit comments