()
| 193 | } |
| 194 | |
| 195 | @SuppressWarnings("unchecked") |
| 196 | @Test |
| 197 | public void testCommaSeparatedString3() throws Exception { |
| 198 | PigServer pig = servers[0]; |
| 199 | pc = pig.getPigContext(); |
| 200 | boolean noConversionExpected = true; |
| 201 | checkLoadPath("hdfs:"+ WORKING_DIR + "/test,hdfs:" + WORKING_DIR + "/test2,hdfs:" + WORKING_DIR + "/test3", |
| 202 | "hdfs:" + WORKING_DIR + "/test,hdfs:" + WORKING_DIR + "/test2,hdfs:" + WORKING_DIR + "/test3", noConversionExpected ); |
| 203 | |
| 204 | // check if a location 'hdfs:<abs path>,hdfs:<abs path>' can actually be |
| 205 | // read using PigStorage |
| 206 | String[] inputFileNames = new String[] { |
| 207 | WORKING_DIR + "/TestLoad-testCommaSeparatedString3-input1.txt", |
| 208 | WORKING_DIR + "/TestLoad-testCommaSeparatedString3-input2.txt"}; |
| 209 | String inputString = "hdfs:" + inputFileNames[0] + ",hdfs:" + |
| 210 | inputFileNames[1]; |
| 211 | testLoadingMultipleFiles(inputFileNames, inputString); |
| 212 | |
| 213 | } |
| 214 | |
| 215 | @Test |
| 216 | public void testCommaSeparatedString4() throws Exception { |
nothing calls this directly
no test coverage detected