Hi Abe,

Thanks for your interest. Have you tried any of the code in Arrow flight documentation:
https://arrow.apache.org/cookbook/r/flight.html
https://arrow.apache.org/cookbook/py/flight.html

or in the Arrow C++ example:

https://github.com/apache/arrow/blob/master/cpp/examples/arrow/flight_grpc_example.cc
https://github.com/apache/arrow/blob/master/cpp/examples/arrow/helloworld.proto

or in the tests:
https://github.com/apache/arrow/tree/master/cpp/src/arrow/flight

Regards,
Benson

On 12/10/21 10:20 AM, HSU YU-MING wrote:
Hi Benson:

Yes, that php client is running as web server,so i guess i need to use php-cpp, but i am very new beginning on php side, is it possible to provide some sample code with arrow flight to me?

Thanks,
Abe

Benson Muite <[email protected] <mailto:[email protected]>>於 2021年12月10日 週五,下午2:17寫道:

    On 12/10/21 8:39 AM, HSU YU-MING wrote:
     > Hi All:
     >
     > I create an arrow-flight server with python as my backend server.
    And I
     > have the other application written by PHP as client side. There are
     > rarely information talking about apache arrow with php.
     > Is it possible to use arrow flight as client inside php? if yes,
    do we
     > have any example to do that?
     > I will very appreciate that.
     >
     >
     > Many Thanks,
     > Abe
    Hi Abe,

    At the moment there is no direct PHP integration, either bindings or an
    implementation. Is PHP running a web service? If so could you use C++
    and integrate with that for example using http://www.php-cpp.com/
    <http://www.php-cpp.com/>?

    Another option might be to use Javascript if you only need client side
    integration in a browser? Some documentation is available at:
    https://arrow.apache.org/docs/js/ <https://arrow.apache.org/docs/js/>
    Flight is not integrated yet, but this can be extended.

    Regards,
    Benson


Reply via email to