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

quinnj pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/arrow-julia.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new d5d49ec  build based on 7fa18aa
d5d49ec is described below

commit d5d49ecddf0f9cb9253e37511db60262c45769b0
Author: Documenter.jl <[email protected]>
AuthorDate: Mon Nov 18 23:55:46 2024 +0000

    build based on 7fa18aa
---
 dev/.documenter-siteinfo.json |   2 +-
 dev/assets/documenter.js      | 302 ++++++++++++++++++++++--------------------
 dev/index.html                |   2 +-
 dev/manual/index.html         |   2 +-
 dev/reference/index.html      |  12 +-
 5 files changed, 169 insertions(+), 151 deletions(-)

diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index e9ae6b8..7dc644d 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.0","generation_timestamp":"2024-10-28T16:56:27","documenter_version":"1.7.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-11-18T23:55:40","documenter_version":"1.8.0"}}
\ No newline at end of file
diff --git a/dev/assets/documenter.js b/dev/assets/documenter.js
index 82252a1..7d68cd8 100644
--- a/dev/assets/documenter.js
+++ b/dev/assets/documenter.js
@@ -612,176 +612,194 @@ function worker_function(documenterSearchIndex, 
documenterBaseURL, filters) {
   };
 }
 
-// `worker = Threads.@spawn worker_function(documenterSearchIndex)`, but in 
JavaScript!
-const filters = [
-  ...new Set(documenterSearchIndex["docs"].map((x) => x.category)),
-];
-const worker_str =
-  "(" +
-  worker_function.toString() +
-  ")(" +
-  JSON.stringify(documenterSearchIndex["docs"]) +
-  "," +
-  JSON.stringify(documenterBaseURL) +
-  "," +
-  JSON.stringify(filters) +
-  ")";
-const worker_blob = new Blob([worker_str], { type: "text/javascript" });
-const worker = new Worker(URL.createObjectURL(worker_blob));
-
 /////// SEARCH MAIN ///////
 
-// Whether the worker is currently handling a search. This is a boolean
-// as the worker only ever handles 1 or 0 searches at a time.
-var worker_is_running = false;
-
-// The last search text that was sent to the worker. This is used to determine
-// if the worker should be launched again when it reports back results.
-var last_search_text = "";
-
-// The results of the last search. This, in combination with the state of the 
filters
-// in the DOM, is used compute the results to display on calls to 
update_search.
-var unfiltered_results = [];
-
-// Which filter is currently selected
-var selected_filter = "";
-
-$(document).on("input", ".documenter-search-input", function (event) {
-  if (!worker_is_running) {
-    launch_search();
-  }
-});
-
-function launch_search() {
-  worker_is_running = true;
-  last_search_text = $(".documenter-search-input").val();
-  worker.postMessage(last_search_text);
-}
-
-worker.onmessage = function (e) {
-  if (last_search_text !== $(".documenter-search-input").val()) {
-    launch_search();
-  } else {
-    worker_is_running = false;
-  }
-
-  unfiltered_results = e.data;
-  update_search();
-};
+function runSearchMainCode() {
+  // `worker = Threads.@spawn worker_function(documenterSearchIndex)`, but in 
JavaScript!
+  const filters = [
+    ...new Set(documenterSearchIndex["docs"].map((x) => x.category)),
+  ];
+  const worker_str =
+    "(" +
+    worker_function.toString() +
+    ")(" +
+    JSON.stringify(documenterSearchIndex["docs"]) +
+    "," +
+    JSON.stringify(documenterBaseURL) +
+    "," +
+    JSON.stringify(filters) +
+    ")";
+  const worker_blob = new Blob([worker_str], { type: "text/javascript" });
+  const worker = new Worker(URL.createObjectURL(worker_blob));
+
+  // Whether the worker is currently handling a search. This is a boolean
+  // as the worker only ever handles 1 or 0 searches at a time.
+  var worker_is_running = false;
+
+  // The last search text that was sent to the worker. This is used to 
determine
+  // if the worker should be launched again when it reports back results.
+  var last_search_text = "";
+
+  // The results of the last search. This, in combination with the state of 
the filters
+  // in the DOM, is used compute the results to display on calls to 
update_search.
+  var unfiltered_results = [];
+
+  // Which filter is currently selected
+  var selected_filter = "";
+
+  $(document).on("input", ".documenter-search-input", function (event) {
+    if (!worker_is_running) {
+      launch_search();
+    }
+  });
 
-$(document).on("click", ".search-filter", function () {
-  if ($(this).hasClass("search-filter-selected")) {
-    selected_filter = "";
-  } else {
-    selected_filter = $(this).text().toLowerCase();
+  function launch_search() {
+    worker_is_running = true;
+    last_search_text = $(".documenter-search-input").val();
+    worker.postMessage(last_search_text);
   }
 
-  // This updates search results and toggles classes for UI:
-  update_search();
-});
+  worker.onmessage = function (e) {
+    if (last_search_text !== $(".documenter-search-input").val()) {
+      launch_search();
+    } else {
+      worker_is_running = false;
+    }
 
-/**
- * Make/Update the search component
- */
-function update_search() {
-  let querystring = $(".documenter-search-input").val();
+    unfiltered_results = e.data;
+    update_search();
+  };
 
-  if (querystring.trim()) {
-    if (selected_filter == "") {
-      results = unfiltered_results;
+  $(document).on("click", ".search-filter", function () {
+    if ($(this).hasClass("search-filter-selected")) {
+      selected_filter = "";
     } else {
-      results = unfiltered_results.filter((result) => {
-        return selected_filter == result.category.toLowerCase();
-      });
+      selected_filter = $(this).text().toLowerCase();
     }
 
-    let search_result_container = ``;
-    let modal_filters = make_modal_body_filters();
-    let search_divider = `<div class="search-divider w-100"></div>`;
+    // This updates search results and toggles classes for UI:
+    update_search();
+  });
 
-    if (results.length) {
-      let links = [];
-      let count = 0;
-      let search_results = "";
-
-      for (var i = 0, n = results.length; i < n && count < 200; ++i) {
-        let result = results[i];
-        if (result.location && !links.includes(result.location)) {
-          search_results += result.div;
-          count++;
-          links.push(result.location);
-        }
-      }
+  /**
+   * Make/Update the search component
+   */
+  function update_search() {
+    let querystring = $(".documenter-search-input").val();
 
-      if (count == 1) {
-        count_str = "1 result";
-      } else if (count == 200) {
-        count_str = "200+ results";
+    if (querystring.trim()) {
+      if (selected_filter == "") {
+        results = unfiltered_results;
       } else {
-        count_str = count + " results";
+        results = unfiltered_results.filter((result) => {
+          return selected_filter == result.category.toLowerCase();
+        });
       }
-      let result_count = `<div class="is-size-6">${count_str}</div>`;
 
-      search_result_container = `
+      let search_result_container = ``;
+      let modal_filters = make_modal_body_filters();
+      let search_divider = `<div class="search-divider w-100"></div>`;
+
+      if (results.length) {
+        let links = [];
+        let count = 0;
+        let search_results = "";
+
+        for (var i = 0, n = results.length; i < n && count < 200; ++i) {
+          let result = results[i];
+          if (result.location && !links.includes(result.location)) {
+            search_results += result.div;
+            count++;
+            links.push(result.location);
+          }
+        }
+
+        if (count == 1) {
+          count_str = "1 result";
+        } else if (count == 200) {
+          count_str = "200+ results";
+        } else {
+          count_str = count + " results";
+        }
+        let result_count = `<div class="is-size-6">${count_str}</div>`;
+
+        search_result_container = `
+              <div class="is-flex is-flex-direction-column gap-2 
is-align-items-flex-start">
+                  ${modal_filters}
+                  ${search_divider}
+                  ${result_count}
+                  <div class="is-clipped w-100 is-flex 
is-flex-direction-column gap-2 is-align-items-flex-start has-text-justified 
mt-1">
+                    ${search_results}
+                  </div>
+              </div>
+          `;
+      } else {
+        search_result_container = `
             <div class="is-flex is-flex-direction-column gap-2 
is-align-items-flex-start">
                 ${modal_filters}
                 ${search_divider}
-                ${result_count}
-                <div class="is-clipped w-100 is-flex is-flex-direction-column 
gap-2 is-align-items-flex-start has-text-justified mt-1">
-                  ${search_results}
-                </div>
-            </div>
+                <div class="is-size-6">0 result(s)</div>
+              </div>
+              <div class="has-text-centered my-5 py-5">No result found!</div>
         `;
-    } else {
-      search_result_container = `
-           <div class="is-flex is-flex-direction-column gap-2 
is-align-items-flex-start">
-               ${modal_filters}
-               ${search_divider}
-               <div class="is-size-6">0 result(s)</div>
-            </div>
-            <div class="has-text-centered my-5 py-5">No result found!</div>
-       `;
-    }
+      }
 
-    if ($(".search-modal-card-body").hasClass("is-justify-content-center")) {
-      $(".search-modal-card-body").removeClass("is-justify-content-center");
-    }
+      if ($(".search-modal-card-body").hasClass("is-justify-content-center")) {
+        $(".search-modal-card-body").removeClass("is-justify-content-center");
+      }
 
-    $(".search-modal-card-body").html(search_result_container);
-  } else {
-    if (!$(".search-modal-card-body").hasClass("is-justify-content-center")) {
-      $(".search-modal-card-body").addClass("is-justify-content-center");
+      $(".search-modal-card-body").html(search_result_container);
+    } else {
+      if (!$(".search-modal-card-body").hasClass("is-justify-content-center")) 
{
+        $(".search-modal-card-body").addClass("is-justify-content-center");
+      }
+
+      $(".search-modal-card-body").html(`
+        <div class="has-text-centered my-5 py-5">Type something to get 
started!</div>
+      `);
     }
+  }
 
-    $(".search-modal-card-body").html(`
-      <div class="has-text-centered my-5 py-5">Type something to get 
started!</div>
-    `);
+  /**
+   * Make the modal filter html
+   *
+   * @returns string
+   */
+  function make_modal_body_filters() {
+    let str = filters
+      .map((val) => {
+        if (selected_filter == val.toLowerCase()) {
+          return `<a href="javascript:;" class="search-filter 
search-filter-selected"><span>${val}</span></a>`;
+        } else {
+          return `<a href="javascript:;" 
class="search-filter"><span>${val}</span></a>`;
+        }
+      })
+      .join("");
+
+    return `
+          <div class="is-flex gap-2 is-flex-wrap-wrap 
is-justify-content-flex-start is-align-items-center search-filters">
+              <span class="is-size-6">Filters:</span>
+              ${str}
+          </div>`;
   }
 }
 
-/**
- * Make the modal filter html
- *
- * @returns string
- */
-function make_modal_body_filters() {
-  let str = filters
-    .map((val) => {
-      if (selected_filter == val.toLowerCase()) {
-        return `<a href="javascript:;" class="search-filter 
search-filter-selected"><span>${val}</span></a>`;
-      } else {
-        return `<a href="javascript:;" 
class="search-filter"><span>${val}</span></a>`;
-      }
-    })
-    .join("");
-
-  return `
-        <div class="is-flex gap-2 is-flex-wrap-wrap 
is-justify-content-flex-start is-align-items-center search-filters">
-            <span class="is-size-6">Filters:</span>
-            ${str}
-        </div>`;
+function waitUntilSearchIndexAvailable() {
+  // It is possible that the documenter.js script runs before the page
+  // has finished loading and documenterSearchIndex gets defined.
+  // So we need to wait until the search index actually loads before setting
+  // up all the search-related stuff.
+  if (typeof documenterSearchIndex !== "undefined") {
+    runSearchMainCode();
+  } else {
+    console.warn("Search Index not available, waiting");
+    setTimeout(waitUntilSearchIndexAvailable, 1000);
+  }
 }
 
+// The actual entry point to the search code
+waitUntilSearchIndexAvailable();
+
 })
 
////////////////////////////////////////////////////////////////////////////////
 require(['jquery'], function($) {
diff --git a/dev/index.html b/dev/index.html
index 86fbf9e..be8a70d 100644
--- a/dev/index.html
+++ b/dev/index.html
@@ -1,2 +1,2 @@
 <!DOCTYPE html>
-<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" 
content="width=device-width, initial-scale=1.0"/><title>Home · 
Arrow.jl</title><meta name="title" content="Home · Arrow.jl"/><meta 
property="og:title" content="Home · Arrow.jl"/><meta property="twitter:title" 
content="Home · Arrow.jl"/><meta name="description" content="Documentation for 
Arrow.jl."/><meta property="og:description" content="Documentation for 
Arrow.jl."/><meta property="twitter:description" content="Document [...]
+<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" 
content="width=device-width, initial-scale=1.0"/><title>Home · 
Arrow.jl</title><meta name="title" content="Home · Arrow.jl"/><meta 
property="og:title" content="Home · Arrow.jl"/><meta property="twitter:title" 
content="Home · Arrow.jl"/><meta name="description" content="Documentation for 
Arrow.jl."/><meta property="og:description" content="Documentation for 
Arrow.jl."/><meta property="twitter:description" content="Document [...]
diff --git a/dev/manual/index.html b/dev/manual/index.html
index 5492c96..2440dc0 100644
--- a/dev/manual/index.html
+++ b/dev/manual/index.html
@@ -50,4 +50,4 @@ Arrow.write(io, tbl_parts)
 # treat an array of csv files with same schema where each file is a partition
 # in this form, a function `CSV.File` is applied to each element of 2nd 
argument
 csv_parts = Tables.partitioner(CSV.File, csv_files)
-Arrow.write(io, csv_parts)</code></pre><h3 id="Arrow.Writer"><a 
class="docs-heading-anchor" 
href="#Arrow.Writer"><code>Arrow.Writer</code></a><a id="Arrow.Writer-1"></a><a 
class="docs-heading-anchor-permalink" href="#Arrow.Writer" 
title="Permalink"></a></h3><p>With <code>Arrow.Writer</code>, you instantiate 
an <code>Arrow.Writer</code> object, write sources using it, and then close it. 
 This allows for incrmental writes to the same sink.  It is similar to 
<code>Arrow.append</code> withou [...]
+Arrow.write(io, csv_parts)</code></pre><h3 id="Arrow.Writer"><a 
class="docs-heading-anchor" 
href="#Arrow.Writer"><code>Arrow.Writer</code></a><a id="Arrow.Writer-1"></a><a 
class="docs-heading-anchor-permalink" href="#Arrow.Writer" 
title="Permalink"></a></h3><p>With <code>Arrow.Writer</code>, you instantiate 
an <code>Arrow.Writer</code> object, write sources using it, and then close it. 
 This allows for incrmental writes to the same sink.  It is similar to 
<code>Arrow.append</code> withou [...]
diff --git a/dev/reference/index.html b/dev/reference/index.html
index 9adba5d..f2ecd72 100644
--- a/dev/reference/index.html
+++ b/dev/reference/index.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
-<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" 
content="width=device-width, initial-scale=1.0"/><title>API Reference · 
Arrow.jl</title><meta name="title" content="API Reference · Arrow.jl"/><meta 
property="og:title" content="API Reference · Arrow.jl"/><meta 
property="twitter:title" content="API Reference · Arrow.jl"/><meta 
name="description" content="Documentation for Arrow.jl."/><meta 
property="og:description" content="Documentation for Arrow.jl."/><meta 
property="tw [...]
+<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" 
content="width=device-width, initial-scale=1.0"/><title>API Reference · 
Arrow.jl</title><meta name="title" content="API Reference · Arrow.jl"/><meta 
property="og:title" content="API Reference · Arrow.jl"/><meta 
property="twitter:title" content="API Reference · Arrow.jl"/><meta 
name="description" content="Documentation for Arrow.jl."/><meta 
property="og:description" content="Documentation for Arrow.jl."/><meta 
property="tw [...]
 Arrow.Stream(file::String; convert::Bool=true)
 Arrow.Stream(bytes::Vector{UInt8}, pos=1, len=nothing; convert::Bool=true)
-Arrow.Stream(inputs::Vector; convert::Bool=true)</code></pre><p>Start reading 
an arrow formatted table, from:</p><ul><li><code>io</code>, bytes will be read 
all at once via <code>read(io)</code></li><li><code>file</code>, bytes will be 
read via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector 
directly, optionally allowing specifying the starting byte position 
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of 
the above, in which each input [...]
+Arrow.Stream(inputs::Vector; convert::Bool=true)</code></pre><p>Start reading 
an arrow formatted table, from:</p><ul><li><code>io</code>, bytes will be read 
all at once via <code>read(io)</code></li><li><code>file</code>, bytes will be 
read via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector 
directly, optionally allowing specifying the starting byte position 
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of 
the above, in which each input [...]
 Arrow.Table(file::String; convert::Bool=true)
 Arrow.Table(bytes::Vector{UInt8}, pos=1, len=nothing; convert::Bool=true)
-Arrow.Table(inputs::Vector; convert::Bool=true)</code></pre><p>Read an arrow 
formatted table, from:</p><ul><li><code>io</code>, bytes will be read all at 
once via <code>read(io)</code></li><li><code>file</code>, bytes will be read 
via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector 
directly, optionally allowing specifying the starting byte position 
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of 
the above, in which each input should be [...]
+Arrow.Table(inputs::Vector; convert::Bool=true)</code></pre><p>Read an arrow 
formatted table, from:</p><ul><li><code>io</code>, bytes will be read all at 
once via <code>read(io)</code></li><li><code>file</code>, bytes will be read 
via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector 
directly, optionally allowing specifying the starting byte position 
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of 
the above, in which each input should be [...]
 
 julia&gt; partition1 = (col1 = [1, 2], col2 = [&quot;A&quot;, &quot;B&quot;])
 (col1 = [1, 2], col2 = [&quot;A&quot;, &quot;B&quot;])
@@ -22,8 +22,8 @@ julia&gt; close(writer)</code></pre><p>It&#39;s also possible 
to automatically c
            Arrow.write(writer, partition1)
            partition2 = (col1 = [3, 4], col2 = [&quot;C&quot;, &quot;D&quot;])
            Arrow.write(writer, partition2)
-       end</code></pre></div><a class="docs-sourcelink" target="_blank" 
href="https://github.com/apache/arrow-julia/blob/91e271eee38e8b376a069d3b09065cefe32de9a4/src/write.jl#L78-L110";>source</a></section></article><article
 class="docstring"><header><a class="docstring-article-toggle-button fa-solid 
fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a 
class="docstring-binding" id="Arrow.append" 
href="#Arrow.append"><code>Arrow.append</code></a> — <span class="docstring- 
[...]
+       end</code></pre></div><a class="docs-sourcelink" target="_blank" 
href="https://github.com/apache/arrow-julia/blob/7fa18aa262009dd749007bf07468b82c5045402b/src/write.jl#L78-L110";>source</a></section></article><article
 class="docstring"><header><a class="docstring-article-toggle-button fa-solid 
fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a 
class="docstring-binding" id="Arrow.append" 
href="#Arrow.append"><code>Arrow.append</code></a> — <span class="docstring- 
[...]
 Arrow.append(file::String, tbl)
-tbl |&gt; Arrow.append(file)</code></pre><p>Append any <a 
href="https://github.com/JuliaData/Tables.jl";>Tables.jl</a>-compatible 
<code>tbl</code> to an existing arrow formatted file or IO. The existing arrow 
data must be in IPC stream format. Note that appending to the &quot;feather 
formatted file&quot; is <em>not</em> allowed, as this file format doesn&#39;t 
support appending. That means files written like 
<code>Arrow.write(filename::String, tbl)</code> <em>cannot</em> be appended to; 
i [...]
+tbl |&gt; Arrow.append(file)</code></pre><p>Append any <a 
href="https://github.com/JuliaData/Tables.jl";>Tables.jl</a>-compatible 
<code>tbl</code> to an existing arrow formatted file or IO. The existing arrow 
data must be in IPC stream format. Note that appending to the &quot;feather 
formatted file&quot; is <em>not</em> allowed, as this file format doesn&#39;t 
support appending. That means files written like 
<code>Arrow.write(filename::String, tbl)</code> <em>cannot</em> be appended to; 
i [...]
 Arrow.write(file::String, tbl)
-tbl |&gt; Arrow.write(io_or_file)</code></pre><p>Write any <a 
href="https://github.com/JuliaData/Tables.jl";>Tables.jl</a>-compatible 
<code>tbl</code> out as arrow formatted data. Providing an <code>io::IO</code> 
argument will cause the data to be written to it in the <a 
href="https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format";>&quot;streaming&quot;
 format</a>, unless <code>file=true</code> keyword argument is passed. 
Providing a <code>file::String</code> argument wil [...]
+tbl |&gt; Arrow.write(io_or_file)</code></pre><p>Write any <a 
href="https://github.com/JuliaData/Tables.jl";>Tables.jl</a>-compatible 
<code>tbl</code> out as arrow formatted data. Providing an <code>io::IO</code> 
argument will cause the data to be written to it in the <a 
href="https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format";>&quot;streaming&quot;
 format</a>, unless <code>file=true</code> keyword argument is passed. 
Providing a <code>file::String</code> argument wil [...]

Reply via email to