diff --git a/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java b/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java index 4c8b14e..6442f4c 100644 --- a/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java +++ b/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java @@ -194,7 +194,8 @@ public void setup() throws Exception { SessionState.get().out = System.out; createTable(BASIC_TABLE, "a int, b string"); - createTableInSpecifiedPath(ENCRYPTED_TABLE, "a int, b string", encryptedTablePath, driver); + createTableInSpecifiedPath(ENCRYPTED_TABLE, "a int, b string", + WindowsPathUtil.getHdfsUriString(encryptedTablePath), driver); associateEncryptionZoneWithPath(encryptedTablePath);