检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn

不再显示此消息

  • Intl-English
    International
    • English
    • Bahasa Indonesia
    • Español
    • Português
    • Türkçe
    • عربي
    • ไทย
    • 简体中文
    • 日本語
    中国站
    • 简体中文
    Europe
    • English
    • Deutsch
    • Español
    • Français
    • Nederlands
  • Huawei Cloud
    • Activities
    • Products
    • Solutions
    • Pricing
    • KooGallery
    • Partners
    • Developers
    • Support
    • About Us
      Show more results for “”
      • Contact Us
      • Documentation
      • Console
        • My Account
        • Billing & Costs
        • Service Tickets
        • Unread Messages
        • Console
        • Partner Center
        • Sign In Sign Up
      • Sign In
      • Sign Up
        • My Account Complete Sign Up
        • Billing & Costs
        • Service Tickets
        • Unread Messages
        • Console
        • Partner Center
        • Log Out
      Cancel
      Help Center/ Data Lake Insight/ SQL Syntax Reference (Ally Region)/ Spark SQL Syntax Reference
      Updated on 2026-01-09 GMT+08:00
      View PDF
      Share
      • x.com
      • Facebook
      • LinkedIn
      • Copy link

      Copied.

      Spark SQL Syntax Reference

        Common Configuration Items of Batch SQL Jobs
        SQL Syntax Overview for Batch Jobs
        Spark Open Source Commands
        Databases
        Creating an OBS Table
        Creating a DLI Table
        Deleting a Table
        Checking Tables
        Modifying a Table
        Syntax for Partitioning a Table
        Importing Data to the Table
        Inserting Data
        Reusing Results of Subqueries
        Clearing Data
        Exporting Search Results
        Table Lifecycle Management
        Creating a Datasource Connection with an HBase Table
        Creating a Datasource Connection with an OpenTSDB Table
        Creating a Datasource Connection with a DWS table
        Creating a Datasource Connection with an RDS Table
        Creating a Datasource Connection with a CSS Table
        Creating a Datasource Connection with a DCS Table
        Creating a Datasource Connection with a DDS Table
        Creating a Datasource Connection with an Oracle Table
        Views
        Checking the Execution Plan
        Data Permissions Management
        Data Types
        User-Defined Functions
        Built-in Functions
        Basic SELECT Statements
        Filtering
        Sorting
        Grouping
        JOIN
        Subquery
        Alias
        Set Operations
        WITH...AS
        CASE...WHEN
        OVER Clause

      Next topic: Common Configuration Items of Batch SQL Jobs

      Feedback

      Was this page helpful?

      Helpful Not helpful
      Provide feedback

      Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.

      The system is busy. Please try again later.

      Which of the following issues have you encountered?

      Content is inconsistent with the product UI
      Unclear descriptions
      Lack of examples or code
      Incorrect steps
      Can't find what I need
      Lack of best practices

      Feedback (optional)

      0/500

      Select at least one type of issue, and enter your comments or suggestions.

      Enter a maximum of 500 characters.

      Submit Cancel

      For any further questions, feel free to contact us through the chatbot.

      Chatbot
      Contact Sales After-Sales Self Service
      • Site Terms
      • Privacy Statement

      Explore Huawei Cloud

      Why Us Customer Stories Trust Center Legal Press Releases

      Featured Services

      Elastic Cloud Server (ECS) Elastic IP (EIP) RDS for MySQL Elastic Volume Service (EVS) MapReduce Service (MRS)

      Service and Support

      Documentation Contact Us Public Notices Support Plans Service Health Dashboard

      Account and Payment

      Top Up Invoices Billing Center My Account Payment Method

      Quick Links

      Huawei Corporate Huawei Enterprise Huawei Consumer Business Huawei Developers

      © 2026, Huawei Cloud Computing Technologies Co., Ltd. and/or its affiliates. All rights reserved.

      • Site Terms
      • Privacy Statement