作者 yangfu

修改starrocks 查询驱动

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