paleolimbot commented on code in PR #388: URL: https://github.com/apache/arrow-nanoarrow/pull/388#discussion_r1496019652
########## python/src/nanoarrow/ipc.py: ########## @@ -0,0 +1,184 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +import io + +from nanoarrow._ipc_lib import CIpcInputStream, init_array_stream +from nanoarrow._lib import CArrayStream + + +class Stream: + """Stream of serialized Arrow data + + Reads file paths or otherwise readable file objects that contain + serialized Arrow data. Arrow documentation typically refers to this format + as "Arrow IPC" because its origin was as a means to transmit tables between Review Comment: Yes...the file format is not implemented in nanoarrow (although if you skip the first 8 bytes of the file it's the same in many cases). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
