Get Tables With Query

Key Name Default Value Required

GetTablesWithQuery

0

No

Description

This option specifies whether the connector uses the SHOW TABLES query or the GetTables Thrift API call to retrieve table names from the database.

  • Enabled (1)1: The connector uses the SHOW TABLES query to retrieve table names.
  • Disabled (0)0: The connector uses the GetTables Thrift API call to retrieve table names.

Note:

  • This option is applicable only when connecting to a Spark Thrift Server instance.
  • On Spark Server 3.0 and earlier, table names are always retrieved using the SHOW TABLES query because the GetTables API call is not supported on earlier versions.