Skip to main content

Spark.Tables

Returns a table listing the tables on the specified Spark cluster.

Syntax

Spark.Tables(
server as text,
protocol as SparkProtocol.Type,
optional options as record
) as table

Remarks

Returns a table listing the tables on the Spark cluster host using protocol. Valid protocols are:SparkProtocol.Standard, SparkProtocol.Azure, SparkProtocol.HTTP

Examples

Example #1

List the tables in an Azure Spark instance.

Spark.Tables("contoso.azurehdinsight.net", SparkProtocol.Azure)