Skip to content
Open
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: 1 addition & 1 deletion .github/workflows/clickhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.24

- name: ClickHouse in GitHub Actions
uses: EpicStep/clickhouse-github-action@v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.24

- name: Build
run: go build -v ./...
Expand Down
1 change: 1 addition & 0 deletions api/models/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ func (g Graph) GetTree(current string) Graph {
}
return graph
}

2 changes: 1 addition & 1 deletion dictionary_column.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func isSameColumnTables(t1, t2 []string) error {
sort.Strings(t1)
sort.Strings(t2)
// TODO linq
for i := 0; i < len(t1); i++ {
for i := range len(t1) {
if t1[i] != t2[i] {
return fmt.Errorf("table is not same t1=%v, t2=%v", t1, t2)
}
Expand Down
2 changes: 1 addition & 1 deletion dictionary_splitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (n *NormalClauseSplitter) buildDimensionJoin() []*types.Join {
}
ds1, dl1, ds2, dl2 := v.Get1().DataSource, v.Get1().Dimension, v.Get2().DataSource, v.Get2().Dimension
var on []*types.JoinOn
for i := 0; i < len(dl1); i++ {
for i := range len(dl1) {
k1 := fmt.Sprintf("%v.%v", ds1, dl1[i])
k2 := fmt.Sprintf("%v.%v", ds2, dl2[i])
d1, _ := dGraph.GetDimension(k1)
Expand Down
Loading