()
| 221 | } |
| 222 | |
| 223 | @Test |
| 224 | public void testCommaSeparatedString5() throws Exception { |
| 225 | for (PigServer pig : servers) { |
| 226 | pc = pig.getPigContext(); |
| 227 | checkLoadPath("/usr/pig/{a,c},b", "/usr/pig/{a,c}," + WORKING_DIR + "/b"); |
| 228 | } |
| 229 | |
| 230 | // check if a location '<abs path>,<relative path>' can actually be |
| 231 | // read using PigStorage |
| 232 | String loadLocationString = WORKING_DIR + "/TestLoad-testCommaSeparatedStringMixed-input{1,2}.txt," + |
| 233 | "TestLoad-testCommaSeparatedStringMixed-input3.txt"; // current working dir is set to WORKING_DIR in checkLoadPath() |
| 234 | |
| 235 | String[] inputFileNames = new String[] { |
| 236 | WORKING_DIR + "/TestLoad-testCommaSeparatedStringMixed-input1.txt", |
| 237 | WORKING_DIR + "/TestLoad-testCommaSeparatedStringMixed-input2.txt", |
| 238 | WORKING_DIR + "/TestLoad-testCommaSeparatedStringMixed-input3.txt",}; |
| 239 | pc = servers[0].getPigContext(); // test in map reduce mode |
| 240 | testLoadingMultipleFiles(inputFileNames, loadLocationString); |
| 241 | } |
| 242 | |
| 243 | @Test |
| 244 | public void testCommaSeparatedString6() throws Exception { |
nothing calls this directly
no test coverage detected