Class PhoenixDataSource

java.lang.Object
org.apache.drill.exec.store.phoenix.PhoenixDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public class PhoenixDataSource extends Object implements DataSource
Phoenix’s Connection objects are different from most other JDBC Connections due to the underlying HBase connection. The Phoenix Connection object is designed to be a thin object that is inexpensive to create.

If Phoenix Connections are reused, it is possible that the underlying HBase connection is not always left in a healthy state by the previous user. It is better to create new Phoenix Connections to ensure that you avoid any potential issues.