| 45 | { |
| 46 | |
| 47 | TEST(ArrowWriterTest, write_array_feather) |
| 48 | { |
| 49 | |
| 50 | Options readerOps; |
| 51 | readerOps.add("filename", Support::datapath("las/1.2-with-color.las")); |
| 52 | LasReader reader; |
| 53 | reader.setOptions(readerOps); |
| 54 | |
| 55 | Options writerOps; |
| 56 | writerOps.add("filename", Support::temppath("simple.feather")); |
| 57 | writerOps.add("batch_size", 3); |
| 58 | ArrowWriter writer; |
| 59 | writer.setInput(reader); |
| 60 | writer.setOptions(writerOps); |
| 61 | |
| 62 | PointTable table; |
| 63 | writer.prepare(table); |
| 64 | PointViewSet viewSet = writer.execute(table); |
| 65 | |
| 66 | } |
| 67 | |
| 68 | TEST(ArrowWriterTest, write_array_parquet) |
| 69 | { |