Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ohaibbq committed Feb 16, 2024
1 parent e98ab9d commit bc44157
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/function_window.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ package internal

import (
"fmt"
"gonum.org/v1/gonum/stat"
"math"
"sort"
"strings"
"sync"

"gonum.org/v1/gonum/stat"
)

type WINDOW_ANY_VALUE struct {
Expand Down Expand Up @@ -320,8 +318,7 @@ func (f *WINDOW_LEAD) Done(agg *WindowFuncAggregatedStatus) (Value, error) {
}

type WINDOW_NTH_VALUE struct {
once sync.Once
n int
n int
}

func (f *WINDOW_NTH_VALUE) ParseArguments(args []Value) error {
Expand Down Expand Up @@ -646,7 +643,6 @@ func (f *WINDOW_CUME_DIST) Done(agg *WindowFuncAggregatedStatus) (Value, error)
type WINDOW_NTILE struct {
nParam int64
nTotal int64
nStep int64
iRow int64
}

Expand Down

0 comments on commit bc44157

Please sign in to comment.