()
| 144 | } |
| 145 | |
| 146 | @Test |
| 147 | public void testLongEvalSpec() throws Exception { |
| 148 | inputFileName = "testLongEvalSpec-input.txt"; |
| 149 | String[] input = new String[500]; |
| 150 | for (int i = 0; i < 500; i++) { |
| 151 | input[i] = ("0\ta"); |
| 152 | } |
| 153 | for (ExecType execType : execTypes) { |
| 154 | try { |
| 155 | setUp(execType); |
| 156 | createInput(input, execType); |
| 157 | pigServer.registerQuery("a = load '" + inputFileName + "';"); |
| 158 | pigServer.registerQuery("a = filter a by $0 == '1';"); |
| 159 | |
| 160 | Iterator<Tuple> iter = pigServer.openIterator("a"); |
| 161 | assertFalse(iter.hasNext()); |
| 162 | } finally { |
| 163 | tearDown(execType); |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | } |
nothing calls this directly
no test coverage detected