跳到主要内容

ApacheHiveLLAP.Database

从 Hive LLAP 导入数据

Syntax

ApacheHiveLLAP.Database(
server as text,
database as text,
thriftTransport as number,
optional options as record
) as table

Remarks

使用所选的协议从 Hive LLAP 服务器上的数据库指定的 Hive LLAP 返回表格列表。端口可以视情况使用服务器进行指定,并用冒号分隔。Thrift 传输协议是枚举类型,其值为 "Standard"、"HTTP"。可以指定可选的 options 参数来控制以下选项:

  • ConnectionTimeout: 一个时间段,控制在放弃尝试建立到服务器的连接之前等待的时间。默认值与驱动程序相关。
  • CommandTimeout: 一个时间段,控制在取消服务器端查询之前允许该查询运行的时间。默认值与驱动程序相关。

options 参数指定为 [option1 = value1, option2 = value2...]。