Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Sep 4, 2024
1 parent 8246727 commit b70e52d
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ suite("with_select_table_auth","p0,auth") {
"mv1"
)
}

connect(user=user_name, password="${pwd}", url=context.config.jdbcUrl) {
sql "use ${db}"
test {
sql """select * from mv1;"""
exception "denied"
}
}

sql """drop MATERIALIZED VIEW IF EXISTS ${db}.mv1;"""
}

0 comments on commit b70e52d

Please sign in to comment.