Updated on 2026-11-06 GMT+08:00

Before You Start

This document is the AI DataLake Spark SQL syntax reference, covering database management, table operations, data read/write, query syntax, built-in functions, identifiers, operators, and more. Before using this document for development, read the following notes and constraints.

Identifier Case Sensitivity

During development, you are advised to use case-insensitive formats where possible. You are advised to use lowercase letters consistently for database object names (such as table names, column names, function names, field names, etc.). Avoid inconsistent casing for the same object in different locations to prevent errors such as "object not found" caused by identifier case sensitivity.

Notes and Constraints

Currently, both standard format tables and Iceberg tables do not support executing the following SQL statements:

  • SET
  • USE
  • USE DATABASE
  • REFRESH RESOURCE
  • CACHE TABLE
  • UNCACHE TABLE
  • CLEAR CACHE
  • REFRESH TABLE
  • RESET
  • LIST JARS
  • LIST FILES
  • ADD JAR
  • ADD FILE