From 981ff8f74aae44df09f0d39a0bf40a44fa36f334 Mon Sep 17 00:00:00 2001 From: Marcus Gartner Date: Wed, 31 May 2023 09:57:33 -0400 Subject: [PATCH] sql: fix comment in type_check.go This commit fixes a comment that has been outdated since #100704. Release note: None --- pkg/sql/sem/tree/type_check.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/sql/sem/tree/type_check.go b/pkg/sql/sem/tree/type_check.go index c6835db6b970..c581b8dc1f52 100644 --- a/pkg/sql/sem/tree/type_check.go +++ b/pkg/sql/sem/tree/type_check.go @@ -2347,8 +2347,6 @@ func typeCheckComparisonOp( // a::TEXT @@ b::TEXT | to_tsvector(a) @@ plainto_tsquery(b) // a::TEXT @@ b::TSQUERY | to_tsvector(a) @@ b // a::TSQUERY @@ b::TEXT | a @@ to_tsvector(b) - // a::TSVECTOR @@ b::TEXT | a @@ b::TSQUERY - // a::TEXT @@ b::TSVECTOR | a::TSQUERY @@ b if leftFamily == types.StringFamily { if rightFamily == types.StringFamily || rightFamily == types.TSQueryFamily { leftExprs := make(Exprs, 1)