...
|
...
|
@@ -475,12 +475,6 @@ func (tableService *TableService) ValidExprSql(ctx *domain.Context, cmd *command |
|
|
sql += " from " + strings.Join(set.KeysStr(), ",")
|
|
|
sql += " limit 1"
|
|
|
}
|
|
|
//tx := starrocks.DB.Exec(sql)
|
|
|
//if tx.Error != nil {
|
|
|
// return map[string]string{
|
|
|
// "result": tx.Error.Error(),
|
|
|
// }, nil
|
|
|
//}
|
|
|
err := starrocks.ExecOfficial(sql)
|
|
|
if err != nil {
|
|
|
return map[string]string{
|
...
|
...
|
|