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

Method write

python/pyarrow/orc.py:278–289  ·  view source on GitHub ↗

Write the table into an ORC file. The schema of the table must be equal to the schema used when opening the ORC file. Parameters ---------- table : pyarrow.Table The table to be written into the ORC file

(self, table)

Source from the content-addressed store, hash-verified

276 self.close()
277
278 def write(self, table):
279 """
280 Write the table into an ORC file. The schema of the table must
281 be equal to the schema used when opening the ORC file.
282
283 Parameters
284 ----------
285 table : pyarrow.Table
286 The table to be written into the ORC file
287 """
288 assert self.is_open
289 self.writer.write(table)
290
291 def close(self):
292 """

Callers 7

log_requestMethod · 0.45
write_stdinMethod · 0.45
wait_for_doneMethod · 0.45
write_tableFunction · 0.45
_download_urllibFunction · 0.45
_download_requestsFunction · 0.45
add_fsFunction · 0.45

Calls

no outgoing calls

Tested by 4

log_requestMethod · 0.36
write_stdinMethod · 0.36
wait_for_doneMethod · 0.36
add_fsFunction · 0.36