跳到主要内容

AzureHiveLLAP.Database

从 HDInsight Interactive Query 导入数据

Syntax

AzureHiveLLAP.Database(
server as text,
database as text,
optional options as record
) as table

Remarks

从 HDInsight Interactive Query服务器上的数据库指定的 HDInsight Interactive Query 中返回表列表。可以视需要指定服务器的端口,并用冒号分隔。可以指定可选的 options 参数来控制以下选项:

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

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