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)
| 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 | """ |
no outgoing calls