This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-cookbook.git


The following commit(s) were added to refs/heads/main by this push:
     new d4e3b34  GH-321: [Java] add new error expiration as part of endpoints 
information (#322)
d4e3b34 is described below

commit d4e3b349f37a2b8ff01547b57fd99a523c1bb684
Author: david dali susanibar arce <davi.sar...@gmail.com>
AuthorDate: Fri Aug 25 10:19:08 2023 -0500

    GH-321: [Java] add new error expiration as part of endpoints information 
(#322)
    
    Closes #321
---
 java/ext/javadoctest.py | 1 +
 java/source/flight.rst  | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/java/ext/javadoctest.py b/java/ext/javadoctest.py
index 7a53d39..ae10930 100644
--- a/java/ext/javadoctest.py
+++ b/java/ext/javadoctest.py
@@ -104,6 +104,7 @@ def setup(app) -> Dict[str, Any]:
     app.add_directive("testcode", JavaTestcodeDirective)
     app.add_directive("testoutput", TestoutputDirective)
     app.add_builder(JavaDocTestBuilder)
+    app.add_config_value("doctest_show_successes", True, False)
     # this config value adds to sys.path
     app.add_config_value("doctest_path", [], False)
     app.add_config_value("doctest_test_doctest_blocks", "default", False)
diff --git a/java/source/flight.rst b/java/source/flight.rst
index 53017b2..fba29e7 100644
--- a/java/source/flight.rst
+++ b/java/source/flight.rst
@@ -287,7 +287,7 @@ Flight Client and Server
    S1: Server (Location): Listening on port 33333
    C1: Client (Location): Connected to grpc+tcp://0.0.0.0:33333
    C2: Client (Populate Data): Wrote 2 batches with 3 rows each
-   C3: Client (Get Metadata): FlightInfo{schema=Schema<name: Utf8>, 
descriptor=profiles, 
endpoints=[FlightEndpoint{locations=[Location{uri=grpc+tcp://0.0.0.0:33333}], 
ticket=org.apache.arrow.flight.Ticket@58871b0a}], bytes=-1, records=6, 
ordered=false}
+   C3: Client (Get Metadata): FlightInfo{schema=Schema<name: Utf8>, 
descriptor=profiles, 
endpoints=[FlightEndpoint{locations=[Location{uri=grpc+tcp://0.0.0.0:33333}], 
ticket=org.apache.arrow.flight.Ticket@58871b0a, expirationTime=(none)}], 
bytes=-1, records=6, ordered=false}
    C4: Client (Get Stream):
    Client Received batch #1, Data:
    name
@@ -299,7 +299,7 @@ Flight Client and Server
    Manuel
    Felipe
    JJ
-   C5: Client (List Flights Info): FlightInfo{schema=Schema<name: Utf8>, 
descriptor=profiles, 
endpoints=[FlightEndpoint{locations=[Location{uri=grpc+tcp://0.0.0.0:33333}], 
ticket=org.apache.arrow.flight.Ticket@58871b0a}], bytes=-1, records=6, 
ordered=false}
+   C5: Client (List Flights Info): FlightInfo{schema=Schema<name: Utf8>, 
descriptor=profiles, 
endpoints=[FlightEndpoint{locations=[Location{uri=grpc+tcp://0.0.0.0:33333}], 
ticket=org.apache.arrow.flight.Ticket@58871b0a, expirationTime=(none)}], 
bytes=-1, records=6, ordered=false}
    C6: Client (Do Delete Action): Delete completed
    C7: Client (List Flights Info): After delete - No records
    C8: Server shut down successfully
@@ -421,7 +421,7 @@ Once we do so, we can retrieve the metadata for that 
dataset.
 
 .. code-block:: shell
 
-   C3: Client (Get Metadata): FlightInfo{schema=Schema<name: Utf8>, 
descriptor=profiles, 
endpoints=[FlightEndpoint{locations=[Location{uri=grpc+tcp://0.0.0.0:33333}], 
ticket=org.apache.arrow.flight.Ticket@58871b0a}], bytes=-1, records=6}
+   C3: Client (Get Metadata): FlightInfo{schema=Schema<name: Utf8>, 
descriptor=profiles, 
endpoints=[FlightEndpoint{locations=[Location{uri=grpc+tcp://0.0.0.0:33333}], 
ticket=org.apache.arrow.flight.Ticket@58871b0a, expirationTime=(none)}], 
bytes=-1, records=6}
 
 Get Data
 ********

Reply via email to