Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/parser/ast/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const (
AnalyzeOptCMSketchWidth
AnalyzeOptNumSamples
AnalyzeOptSampleRate
AnalyzeOptNDVRate
Comment thread
0xPoe marked this conversation as resolved.
)

// AnalyzeOptionString stores the string form of analyze options.
Expand All @@ -68,6 +69,7 @@ var AnalyzeOptionString = map[AnalyzeOptionType]string{
AnalyzeOptCMSketchDepth: "CMSKETCH DEPTH",
AnalyzeOptNumSamples: "SAMPLES",
AnalyzeOptSampleRate: "SAMPLERATE",
AnalyzeOptNDVRate: "NDVRATE",
}

// HistogramOperationType is the type for histogram operation.
Expand Down
1 change: 1 addition & 0 deletions pkg/parser/keywords.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/parser/keywords_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestKeywords(t *testing.T) {
}

func TestKeywordsLength(t *testing.T) {
require.Equal(t, 677, len(parser.Keywords))
require.Equal(t, 678, len(parser.Keywords))

reservedNr := 0
for _, kw := range parser.Keywords {
Expand Down
1 change: 1 addition & 0 deletions pkg/parser/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ var tokenMap = map[string]int{
"RUN": run,
"RUNNING": running,
"S3": s3,
"NDVRATE": ndvRate,
"SAMPLES": samples,
"SAMPLERATE": sampleRate,
"SAN": san,
Expand Down
Loading
Loading