Calcite is released as a source artifact, and also through Maven.
Release | Date | Commit | Download |
---|---|---|---|
{% 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 %}https://www.apache.org/dyn/closer.lua?filename=calcite/{{ v }}{% endcapture %}{% comment %} | |||
{% endcomment %}{% assign q = “&action=download” %}{% comment %} | |||
{% endcomment %}{% assign d = “https://downloads.apache.org” %}{% comment %} | |||
{% endcomment %}{% elsif forloop.rindex < 8 %}{% comment %} | |||
{% endcomment %}{% capture p %}https://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 %}https://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.date | date: “%F”}}"{% endcapture %}{% comment %} | ||
{% endcomment %}{% capture d2 %}“2014-08-31”{% endcapture %}{% comment %} | |||
{% endcomment %}{% capture d3 %}“2016-12-31”{% endcapture %}{% comment %} | |||
{% endcomment %}{% capture d4 %}“2017-08-31”{% endcapture %}{% comment %} | |||
{% endcomment %}{% capture d5 %}“2018-06-01”{% endcapture %}{% comment %} | |||
{% endcomment %}{% capture d6 %}“2020-03-01”{% endcapture %}{% comment %} | |||
{% endcomment %}{% if d1 > d6 %}{% comment %} | |||
{% endcomment %}{% assign digest = “sha512” %}{% comment %} | |||
{% endcomment %}{% elsif d1 > d4 %}{% comment %} | |||
{% endcomment %}{% assign digest = “sha256” %}{% comment %} | |||
{% endcomment %}{% elsif d1 > d3 %}{% comment %} | |||
{% endcomment %}{% assign digest = “mds” %}{% comment %} | |||
{% endcomment %}{% else %}{% comment %} | |||
{% endcomment %}{% assign digest = “md5” %}{% comment %} | |||
{% endcomment %}{% endif %}{% comment %} | |||
{% endcomment %}{% if d1 > d2 %}{% comment %} | |||
{% endcomment %}{{ post.version }}{% comment %} | |||
{% endcomment %} | {{ post.date | date_to_string }}{% comment %} | |
{% endcomment %} | {{ post.sha | slice: 0, 7 }}{% comment %} | |
{% endcomment %} | tar{% comment %} | ||
{% endcomment %} (digest{% comment %} | |||
{% endcomment %} pgp){% comment %} | |||
{% endcomment %}{% else %}{% comment %} | |||
{% endcomment %}{{ post.version }}{% comment %} | |||
{% endcomment %} | {{ post.date | date_to_string }}{% comment %} | |
{% endcomment %} | {{ post.sha | slice: 0, 7 }}{% comment %} | |
{% endcomment %} | zip{% comment %} | ||
{% endcomment %} (digest{% comment %} | |||
{% endcomment %} pgp){% comment %} | |||
{% endcomment %}{% endif %}{% comment %} | |||
{% endcomment %}{% if d1 < d5 and d1 > d2 %}{% comment %} | |||
{% endcomment %} {% raw %} {% endraw %}{% comment %} | |||
{% endcomment %} zip{% comment %} | |||
{% endcomment %} (digest{% comment %} | |||
{% endcomment %} pgp){% comment %} | |||
{% endcomment %}{% endif %}{% comment %} | |||
{% endcomment %} | |||
{% endfor %} |
To download a source distribution for a particular release, click on the tar link (for older releases, zip format is also available).
The commit hash links to github, which contains the release's version control history but does not contain the definitive source artifacts.
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.
You must verify the integrity of the downloaded file using the PGP signature (.asc file) or a hash (.sha256; .md5 for older releases). For more information why this must be done, please read Verifying Apache Software Foundation Releases.
To verify the signature using GPG or PGP, please do the following:
or
{% highlight shell %} % pgpk -a KEYS % pgpv downloaded_file.asc {% endhighlight %}
or
{% highlight shell %} % pgp -ka KEYS % pgp downloaded_file.asc {% endhighlight %}
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.