blob: adc1923de7360830851be05c85f3a9b132d2d386 [file] [log] [blame]
-- CREATE IF NOT EXISTS already
CREATE CONNECTOR IF NOT EXISTS derby_auth
TYPE 'derby'
URL 'jdbc:derby:./target/tmp/junit_metastore_db;create=true'
COMMENT 'test derby connector'
WITH DCPROPERTIES (
"hive.sql.dbcp.username"="APP",
"hive.sql.dbcp.password"="mine");
-- test data connector authorization feature
SET hive.security.authorization.enabled=true;
-- DROP fail
DROP CONNECTOR derby_auth;