(table, tmp_dir, **options, &block)
| 695 | |
| 696 | module FileInput |
| 697 | def open_input(table, tmp_dir, **options, &block) |
| 698 | path = File.join(tmp_dir, "data.#{file_extension}") |
| 699 | table.save(path, **options) |
| 700 | File.open(path, "rb", &block) |
| 701 | end |
| 702 | end |
| 703 | |
| 704 | module PipeInput |