Skip to content

Commit

Permalink
fix: ignoring the query result in ByConity cause a failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lzf575 committed Jan 20, 2025
1 parent 698a715 commit 97142e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/libs/ckdb/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ FROM %s`,

func (t *Table) MakeAggrGlobalTableCreateSQL(orgID uint16, aggrInterval AggregationInterval) string {
if t.DBType == CKDBTypeByconity {
return "SELECT VERSION()"
return t.MakeAggrLocalTableCreateSQL(orgID, aggrInterval)
}
tableGlobal := fmt.Sprintf("%s.%s", t.tablePrefix(), aggrInterval.String())
tableLocal := fmt.Sprintf("%s.%s_local", t.tablePrefix(), aggrInterval.String())
Expand Down

0 comments on commit 97142e9

Please sign in to comment.