MCPcopy Create free account
hub / github.com/apache/arrow / _run

Method _run

dev/archery/archery/integration/tester_java.py:251–269  ·  view source on GitHub ↗
(self, arrow_path=None, json_path=None, command='VALIDATE')

Source from the content-addressed store, hash-verified

249 '--add-reads=org.apache.arrow.flight.core=ALL-UNNAMED')
250
251 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'):
252 cmd = (
253 ['java'] +
254 self._java_opts +
255 ['-cp', _ARROW_TOOLS_JAR, 'org.apache.arrow.tools.Integration']
256 )
257
258 if arrow_path is not None:
259 cmd.extend(['-a', arrow_path])
260
261 if json_path is not None:
262 cmd.extend(['-j', json_path])
263
264 cmd.extend(['-c', command])
265
266 if self.debug:
267 log(' '.join(cmd))
268
269 run_cmd(cmd)
270
271 def validate(self, json_path, arrow_path, quirks=None):
272 return self._run(arrow_path, json_path, 'VALIDATE')

Callers 2

validateMethod · 0.95
json_to_fileMethod · 0.95

Calls 3

extendMethod · 0.80
run_cmdFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected