MCPcopy Create free account
hub / github.com/apache/pig / createInputFile

Method createInputFile

test/org/apache/pig/test/TestJoinLocal.java:52–59  ·  view source on GitHub ↗
(String fileNameHint, String[] data)

Source from the content-addressed store, hash-verified

50 pigServer = new PigServer(Util.getLocalTestMode());
51 }
52 @Override
53 protected String createInputFile(String fileNameHint, String[] data)
54 throws IOException {
55 String fileName = "";
56 File f = Util.createInputFile("test", fileNameHint, data);
57 fileName = Util.generateURI(f.getAbsolutePath(), pigServer.getPigContext());
58 return fileName;
59 }
60
61 @Override
62 protected void deleteInputFile(String fileName) throws Exception {

Callers 1

testJoinSchema2Method · 0.95

Calls 4

createInputFileMethod · 0.95
generateURIMethod · 0.95
getAbsolutePathMethod · 0.80
getPigContextMethod · 0.45

Tested by

no test coverage detected