You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2022/07/28 12:40:26 UTC

[arrow-cookbook] branch main updated: [Java] Added missing semicolon in Working with Schema page (#232)

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 cf52571  [Java] Added missing semicolon in Working with Schema page (#232)
cf52571 is described below

commit cf52571a04b90a0dae66ba38a4deba10307efadd
Author: Ashish <pa...@gmail.com>
AuthorDate: Thu Jul 28 05:40:21 2022 -0700

    [Java] Added missing semicolon in Working with Schema page (#232)
    
    * added missing semicolon
    
    * added semicolon in one more receipe
---
 java/source/schema.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/source/schema.rst b/java/source/schema.rst
index a855e77..f6bcfaa 100644
--- a/java/source/schema.rst
+++ b/java/source/schema.rst
@@ -20,7 +20,7 @@ Fields are used to denote the particular columns of tabular data.
     import org.apache.arrow.vector.types.pojo.FieldType;
 
     Field name = new Field("name", FieldType.nullable(new ArrowType.Utf8()), null);
-    System.out.print(name)
+    System.out.print(name);
 
 .. testoutput::
 
@@ -33,7 +33,7 @@ Fields are used to denote the particular columns of tabular data.
     import org.apache.arrow.vector.types.pojo.FieldType;
 
     Field age = new Field("age", FieldType.nullable(new ArrowType.Int(32, true)), null);
-    System.out.print(age)
+    System.out.print(age);
 
 .. testoutput::
 
@@ -52,7 +52,7 @@ Fields are used to denote the particular columns of tabular data.
     childFields.add(childField);
     Field points = new Field("points", listType, childFields);
 
-    System.out.print(points)
+    System.out.print(points);
 
 .. testoutput::
 
@@ -108,7 +108,7 @@ In case we need to add metadata to our Field we could use:
     metadata.put("C", "Visa");
     Field document = new Field("document", new FieldType(true, new ArrowType.Utf8(), null, metadata), null);
 
-    System.out.print(document.getMetadata())
+    System.out.print(document.getMetadata());
 
 .. testoutput::