layout: page title: Downloads

Calcite is released as a source artifact, and also through Maven.

Source releases

ReleaseDateCommitDownload
{% for post in site.categories.release %}{% comment %}
{% endcomment %}{% if post.fullVersion %}{% comment %}
{% endcomment %}{% assign v = post.fullVersion %}{% comment %}
{% endcomment %}{% else %}{% comment %}
{% endcomment %}{% capture v %}apache-calcite-{{ post.version }}{% endcapture %}{% comment %}
{% endcomment %}{% endif %}{% comment %}
{% endcomment %}{% if forloop.index0 < 1 %}{% comment %}
{% endcomment %}{% capture p %}http://www.apache.org/dyn/closer.lua?filename=calcite/{{ v }}{% endcapture %}{% comment %}
{% endcomment %}{% assign q = “&action=download” %}{% comment %}
{% endcomment %}{% assign d = “https://www.apache.org/dist” %}{% comment %}
{% endcomment %}{% elsif forloop.rindex < 8 %}{% comment %}
{% endcomment %}{% capture p %}http://archive.apache.org/dist/incubator/calcite/{{ v }}{% endcapture %}{% comment %}
{% endcomment %}{% assign q = "" %}{% comment %}
{% endcomment %}{% assign d = “https://archive.apache.org/dist/incubator” %}{% comment %}
{% endcomment %}{% else %}{% comment %}
{% endcomment %}{% capture p %}http://archive.apache.org/dist/calcite/{{ v }}{% endcapture %}{% comment %}
{% endcomment %}{% assign q = "" %}{% comment %}
{% endcomment %}{% assign d = “https://archive.apache.org/dist” %}{% comment %}
{% endcomment %}{% endif %}{% comment %}
{% endcomment %}{% capture d1 %}{{ post.datedate: “%F”}}{% endcapture %}{% comment %}
{% endcomment %}{% capture d2 %}2017-08-31{% endcapture %}{% comment %}
{% endcomment %}{% if d1 > d2 %}{% comment %}
{% endcomment %}{% assign digest = “sha256” %}{% comment %}
{% endcomment %}{% else %}{% comment %}
{% endcomment %}{% assign digest = “md5” %}{% comment %}
{% endcomment %}{% endif %}{% comment %}
{% endcomment %}{{ post.version }}{% comment %}
{% endcomment %}{{ post.datedate_to_string }}{% comment %}
{% endcomment %}{{ post.sha }}{% comment %}
{% endcomment %}tar{% comment %}
{% endcomment %} (digest{% comment %}
{% endcomment %} pgp){% comment %}
{% endcomment %} {% raw %}
{% endraw %}{% comment %}
{% endcomment %} zip{% comment %}
{% endcomment %} (digest{% comment %}
{% endcomment %} pgp){% comment %}
{% endcomment %}
{% endfor %}

Choose a source distribution in either tar or zip format, and verify using the corresponding pgp signature (using the committer file in KEYS). If you cannot do that, use the digest file to check that the download has completed OK.

For fast downloads, current source distributions are hosted on mirror servers; older source distributions are in the archive or incubator archive. If a download from a mirror fails, retry, and the second download will likely succeed.

For security, hash and signature files are always hosted at Apache.

Maven artifacts

Add the following to the dependencies section of your pom.xml file:

{% for post in site.categories.release limit:1 %} {% assign current_release = post %} {% endfor %}

{% highlight xml %} org.apache.calcite calcite-core {{ current_release.version }} {% endhighlight %}

Also include <dependency> elements for any extension modules you need: calcite-mongodb, calcite-spark, calcite-splunk, and so forth.