Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
shuke987 committed Dec 24, 2024
1 parent f7a2cd2 commit 2c10967
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ suite("test_mysql_jdbc_statistics", "p0,external,mysql,external_docker,external_
Thread.sleep(1000)
}
sql """analyze table ex_tb0 with sync"""
def result = sql """show column stats ex_tb0 (name)"""
result = sql """show column stats ex_tb0 (name)"""
assertEquals(result.size(), 1)
assertEquals(result[0][0], "name")
assertEquals(result[0][2], "5.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ suite("test_auto_partition_behavior") {
logger.info("get table replica num: " + replicaNum)

sql """ insert into test_change values ("20201212"); """
def part_result = sql " show tablets from test_change "
part_result = sql " show tablets from test_change "
assertEquals(part_result.size, 2 * replicaNum)
sql """ ALTER TABLE test_change MODIFY DISTRIBUTION DISTRIBUTED BY HASH(k0) BUCKETS 50; """
sql """ insert into test_change values ("20001212"); """
Expand Down
2 changes: 1 addition & 1 deletion regression-test/suites/query_profile/test_profile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def SUCCESS_MSG = 'success'
def SUCCESS_CODE = 0
def QUERY_NUM = 5

random = new Random()
def random = new Random()

def getRandomNumber(int num){
return random.nextInt(num)
Expand Down

0 comments on commit 2c10967

Please sign in to comment.