From be84f0daa1928ae93c21b4c9f2fe913ae799645c Mon Sep 17 00:00:00 2001 From: Aleksey Myasnikov Date: Mon, 19 Jan 2026 19:18:20 +0300 Subject: [PATCH] refactor(ast): Removed redundant type ast.DistinctExpr (no parsers which produces instance of this type) --- internal/sql/ast/typedefs.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/sql/ast/typedefs.go b/internal/sql/ast/typedefs.go index 924fad767b..f3f0e2fc89 100644 --- a/internal/sql/ast/typedefs.go +++ b/internal/sql/ast/typedefs.go @@ -8,12 +8,6 @@ func (n *AclMode) Pos() int { return 0 } -type DistinctExpr OpExpr - -func (n *DistinctExpr) Pos() int { - return 0 -} - type NullIfExpr OpExpr func (n *NullIfExpr) Pos() int {