commit | 1e78243c4611b4b0ac3f62f90685acf3959afbef | [log] [tgz] |
---|---|---|
author | Istvan Toth <stoty@apache.org> | Wed Apr 29 19:02:33 2020 +0200 |
committer | Istvan Toth <stoty@apache.org> | Mon May 04 07:50:13 2020 +0200 |
tree | af0b85f270fdf727e9953111800b053ec7ca3aa2 | |
parent | dd34d08874acd91c2da7aa11fde0a7e85700a7db [diff] |
PHOENIX-5879 Fix recently introduced python 2.7 incompatibilities and flake8 warning * fix time type bug introduced in previous patch * fix python27 incompatibilities * downgrade dependencies to make sure setup works on 2.7 * fix flake8 warnings additional improvements: * pare down dependencies * dockerize tox tests * update docs * expose ways to start a local test PQS server from maven * remove shell example, as it is python2 only * update author/contact info in setup.py * update docs * PHOENIX-5854 Synchronize the python client version to the queryserver version * set python 3 supported versions to 3.4-3.8 in docs, setup.py and tests * add simplified date/time/timestamp test * add unicode test
Apache Phoenix enables OLTP and operational analytics in Hadoop for low latency applications. Visit the Apache Phoenix website here. This is the repo for the Phoenix Query Server (PQS).
Copyright ©2020 Apache Software Foundation. All Rights Reserved.
The Phoenix Query Server is an JDBC over HTTP abstraction. The Phoenix Query Server proxies the standard Phoenix JDBC driver and provides a backwards-compatible wire protocol to invoke that JDBC driver. This is all done via the Apache Avatica project (sub-project of Apache Calcite).
The reference client implementation for PQS is a “thin” JDBC driver which can communicate with PQS. There are drivers in other languages which exist in varying levels of maturity including Python, Golang, and .NET.
This repository will build a tarball which is capable of running the Phoenix Query Server.
By default, this tarball does not contain a Phoenix client jar as it is meant to be agnostic of Phoenix version (one PQS release can be used against any Phoenix version). Today, PQS builds against the Phoenix 4.15.0-HBase-1.4 release.
$ mvn package
To build a release of PQS which packages a specific version of Phoenix, enable the package-phoenix-client
profile and specify properties to indicate a specific Phoenix version.
By default, PQS will package the same version of Phoenix used for build/test. This version is controlled by the system property phoenix.version
system property. Depending on the version of Phoenix, you may also be required to use the phoenix.hbase.classifier
system property to identify the correct version of Phoenix built against the version of HBase of your choosing.
$ mvn package -Dpackage.phoenix.client -Dphoenix.version=5.1.0-SNAPSHOT -Dphoenix.hbase.classifier=hbase-2.2