|
92 | 92 | import org.apache.arrow.util.AutoCloseables; |
93 | 93 | import org.apache.arrow.util.Preconditions; |
94 | 94 | import org.apache.arrow.vector.VectorSchemaRoot; |
95 | | -import org.apache.arrow.vector.ipc.ArrowStreamReader; |
| 95 | +import org.apache.arrow.vector.ipc.ArrowReader; |
96 | 96 | import org.apache.arrow.vector.ipc.ReadChannel; |
97 | 97 | import org.apache.arrow.vector.ipc.message.MessageSerializer; |
98 | 98 | import org.apache.arrow.vector.types.pojo.Schema; |
@@ -236,7 +236,7 @@ public long executeIngest( |
236 | 236 | * @return the number of rows affected. |
237 | 237 | */ |
238 | 238 | public long executeIngest( |
239 | | - final ArrowStreamReader dataReader, |
| 239 | + final ArrowReader dataReader, |
240 | 240 | final ExecuteIngestOptions ingestOptions, |
241 | 241 | final CallOption... options) { |
242 | 242 | return executeIngest(dataReader, ingestOptions, /*transaction*/ null, options); |
@@ -270,7 +270,7 @@ public long executeIngest( |
270 | 270 | * @return the number of rows affected. |
271 | 271 | */ |
272 | 272 | public long executeIngest( |
273 | | - final ArrowStreamReader dataReader, |
| 273 | + final ArrowReader dataReader, |
274 | 274 | final ExecuteIngestOptions ingestOptions, |
275 | 275 | Transaction transaction, |
276 | 276 | final CallOption... options) { |
|
0 commit comments