With Apache Drill I can get the version through a JDBC connection by dispatching the query: SELECT version FROM sys.version
. Is there an analogous way to determine the Hive version?
I know I can use hive --version
from a machine where Hive is running and available via the command line. However a query-based approach would fit my use case a little better as JDBC connections may be made from anywhere inside my network.