Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Apr 3, 2024
1 parent a63a967 commit 3c5a7c0
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,16 @@ suite("test_alter_table_property") {
}

assertTrue(showResult1.toString().containsIgnoreCase('"disable_auto_compaction" = "false"'))
sql """
alter table ${tableName} set ("disable_auto_compaction" = "true")
"""
sql """sync"""

def showResult3 = sql """show create table ${tableName}"""
logger.info("${showResult3}")
assertTrue(showResult3.toString().containsIgnoreCase('"disable_auto_compaction" = "true"'))
if (!isCloudMode()) {
sql """
alter table ${tableName} set ("disable_auto_compaction" = "true")
"""
sql """sync"""
def showResult3 = sql """show create table ${tableName}"""
logger.info("${showResult3}")
assertTrue(showResult3.toString().containsIgnoreCase('"disable_auto_compaction" = "true"'))
}

sql """ DROP TABLE IF EXISTS ${tableName} """
sql """sync"""
Expand Down

0 comments on commit 3c5a7c0

Please sign in to comment.