All Products
Search
Document Center

Lindorm:Access Hive data

Last Updated:Jun 21, 2026

Lindorm Compute Engine provides comprehensive Hive data warehousing capabilities. You can use Hive or Spark SQL to write data warehousing jobs. This topic describes how to use SQL to access Hive data.

Prerequisites

The Compute Engine service is activated for your Lindorm instance. For more information, see Activate the service.

Activate the built-in Hive Metastore service

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the ID of the target instance or click View Instance Details in the Actions column for the instance.

  4. In the left-side navigation pane, choose Compute Engine > Service Management.

  5. On the Hive Metastore tab, click Activate Now.

Examples

The following SQL examples show how to create a table and read from or write to it. For more information about SQL syntax, see SQL Reference.

USE spark_catalog;
CREATE TABLE test (id INT, name STRING, score DOUBLE);
INSERT INTO test VALUES (0, 'Jay', 90.8);
SELECT * FROM test;