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

github-bot pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/datafusion-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 4ab913c  Commit build products
4ab913c is described below

commit 4ab913c8c066732006b9f5bc0f9cdee6c95b3676
Author: Build Pelican (action) <priv...@infra.apache.org>
AuthorDate: Mon Sep 22 12:30:01 2025 +0000

    Commit build products
---
 blog/2025/09/21/custom-types-using-metadata/index.html      | 6 ++++--
 blog/feeds/all-en.atom.xml                                  | 6 ++++--
 blog/feeds/blog.atom.xml                                    | 6 ++++--
 blog/feeds/tim-saucer-dewey-dunnington-andrew-lamb.atom.xml | 6 ++++--
 4 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/blog/2025/09/21/custom-types-using-metadata/index.html 
b/blog/2025/09/21/custom-types-using-metadata/index.html
index aa6c4bc..bee3ff5 100644
--- a/blog/2025/09/21/custom-types-using-metadata/index.html
+++ b/blog/2025/09/21/custom-types-using-metadata/index.html
@@ -135,7 +135,9 @@ metadata on the input side, you can write a functions 
similar to this example:</
         };
     }
 
-    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, true)))
+    let is_nullable = args.arg_fields[0].is_nullable();
+
+    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, is_nullable)))
 }
 </code></pre>
 <p>In this example, we take advantage of the fact that we already have support 
for extension
@@ -153,7 +155,7 @@ extension type support, we could have instead written a 
snippet such as:</p>
 you can add this directly into the <code>Field</code> that is the output of 
the <code>return_field_from_args</code>
 call. In our above example, we could change the return line to:</p>
 <pre><code class="language-rust">    Ok(Arc::new(
-        Field::new(self.name(), DataType::UInt32, true).with_metadata(
+        Field::new(self.name(), DataType::UInt32, is_nullable).with_metadata(
             [("my_key".to_string(), "my_value".to_string())]
                 .into_iter()
                 .collect(),
diff --git a/blog/feeds/all-en.atom.xml b/blog/feeds/all-en.atom.xml
index b79cecb..ce267cf 100644
--- a/blog/feeds/all-en.atom.xml
+++ b/blog/feeds/all-en.atom.xml
@@ -108,7 +108,9 @@ metadata on the input side, you can write a functions 
similar to this example:&l
         };
     }
 
-    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, true)))
+    let is_nullable = args.arg_fields[0].is_nullable();
+
+    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, is_nullable)))
 }
 &lt;/code&gt;&lt;/pre&gt;
 &lt;p&gt;In this example, we take advantage of the fact that we already have 
support for extension
@@ -126,7 +128,7 @@ extension type support, we could have instead written a 
snippet such as:&lt;/p&g
 you can add this directly into the &lt;code&gt;Field&lt;/code&gt; that is the 
output of the &lt;code&gt;return_field_from_args&lt;/code&gt;
 call. In our above example, we could change the return line to:&lt;/p&gt;
 &lt;pre&gt;&lt;code class="language-rust"&gt;    Ok(Arc::new(
-        Field::new(self.name(), DataType::UInt32, true).with_metadata(
+        Field::new(self.name(), DataType::UInt32, is_nullable).with_metadata(
             [("my_key".to_string(), "my_value".to_string())]
                 .into_iter()
                 .collect(),
diff --git a/blog/feeds/blog.atom.xml b/blog/feeds/blog.atom.xml
index 16c8f81..decc804 100644
--- a/blog/feeds/blog.atom.xml
+++ b/blog/feeds/blog.atom.xml
@@ -108,7 +108,9 @@ metadata on the input side, you can write a functions 
similar to this example:&l
         };
     }
 
-    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, true)))
+    let is_nullable = args.arg_fields[0].is_nullable();
+
+    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, is_nullable)))
 }
 &lt;/code&gt;&lt;/pre&gt;
 &lt;p&gt;In this example, we take advantage of the fact that we already have 
support for extension
@@ -126,7 +128,7 @@ extension type support, we could have instead written a 
snippet such as:&lt;/p&g
 you can add this directly into the &lt;code&gt;Field&lt;/code&gt; that is the 
output of the &lt;code&gt;return_field_from_args&lt;/code&gt;
 call. In our above example, we could change the return line to:&lt;/p&gt;
 &lt;pre&gt;&lt;code class="language-rust"&gt;    Ok(Arc::new(
-        Field::new(self.name(), DataType::UInt32, true).with_metadata(
+        Field::new(self.name(), DataType::UInt32, is_nullable).with_metadata(
             [("my_key".to_string(), "my_value".to_string())]
                 .into_iter()
                 .collect(),
diff --git a/blog/feeds/tim-saucer-dewey-dunnington-andrew-lamb.atom.xml 
b/blog/feeds/tim-saucer-dewey-dunnington-andrew-lamb.atom.xml
index 08ca10a..6180246 100644
--- a/blog/feeds/tim-saucer-dewey-dunnington-andrew-lamb.atom.xml
+++ b/blog/feeds/tim-saucer-dewey-dunnington-andrew-lamb.atom.xml
@@ -108,7 +108,9 @@ metadata on the input side, you can write a functions 
similar to this example:&l
         };
     }
 
-    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, true)))
+    let is_nullable = args.arg_fields[0].is_nullable();
+
+    Ok(Arc::new(Field::new(self.name(), DataType::UInt32, is_nullable)))
 }
 &lt;/code&gt;&lt;/pre&gt;
 &lt;p&gt;In this example, we take advantage of the fact that we already have 
support for extension
@@ -126,7 +128,7 @@ extension type support, we could have instead written a 
snippet such as:&lt;/p&g
 you can add this directly into the &lt;code&gt;Field&lt;/code&gt; that is the 
output of the &lt;code&gt;return_field_from_args&lt;/code&gt;
 call. In our above example, we could change the return line to:&lt;/p&gt;
 &lt;pre&gt;&lt;code class="language-rust"&gt;    Ok(Arc::new(
-        Field::new(self.name(), DataType::UInt32, true).with_metadata(
+        Field::new(self.name(), DataType::UInt32, is_nullable).with_metadata(
             [("my_key".to_string(), "my_value".to_string())]
                 .into_iter()
                 .collect(),


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org
For additional commands, e-mail: commits-h...@datafusion.apache.org

Reply via email to