Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ r/*.Rproj

*target/
.DS_Store
.cp.tmp
.cp.tmp
python/compressed.csv.gz
29 changes: 13 additions & 16 deletions java/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

# -- Project information -----------------------------------------------------

project = 'Apache Arrow Java Cookbook'
copyright = '2022, Apache Software Foundation'
author = 'The Apache Software Foundation'
arrow_nightly=os.getenv("ARROW_NIGHTLY")
if arrow_nightly and arrow_nightly != '0':
project = "Apache Arrow Java Cookbook"
copyright = "2022, Apache Software Foundation"
author = "The Apache Software Foundation"
arrow_nightly = os.getenv("ARROW_NIGHTLY")
if arrow_nightly and arrow_nightly != "0":
version = "19.0.0-SNAPSHOT"
else:
version = "18.1.0"
Expand All @@ -48,13 +48,10 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"javadoctest",
"sphinx.ext.intersphinx"
]
extensions = ["javadoctest", "sphinx.ext.intersphinx"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -67,11 +64,11 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = "alabaster"

html_theme_options = {
'page_width': '1200px',
'code_font_size': '0.8em',
"page_width": "1200px",
"code_font_size": "0.8em",
"logo": "arrow-logo_vertical_black-txt_transparent-bg.svg",
"github_user": "apache",
"github_repo": "arrow-cookbook",
Expand All @@ -80,15 +77,15 @@
"extra_nav_links": {
"User Guide": "https://arrow.apache.org/docs/java/index.html",
"API Reference": "https://arrow.apache.org/docs/java/reference/index.html",
"All Cookbooks": "../"
"All Cookbooks": "../",
},
"font_family": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji"
"font_family": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['../../static']
html_static_path = ["../../static"]

# The name of an image file (relative to this directory) to use as a favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16 or
Expand Down
30 changes: 27 additions & 3 deletions java/source/demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
Expand All @@ -39,9 +47,7 @@
</repository>
</repositories>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<arrow.version>18.1.0</arrow.version>
<arrow.version>18.3.0</arrow.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -74,6 +80,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>flight-sql</artifactId>
<version>${arrow.version}</version>
</dependency>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-dataset</artifactId>
Expand Down Expand Up @@ -119,5 +130,18 @@
<artifactId>calcite-core</artifactId>
<version>1.37.0</version>
</dependency>

<dependency>
<groupId>io.github.datafusion-contrib</groupId>
<artifactId>datafusion-java</artifactId>
<version>0.16.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-unsafe</artifactId>
</exclusion>
</exclusions>
</dependency>

</dependencies>
</project>
Loading