Skip to main content

Hive2

Provides access to Apache Hive NoSQL database using SQL queries via HiveSever2 JDBC driver.

Connection parameters

{
"server": "",
"port": "",
"db": "",
"connString": ""
}

Supported Parameters

TypeValueDescription or Example
num, int, double==100
>>1.02
>=>=4.1
<=<=100
!=!=5
inin (1, 3, 10.2)
min-max1.5-10.0
stringcontainscontains ea
starts withstarts with R
ends withends with w
inin (ab, "c d", "e\"f\"")
regexregex ^(.+)@(.+)$
datetimeanytime
beforebefore 1/1/2022
afterafter 1/1/2022
today
this week
this month
this year
last year
min-max
April 2021
list<string> (1)
  • (1) default parameters are not supported

Supported output types

TypeSupported
TINYINT, SMALLINT
INT, BIGINT
FLOAT, DOUBLE, DECIMAL
TIMESTAMP, DATE, INTERVAL
STRING, VARCHAR, CHAR
BOOLEAN
ARRAY<data_type>✅ (1)
MAP<primitive_type, data_type>✅ (1)
STRUCT<col_name : data_type ...>✅ (1)
UNIONTYPE<data_type, data_type, ...>not tested
BINARYnot tested
  • (1) supported as a string

Supported features

  • Schema browsing (you need credentials from metastore database)
  • Connection test

See also: