[ { "dockw":"SQL Syntax Reference" }, { "uri":"dli_08_0221.html", "node_id":"dli_08_0221.xml", "product_code":"dli", "code":"1", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Spark SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Spark SQL Syntax Reference", "githuburl":"" }, { "uri":"dli_08_0266.html", "node_id":"dli_08_0266.xml", "product_code":"dli", "code":"2", "des":"This section describes the common configuration items of the SQL syntax for DLI batch jobs.", "doc_type":"sqlreference", "kw":"Common Configuration Items of Batch SQL Jobs,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Common Configuration Items of Batch SQL Jobs", "githuburl":"" }, { "uri":"dli_08_0219.html", "node_id":"dli_08_0219.xml", "product_code":"dli", "code":"3", "des":"This section describes the Spark SQL syntax list provided by DLI. For details about the parameters and examples, see the syntax description.", "doc_type":"sqlreference", "kw":"SQL Syntax Overview for Batch Jobs,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"SQL Syntax Overview for Batch Jobs", "githuburl":"" }, { "uri":"dli_08_0477.html", "node_id":"dli_08_0477.xml", "product_code":"dli", "code":"4", "des":"This section describes the open source Spark SQL syntax supported by DLI. For details about the syntax, parameters, and examples, see Spark SQL Syntax.", "doc_type":"sqlreference", "kw":"Spark Open Source Commands,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Spark Open Source Commands", "githuburl":"" }, { "uri":"dli_08_0070.html", "node_id":"dli_08_0070.xml", "product_code":"dli", "code":"5", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Databases", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Databases", "githuburl":"" }, { "uri":"dli_08_0071.html", "node_id":"dli_08_0071.xml", "product_code":"dli", "code":"6", "des":"This statement is used to create a database.IF NOT EXISTS: Prevents system errors if the database to be created exists.COMMENT: Describes a database.DBPROPERTIES: Specifi", "doc_type":"sqlreference", "kw":"Creating a Database,Databases,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Database", "githuburl":"" }, { "uri":"dli_08_0072.html", "node_id":"dli_08_0072.xml", "product_code":"dli", "code":"7", "des":"This statement is used to delete a database.IF EXISTS: Prevents system errors if the database to be deleted does not exist.DATABASE and SCHEMA can be used interchangeably", "doc_type":"sqlreference", "kw":"Deleting a Database,Databases,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting a Database", "githuburl":"" }, { "uri":"dli_08_0073.html", "node_id":"dli_08_0073.xml", "product_code":"dli", "code":"8", "des":"This syntax is used to view the information about a specified database, including the database name and database description.EXTENDED: Displays the database properties.If", "doc_type":"sqlreference", "kw":"Checking a Specified Database,Databases,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking a Specified Database", "githuburl":"" }, { "uri":"dli_08_0074.html", "node_id":"dli_08_0074.xml", "product_code":"dli", "code":"9", "des":"This syntax is used to query all current databases.NoneKeyword DATABASES is equivalent to SCHEMAS. You can use either of them in this statement.View all the current datab", "doc_type":"sqlreference", "kw":"Checking All Databases,Databases,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking All Databases", "githuburl":"" }, { "uri":"dli_08_0223.html", "node_id":"dli_08_0223.xml", "product_code":"dli", "code":"10", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating an OBS Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating an OBS Table", "githuburl":"" }, { "uri":"dli_08_0076.html", "node_id":"dli_08_0076.xml", "product_code":"dli", "code":"11", "des":"Create an OBS table using the DataSource syntax.The main differences between the DataSource and the Hive syntax lie in the supported data formats and the number of suppor", "doc_type":"sqlreference", "kw":"Creating an OBS Table Using the DataSource Syntax,Creating an OBS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Creating an OBS Table Using the DataSource Syntax", "githuburl":"" }, { "uri":"dli_08_0077.html", "node_id":"dli_08_0077.xml", "product_code":"dli", "code":"12", "des":"This statement is used to create an OBS table using the Hive syntax. The main differences between the DataSource and the Hive syntax lie in the supported data formats and", "doc_type":"sqlreference", "kw":"Creating an OBS Table Using the Hive Syntax,Creating an OBS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Creating an OBS Table Using the Hive Syntax", "githuburl":"" }, { "uri":"dli_08_0224.html", "node_id":"dli_08_0224.xml", "product_code":"dli", "code":"13", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a DLI Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table", "githuburl":"" }, { "uri":"dli_08_0098.html", "node_id":"dli_08_0098.xml", "product_code":"dli", "code":"14", "des":"This DataSource syntax can be used to create a DLI table. The main differences between the DataSource and the Hive syntax lie in the supported data formats and the number", "doc_type":"sqlreference", "kw":"Creating a DLI Table Using the DataSource Syntax,Creating a DLI Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Creating a DLI Table Using the DataSource Syntax", "githuburl":"" }, { "uri":"dli_08_0204.html", "node_id":"dli_08_0204.xml", "product_code":"dli", "code":"15", "des":"This Hive syntax is used to create a DLI table. The main differences between the DataSource and the Hive syntax lie in the supported data formats and the number of suppor", "doc_type":"sqlreference", "kw":"Creating a DLI Table Using the Hive Syntax,Creating a DLI Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table Using the Hive Syntax", "githuburl":"" }, { "uri":"dli_08_0087.html", "node_id":"dli_08_0087.xml", "product_code":"dli", "code":"16", "des":"This statement is used to delete tables.If the table is stored in OBS, only the metadata is deleted. The data stored on OBS is not deleted.If the table is stored in DLI, ", "doc_type":"sqlreference", "kw":"Deleting a Table,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting a Table", "githuburl":"" }, { "uri":"dli_08_0089.html", "node_id":"dli_08_0089.xml", "product_code":"dli", "code":"17", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Checking Tables", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking Tables", "githuburl":"" }, { "uri":"dli_08_0090.html", "node_id":"dli_08_0090.xml", "product_code":"dli", "code":"18", "des":"This statement is used to check all tables and views in the current database.FROM/IN: followed by the name of a database whose tables and views will be displayed.NoneCrea", "doc_type":"sqlreference", "kw":"Checking All Tables,Checking Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking All Tables", "githuburl":"" }, { "uri":"dli_08_0091.html", "node_id":"dli_08_0091.xml", "product_code":"dli", "code":"19", "des":"This statement is used to show the statements for creating a table.Use the following syntax to view table creation statements when using Spark 3.3.1 (this applies only to", "doc_type":"sqlreference", "kw":"Checking Table Creation Statements,Checking Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking Table Creation Statements", "githuburl":"" }, { "uri":"dli_08_0092.html", "node_id":"dli_08_0092.xml", "product_code":"dli", "code":"20", "des":"Check the properties of a table.TBLPROPERTIES: This statement allows you to add a key/value property to a table.property_name is case sensitive. You cannot specify multip", "doc_type":"sqlreference", "kw":"Checking Table Properties,Checking Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking Table Properties", "githuburl":"" }, { "uri":"dli_08_0093.html", "node_id":"dli_08_0093.xml", "product_code":"dli", "code":"21", "des":"This statement is used to query all columns in a specified table.COLUMNS: columns in the current tableFROM/IN: followed by the name of a database whose tables and views w", "doc_type":"sqlreference", "kw":"Checking All Columns in a Specified Table,Checking Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking All Columns in a Specified Table", "githuburl":"" }, { "uri":"dli_08_0094.html", "node_id":"dli_08_0094.xml", "product_code":"dli", "code":"22", "des":"This statement is used to check all partitions in a specified table.PARTITIONS: partitions in a specified tablePARTITION: a specified partitionThe table specified in this", "doc_type":"sqlreference", "kw":"Checking All Partitions in a Specified Table,Checking Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking All Partitions in a Specified Table", "githuburl":"" }, { "uri":"dli_08_0105.html", "node_id":"dli_08_0105.xml", "product_code":"dli", "code":"23", "des":"This statement is used to check table statistics. The names and data types of all columns in a specified table will be returned.EXTENDED: displays all metadata of the spe", "doc_type":"sqlreference", "kw":"Checking Table Statistics,Checking Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking Table Statistics", "githuburl":"" }, { "uri":"dli_08_0262.html", "node_id":"dli_08_0262.xml", "product_code":"dli", "code":"24", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Modifying a Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Modifying a Table", "githuburl":"" }, { "uri":"dli_08_0263.html", "node_id":"dli_08_0263.xml", "product_code":"dli", "code":"25", "des":"This statement is used to add one or more new columns to a table.ADD COLUMNS: columns to addCOMMENT: column descriptionDo not run this SQL statement concurrently. Otherwi", "doc_type":"sqlreference", "kw":"Adding a Column,Modifying a Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Adding a Column", "githuburl":"" }, { "uri":"dli_08_0470.html", "node_id":"dli_08_0470.xml", "product_code":"dli", "code":"26", "des":"You can modify the column comments of non-partitioned or partitioned tables.CHANGE COLUMN: Modify a column.COMMENT: column descriptionChange the comment of the c1 column ", "doc_type":"sqlreference", "kw":"Modifying Column Comments,Modifying a Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Modifying Column Comments", "githuburl":"" }, { "uri":"dli_08_0354.html", "node_id":"dli_08_0354.xml", "product_code":"dli", "code":"27", "des":"The multi-versioning feature is to be deprecated and is not recommended.DLI controls multiple versions of backup data for restoration. After the multiversion function is ", "doc_type":"sqlreference", "kw":"Enabling or Disabling Data Multi-Versioning (Deprecated, Not Recommended),Modifying a Table,SQL Synt", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Enabling or Disabling Data Multi-Versioning (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0080.html", "node_id":"dli_08_0080.xml", "product_code":"dli", "code":"28", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Syntax for Partitioning a Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Syntax for Partitioning a Table", "githuburl":"" }, { "uri":"dli_08_0081.html", "node_id":"dli_08_0081.xml", "product_code":"dli", "code":"29", "des":"After an OBS partitioned table is created, no partition information is generated for the table. Partition information is generated only after you:Insert data to the OBS p", "doc_type":"sqlreference", "kw":"Adding Partition Data (Only OBS Tables Supported),Syntax for Partitioning a Table,SQL Syntax Referen", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Adding Partition Data (Only OBS Tables Supported)", "githuburl":"" }, { "uri":"dli_08_0082.html", "node_id":"dli_08_0082.xml", "product_code":"dli", "code":"30", "des":"This statement is used to rename partitions.PARTITION: a specified partitionRENAME: new name of the partitionThis statement is used for OBS table operations.The table and", "doc_type":"sqlreference", "kw":"Renaming a Partition (Only OBS Tables Supported),Syntax for Partitioning a Table,SQL Syntax Referenc", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Renaming a Partition (Only OBS Tables Supported)", "githuburl":"" }, { "uri":"dli_08_0083.html", "node_id":"dli_08_0083.xml", "product_code":"dli", "code":"31", "des":"This statement is used to delete one or more partitions from a partitioned table.Partitioned tables are classified into OBS tables and DLI tables. You can delete one or m", "doc_type":"sqlreference", "kw":"Deleting a Partition,Syntax for Partitioning a Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting a Partition", "githuburl":"" }, { "uri":"dli_08_0343.html", "node_id":"dli_08_0343.xml", "product_code":"dli", "code":"32", "des":"This statement is used to delete one or more partitions based on specified conditions.This statement is only used for OBS tables.The table in which partitions are to be d", "doc_type":"sqlreference", "kw":"Deleting Partitions by Specifying Filter Criteria (Only Supported on OBS Tables),Syntax for Partitio", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting Partitions by Specifying Filter Criteria (Only Supported on OBS Tables)", "githuburl":"" }, { "uri":"dli_08_0084.html", "node_id":"dli_08_0084.xml", "product_code":"dli", "code":"33", "des":"This statement is used to modify the positions of table partitions.PARTITION: a specified partitionLOCATION: path of the partitionFor a table partition whose position is ", "doc_type":"sqlreference", "kw":"Altering the Partition Location of a Table (Only OBS Tables Supported),Syntax for Partitioning a Tab", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Altering the Partition Location of a Table (Only OBS Tables Supported)", "githuburl":"" }, { "uri":"dli_08_0079.html", "node_id":"dli_08_0079.xml", "product_code":"dli", "code":"34", "des":"This statement is used to update the partition information about a table in the Metastore.OrPARTITIONS: partition informationSERDEPROPERTIES: Serde attributeThis statemen", "doc_type":"sqlreference", "kw":"Updating Partitioned Table Data (Only OBS Tables Supported),Syntax for Partitioning a Table,SQL Synt", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Updating Partitioned Table Data (Only OBS Tables Supported)", "githuburl":"" }, { "uri":"dli_08_0359.html", "node_id":"dli_08_0359.xml", "product_code":"dli", "code":"35", "des":"Spark caches Parquet metadata to improve performance. If you update a Parquet table, the cached metadata is not updated. Spark SQL cannot find the newly inserted data and", "doc_type":"sqlreference", "kw":"Updating Table Metadata with REFRESH TABLE,Syntax for Partitioning a Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Updating Table Metadata with REFRESH TABLE", "githuburl":"" }, { "uri":"dli_08_0100.html", "node_id":"dli_08_0100.xml", "product_code":"dli", "code":"36", "des":"The LOAD DATA function can be used to import data in CSV, Parquet, ORC, JSON, and Avro formats. The data is converted into the Parquet data format for storage.INPATH: pat", "doc_type":"sqlreference", "kw":"Importing Data to the Table,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Importing Data to the Table", "githuburl":"" }, { "uri":"dli_08_0095.html", "node_id":"dli_08_0095.xml", "product_code":"dli", "code":"37", "des":"This statement is used to insert the SELECT query result or a certain data record into a table.The insert overwrite syntax does not apply to self-read and self-write scen", "doc_type":"sqlreference", "kw":"Inserting Data,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Inserting Data", "githuburl":"" }, { "uri":"en-us_topic_0000001873107668.html", "node_id":"en-us_topic_0000001873107668.xml", "product_code":"dli", "code":"38", "des":"To improve query performance, caching the results of a subquery and reusing them in different parts of the query can be done to avoid redundant calculations of the same s", "doc_type":"sqlreference", "kw":"Reusing Results of Subqueries,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Reusing Results of Subqueries", "githuburl":"" }, { "uri":"dli_08_0217.html", "node_id":"dli_08_0217.xml", "product_code":"dli", "code":"39", "des":"This statement is used to delete data from the DLI or OBS table.Only data in the DLI or OBS table can be deleted.", "doc_type":"sqlreference", "kw":"Clearing Data,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Clearing Data", "githuburl":"" }, { "uri":"dli_08_0205.html", "node_id":"dli_08_0205.xml", "product_code":"dli", "code":"40", "des":"This statement is used to directly write query results to a specified directory. The query results can be stored in CSV, Parquet, ORC, JSON, or Avro format.USING: Specifi", "doc_type":"sqlreference", "kw":"Exporting Search Results,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Exporting Search Results", "githuburl":"" }, { "uri":"dli_08_0349.html", "node_id":"dli_08_0349.xml", "product_code":"dli", "code":"41", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Backing Up and Restoring Multi-Versioning Data (Deprecated, Not Recommended)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Backing Up and Restoring Multi-Versioning Data (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0350.html", "node_id":"dli_08_0350.xml", "product_code":"dli", "code":"42", "des":"The multi-versioning feature is to be deprecated and is not recommended.After multiversion is enabled, backup data is retained for seven days by default. You can change t", "doc_type":"sqlreference", "kw":"Setting the Retention Period of Multi-Versioning Backup Data (Deprecated, Not Recommended),Backing U", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Setting the Retention Period of Multi-Versioning Backup Data (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0351.html", "node_id":"dli_08_0351.xml", "product_code":"dli", "code":"43", "des":"The multi-versioning feature is to be deprecated and is not recommended.After the multiversion function is enabled, you can run the SHOW HISTORY command to view the backu", "doc_type":"sqlreference", "kw":"Viewing Multi-Versioning Backup Data (Deprecated, Not Recommended),Backing Up and Restoring Multi-Ve", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Viewing Multi-Versioning Backup Data (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0352.html", "node_id":"dli_08_0352.xml", "product_code":"dli", "code":"44", "des":"The multi-versioning feature is to be deprecated and is not recommended.After the multiversion function is enabled, you can run the RESTORE TABLE statement to restore a t", "doc_type":"sqlreference", "kw":"Restoring Multi-Versioning Backup Data (Deprecated, Not Recommended),Backing Up and Restoring Multi-", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Restoring Multi-Versioning Backup Data (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0353.html", "node_id":"dli_08_0353.xml", "product_code":"dli", "code":"45", "des":"The multi-versioning feature is to be deprecated and is not recommended.After the multiversion function is enabled, expired backup data will be directly deleted by the sy", "doc_type":"sqlreference", "kw":"Configuring the Recycle Bin for Expired Multi-Versioning Data (Deprecated, Not Recommended),Backing ", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Configuring the Recycle Bin for Expired Multi-Versioning Data (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0355.html", "node_id":"dli_08_0355.xml", "product_code":"dli", "code":"46", "des":"The multi-versioning feature is to be deprecated and is not recommended.The retention period of multiversion backup data takes effect each time the insert overwrite or tr", "doc_type":"sqlreference", "kw":"Clearing Multi-Versioning Data (Deprecated, Not Recommended),Backing Up and Restoring Multi-Versioni", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Clearing Multi-Versioning Data (Deprecated, Not Recommended)", "githuburl":"" }, { "uri":"dli_08_0465.html", "node_id":"dli_08_0465.xml", "product_code":"dli", "code":"47", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Table Lifecycle Management", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Table Lifecycle Management", "githuburl":"" }, { "uri":"dli_08_0466.html", "node_id":"dli_08_0466.xml", "product_code":"dli", "code":"48", "des":"DLI provides table lifecycle management to allow you to specify the lifecycle of a table when creating the table. DLI determines whether to reclaim a table based on the t", "doc_type":"sqlreference", "kw":"Specifying the Lifecycle of a Table When Creating the Table,Table Lifecycle Management,SQL Syntax Re", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Specifying the Lifecycle of a Table When Creating the Table", "githuburl":"" }, { "uri":"dli_08_0467.html", "node_id":"dli_08_0467.xml", "product_code":"dli", "code":"49", "des":"This section describes how to modify the lifecycle of an existing partitioned or non-partitioned table.When the lifecycle function is enabled for the first time, the syst", "doc_type":"sqlreference", "kw":"Modifying the Lifecycle of a Table,Table Lifecycle Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Modifying the Lifecycle of a Table", "githuburl":"" }, { "uri":"dli_08_0468.html", "node_id":"dli_08_0468.xml", "product_code":"dli", "code":"50", "des":"This section describes how to disable or restore the lifecycle of a specified table or partition.You can disable or restore the lifecycle of a table in either of the foll", "doc_type":"sqlreference", "kw":"Disabling or Restoring the Lifecycle of a Table,Table Lifecycle Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Disabling or Restoring the Lifecycle of a Table", "githuburl":"" }, { "uri":"dli_08_0118.html", "node_id":"dli_08_0118.xml", "product_code":"dli", "code":"51", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with an HBase Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with an HBase Table", "githuburl":"" }, { "uri":"dli_08_0119.html", "node_id":"dli_08_0119.xml", "product_code":"dli", "code":"52", "des":"This statement is used to create a DLI table and associate it with an existing HBase table.In Spark cross-source development scenarios, there is a risk of password leakag", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with HBase,Creating a Datasource Connection with an HBase Ta", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with HBase", "githuburl":"" }, { "uri":"dli_08_0120.html", "node_id":"dli_08_0120.xml", "product_code":"dli", "code":"53", "des":"This statement is used to insert data in a DLI table to the associated HBase table.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field", "doc_type":"sqlreference", "kw":"Inserting Data to an HBase Table,Creating a Datasource Connection with an HBase Table,SQL Syntax Ref", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to an HBase Table", "githuburl":"" }, { "uri":"dli_08_0121.html", "node_id":"dli_08_0121.xml", "product_code":"dli", "code":"54", "des":"This statement is used to query data in an HBase table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.The table to be querie", "doc_type":"sqlreference", "kw":"Querying an HBase Table,Creating a Datasource Connection with an HBase Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying an HBase Table", "githuburl":"" }, { "uri":"dli_08_0220.html", "node_id":"dli_08_0220.xml", "product_code":"dli", "code":"55", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with an OpenTSDB Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with an OpenTSDB Table", "githuburl":"" }, { "uri":"dli_08_0122.html", "node_id":"dli_08_0122.xml", "product_code":"dli", "code":"56", "des":"Run the CREATE TABLE statement to create the DLI table and associate it with the existing metric in OpenTSDB. This syntax supports the OpenTSDB of CloudTable and MRS.Befo", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with OpenTSDB,Creating a Datasource Connection with an OpenT", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with OpenTSDB", "githuburl":"" }, { "uri":"dli_08_0123.html", "node_id":"dli_08_0123.xml", "product_code":"dli", "code":"57", "des":"Run the INSERT INTO statement to insert the data in the DLI table to the associated OpenTSDB metric.If no metric exists on the OpenTSDB, a new metric is automatically cre", "doc_type":"sqlreference", "kw":"Inserting Data to the OpenTSDB Table,Creating a Datasource Connection with an OpenTSDB Table,SQL Syn", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to the OpenTSDB Table", "githuburl":"" }, { "uri":"dli_08_0124.html", "node_id":"dli_08_0124.xml", "product_code":"dli", "code":"58", "des":"This SELECT command is used to query data in an OpenTSDB table.If no metric exists in OpenTSDB, an error will be reported when the corresponding DLI table is queried.If t", "doc_type":"sqlreference", "kw":"Querying an OpenTSDB Table,Creating a Datasource Connection with an OpenTSDB Table,SQL Syntax Refere", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying an OpenTSDB Table", "githuburl":"" }, { "uri":"dli_08_0192.html", "node_id":"dli_08_0192.xml", "product_code":"dli", "code":"59", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with a DWS table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with a DWS table", "githuburl":"" }, { "uri":"dli_08_0193.html", "node_id":"dli_08_0193.xml", "product_code":"dli", "code":"60", "des":"This statement is used to create a DLI table and associate it with an existing GaussDB(DWS) table.In Spark cross-source development scenarios, there is a risk of password", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with GaussDB(DWS),Creating a Datasource Connection with a DW", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with GaussDB(DWS)", "githuburl":"" }, { "uri":"dli_08_0194.html", "node_id":"dli_08_0194.xml", "product_code":"dli", "code":"61", "des":"This statement is used to insert data in a DLI table to the associated DWS table.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field2.", "doc_type":"sqlreference", "kw":"Inserting Data to the DWS Table,Creating a Datasource Connection with a DWS table,SQL Syntax Referen", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to the DWS Table", "githuburl":"" }, { "uri":"dli_08_0195.html", "node_id":"dli_08_0195.xml", "product_code":"dli", "code":"62", "des":"This statement is used to query data in a DWS table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.The table to be queried m", "doc_type":"sqlreference", "kw":"Querying the DWS Table,Creating a Datasource Connection with a DWS table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying the DWS Table", "githuburl":"" }, { "uri":"dli_08_0196.html", "node_id":"dli_08_0196.xml", "product_code":"dli", "code":"63", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with an RDS Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with an RDS Table", "githuburl":"" }, { "uri":"dli_08_0197.html", "node_id":"dli_08_0197.xml", "product_code":"dli", "code":"64", "des":"This statement is used to create a DLI table and associate it with an existing RDS table. This function supports access to the MySQL and PostgreSQL clusters of RDS.In Spa", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with RDS,Creating a Datasource Connection with an RDS Table,", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with RDS", "githuburl":"" }, { "uri":"dli_08_0198.html", "node_id":"dli_08_0198.xml", "product_code":"dli", "code":"65", "des":"This statement is used to insert data in a DLI table to the associated RDS table.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field2.", "doc_type":"sqlreference", "kw":"Inserting Data to the RDS Table,Creating a Datasource Connection with an RDS Table,SQL Syntax Refere", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to the RDS Table", "githuburl":"" }, { "uri":"dli_08_0199.html", "node_id":"dli_08_0199.xml", "product_code":"dli", "code":"66", "des":"This statement is used to query data in an RDS table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.The table to be queried ", "doc_type":"sqlreference", "kw":"Querying the RDS Table,Creating a Datasource Connection with an RDS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying the RDS Table", "githuburl":"" }, { "uri":"dli_08_0200.html", "node_id":"dli_08_0200.xml", "product_code":"dli", "code":"67", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with a CSS Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with a CSS Table", "githuburl":"" }, { "uri":"dli_08_0201.html", "node_id":"dli_08_0201.xml", "product_code":"dli", "code":"68", "des":"This statement is used to create a DLI table and associate it with an existing CSS table.In Spark cross-source development scenarios, there is a risk of password leakage ", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with CSS,Creating a Datasource Connection with a CSS Table,S", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with CSS", "githuburl":"" }, { "uri":"dli_08_0202.html", "node_id":"dli_08_0202.xml", "product_code":"dli", "code":"69", "des":"This statement is used to insert data in a DLI table to the associated CSS table.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field2.", "doc_type":"sqlreference", "kw":"Inserting Data to the CSS Table,Creating a Datasource Connection with a CSS Table,SQL Syntax Referen", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to the CSS Table", "githuburl":"" }, { "uri":"dli_08_0203.html", "node_id":"dli_08_0203.xml", "product_code":"dli", "code":"70", "des":"This statement is used to query data in a CSS table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.The table to be queried m", "doc_type":"sqlreference", "kw":"Querying the CSS Table,Creating a Datasource Connection with a CSS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying the CSS Table", "githuburl":"" }, { "uri":"dli_08_0225.html", "node_id":"dli_08_0225.xml", "product_code":"dli", "code":"71", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with a DCS Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with a DCS Table", "githuburl":"" }, { "uri":"dli_08_0226.html", "node_id":"dli_08_0226.xml", "product_code":"dli", "code":"72", "des":"This statement is used to create a DLI table and associate it with an existing DCS key.In Spark cross-source development scenarios, there is a risk of password leakage if", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with DCS,Creating a Datasource Connection with a DCS Table,S", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with DCS", "githuburl":"" }, { "uri":"dli_08_0227.html", "node_id":"dli_08_0227.xml", "product_code":"dli", "code":"73", "des":"This statement is used to insert data in a DLI table to the DCS key.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field2...\n [FROM DL", "doc_type":"sqlreference", "kw":"Inserting Data to a DCS Table,Creating a Datasource Connection with a DCS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to a DCS Table", "githuburl":"" }, { "uri":"dli_08_0228.html", "node_id":"dli_08_0228.xml", "product_code":"dli", "code":"74", "des":"This statement is used to query data in a DCS table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.Query data in the test_re", "doc_type":"sqlreference", "kw":"Querying the DCS Table,Creating a Datasource Connection with a DCS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying the DCS Table", "githuburl":"" }, { "uri":"dli_08_0229.html", "node_id":"dli_08_0229.xml", "product_code":"dli", "code":"75", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with a DDS Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with a DDS Table", "githuburl":"" }, { "uri":"dli_08_0230.html", "node_id":"dli_08_0230.xml", "product_code":"dli", "code":"76", "des":"This statement is used to create a DLI table and associate it with an existing DDS collection.In Spark cross-source development scenarios, there is a risk of password lea", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with DDS,Creating a Datasource Connection with a DDS Table,S", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with DDS", "githuburl":"" }, { "uri":"dli_08_0231.html", "node_id":"dli_08_0231.xml", "product_code":"dli", "code":"77", "des":"This statement is used to insert data in a DLI table to the associated DDS table.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field2.", "doc_type":"sqlreference", "kw":"Inserting Data to the DDS Table,Creating a Datasource Connection with a DDS Table,SQL Syntax Referen", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to the DDS Table", "githuburl":"" }, { "uri":"dli_08_0232.html", "node_id":"dli_08_0232.xml", "product_code":"dli", "code":"78", "des":"This statement is used to query data in a DDS table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.If schema information is ", "doc_type":"sqlreference", "kw":"Querying the DDS Table,Creating a Datasource Connection with a DDS Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying the DDS Table", "githuburl":"" }, { "uri":"dli_08_0460.html", "node_id":"dli_08_0460.xml", "product_code":"dli", "code":"79", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Datasource Connection with an Oracle Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Datasource Connection with an Oracle Table", "githuburl":"" }, { "uri":"dli_08_0461.html", "node_id":"dli_08_0461.xml", "product_code":"dli", "code":"80", "des":"This statement is used to create a DLI table and associate it with an existing Oracle table.Before creating a DLI table and associating it with Oracle, you need to create", "doc_type":"sqlreference", "kw":"Creating a DLI Table and Associating It with Oracle,Creating a Datasource Connection with an Oracle ", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a DLI Table and Associating It with Oracle", "githuburl":"" }, { "uri":"dli_08_0462.html", "node_id":"dli_08_0462.xml", "product_code":"dli", "code":"81", "des":"This statement is used to insert data into an associated Oracle table.Insert the SELECT query result into a table.INSERT INTO DLI_TABLE\n SELECT field1,field2...\n [FROM ", "doc_type":"sqlreference", "kw":"Inserting Data to an Oracle Table,Creating a Datasource Connection with an Oracle Table,SQL Syntax R", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Inserting Data to an Oracle Table", "githuburl":"" }, { "uri":"dli_08_0463.html", "node_id":"dli_08_0463.xml", "product_code":"dli", "code":"82", "des":"This statement is used to query data in an Oracle table.LIMIT is used to limit the query results. Only INT type is supported by the number parameter.If schema information", "doc_type":"sqlreference", "kw":"Querying an Oracle Table,Creating a Datasource Connection with an Oracle Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Querying an Oracle Table", "githuburl":"" }, { "uri":"dli_08_0129.html", "node_id":"dli_08_0129.xml", "product_code":"dli", "code":"83", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Views", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Views", "githuburl":"" }, { "uri":"dli_08_0130.html", "node_id":"dli_08_0130.xml", "product_code":"dli", "code":"84", "des":"This statement is used to create views.CREATE VIEW: creates views based on the given select statement. The result of the select statement will not be written into the dis", "doc_type":"sqlreference", "kw":"Creating a View,Views,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a View", "githuburl":"" }, { "uri":"dli_08_0131.html", "node_id":"dli_08_0131.xml", "product_code":"dli", "code":"85", "des":"This statement is used to delete views.DROP: Deletes the metadata of a specified view. Although views and tables have many common points, the DROP TABLE statement cannot ", "doc_type":"sqlreference", "kw":"Deleting a View,Views,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting a View", "githuburl":"" }, { "uri":"dli_08_0138.html", "node_id":"dli_08_0138.xml", "product_code":"dli", "code":"86", "des":"This statement returns the logical plan and physical execution plan for the SQL statement.EXTENDED: After this keyword is specified, the logical and physical plans are ou", "doc_type":"sqlreference", "kw":"Checking the Execution Plan,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Checking the Execution Plan", "githuburl":"" }, { "uri":"dli_08_0139.html", "node_id":"dli_08_0139.xml", "product_code":"dli", "code":"87", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Permissions Management", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Permissions Management", "githuburl":"" }, { "uri":"dli_08_0140.html", "node_id":"dli_08_0140.xml", "product_code":"dli", "code":"88", "des":"Table 1 describes the SQL statement permission matrix in DLI in terms of permissions on databases, tables, and roles.For privilege granting or revocation on databases and", "doc_type":"sqlreference", "kw":"Data Permissions List,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Permissions List", "githuburl":"" }, { "uri":"dli_08_0141.html", "node_id":"dli_08_0141.xml", "product_code":"dli", "code":"89", "des":"This statement is used to create a role in the current database or a specified database.Only users with the CREATE_ROLE permission on the database can create roles. For e", "doc_type":"sqlreference", "kw":"Creating a Role,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Role", "githuburl":"" }, { "uri":"dli_08_0148.html", "node_id":"dli_08_0148.xml", "product_code":"dli", "code":"90", "des":"This statement is used to delete a role in the current database or a specified database.NoneThe role_name to be deleted must exist in the current database or the specifie", "doc_type":"sqlreference", "kw":"Deleting a Role,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting a Role", "githuburl":"" }, { "uri":"dli_08_0142.html", "node_id":"dli_08_0142.xml", "product_code":"dli", "code":"91", "des":"This statement is used to bind a user with a role.NoneThe role_name and username must exist. Otherwise, an error will be reported.", "doc_type":"sqlreference", "kw":"Binding a Role,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Binding a Role", "githuburl":"" }, { "uri":"dli_08_0147.html", "node_id":"dli_08_0147.xml", "product_code":"dli", "code":"92", "des":"This statement is used to unbind the user with the role.Nonerole_name and user_name must exist and user_name has been bound to role_name.To unbind the user_name1 from rol", "doc_type":"sqlreference", "kw":"Unbinding a Role,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Unbinding a Role", "githuburl":"" }, { "uri":"dli_08_0143.html", "node_id":"dli_08_0143.xml", "product_code":"dli", "code":"93", "des":"This statement is used to display all roles or roles bound to the user_name in the current database.ALL: Displays all roles.Keywords ALL and user_name cannot coexist.To d", "doc_type":"sqlreference", "kw":"Displaying a Role,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Displaying a Role", "githuburl":"" }, { "uri":"dli_08_0144.html", "node_id":"dli_08_0144.xml", "product_code":"dli", "code":"94", "des":"This statement is used to grant permissions to a user or role.ROLE: The subsequent role_name must be a role.USER: The subsequent user_name must be a user.The privilege mu", "doc_type":"sqlreference", "kw":"Granting a Permission,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Granting a Permission", "githuburl":"" }, { "uri":"dli_08_0146.html", "node_id":"dli_08_0146.xml", "product_code":"dli", "code":"95", "des":"This statement is used to revoke permissions granted to a user or role.ROLE: The subsequent role_name must be a role.USER: The subsequent user_name must be a user.The pri", "doc_type":"sqlreference", "kw":"Revoking a Permission,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Revoking a Permission", "githuburl":"" }, { "uri":"dli_08_0145.html", "node_id":"dli_08_0145.xml", "product_code":"dli", "code":"96", "des":"This statement is used to show the permissions granted to a user on a resource.USER: The subsequent user_name must be a user.The resource can be a queue, database, table,", "doc_type":"sqlreference", "kw":"Showing Granted Permissions,Data Permissions Management,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Showing Granted Permissions", "githuburl":"" }, { "uri":"dli_08_0149.html", "node_id":"dli_08_0149.xml", "product_code":"dli", "code":"97", "des":"This statement is used to display the binding relationship between roles and a user in the current database.NoneThe ROLE variable must exist.", "doc_type":"sqlreference", "kw":"Displaying the Binding Relationship Between All Roles and Users,Data Permissions Management,SQL Synt", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Displaying the Binding Relationship Between All Roles and Users", "githuburl":"" }, { "uri":"dli_08_0056.html", "node_id":"dli_08_0056.xml", "product_code":"dli", "code":"98", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Types", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Types", "githuburl":"" }, { "uri":"dli_08_0057.html", "node_id":"dli_08_0057.xml", "product_code":"dli", "code":"99", "des":"Data type is a basic attribute of data and used to distinguish different types of data. Different data types occupy different storage space and support different operatio", "doc_type":"sqlreference", "kw":"Overview,Data Types,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_0058.html", "node_id":"dli_08_0058.xml", "product_code":"dli", "code":"100", "des":"Table 1 lists the primitive data types supported by DLI.VARCHAR and CHAR data is stored in STRING type on DLI. Therefore, the string that exceeds the specified length wil", "doc_type":"sqlreference", "kw":"Primitive Data Types,Data Types,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Primitive Data Types", "githuburl":"" }, { "uri":"dli_08_0059.html", "node_id":"dli_08_0059.xml", "product_code":"dli", "code":"101", "des":"Spark SQL supports complex data types, as shown in Table 1.When a table containing fields of the complex data type is created, the storage format of this table cannot be ", "doc_type":"sqlreference", "kw":"Complex Data Types,Data Types,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Complex Data Types", "githuburl":"" }, { "uri":"dli_08_0282.html", "node_id":"dli_08_0282.xml", "product_code":"dli", "code":"102", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"User-Defined Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"User-Defined Functions", "githuburl":"" }, { "uri":"dli_08_0283.html", "node_id":"dli_08_0283.xml", "product_code":"dli", "code":"103", "des":"DLI allows you to create and use user-defined functions (UDF) and user-defined table functions (UDTF) in Spark jobs.OrIf a function with the same name exists in the datab", "doc_type":"sqlreference", "kw":"Creating a Function,User-Defined Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Function", "githuburl":"" }, { "uri":"dli_08_0284.html", "node_id":"dli_08_0284.xml", "product_code":"dli", "code":"104", "des":"This statement is used to delete functions.TEMPORARY: Indicates whether the function to be deleted is a temporary function.IF EXISTS: Used when the function to be deleted", "doc_type":"sqlreference", "kw":"Deleting a Function,User-Defined Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deleting a Function", "githuburl":"" }, { "uri":"dli_08_0281.html", "node_id":"dli_08_0281.xml", "product_code":"dli", "code":"105", "des":"Displays information about a specified function.EXTENDED: displays extended usage information.The metadata (implementation class and usage) of an existing function is ret", "doc_type":"sqlreference", "kw":"Displaying Function Details,User-Defined Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Displaying Function Details", "githuburl":"" }, { "uri":"dli_08_0285.html", "node_id":"dli_08_0285.xml", "product_code":"dli", "code":"106", "des":"View all functions in the current project.In the preceding statement, regex is a regular expression. For details about its parameters, see Table 1.For details about other", "doc_type":"sqlreference", "kw":"Displaying All Functions,User-Defined Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Displaying All Functions", "githuburl":"" }, { "uri":"dli_08_0064.html", "node_id":"dli_08_0064.xml", "product_code":"dli", "code":"107", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Built-in Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Built-in Functions", "githuburl":"" }, { "uri":"dli_08_0471.html", "node_id":"dli_08_0471.xml", "product_code":"dli", "code":"108", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Date Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Date Functions", "githuburl":"" }, { "uri":"dli_08_0066.html", "node_id":"dli_08_0066.xml", "product_code":"dli", "code":"109", "des":"Table 1 lists the date functions supported by DLI.", "doc_type":"sqlreference", "kw":"Overview,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_spark_add_months.html", "node_id":"dli_spark_add_months.xml", "product_code":"dli", "code":"110", "des":"This function is used to calculate the date after a date value is increased by a specified number of months. That is, it calculates the data that is num_months after star", "doc_type":"sqlreference", "kw":"add_months,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"add_months", "githuburl":"" }, { "uri":"dli_spark_current_date.html", "node_id":"dli_spark_current_date.xml", "product_code":"dli", "code":"111", "des":"This function is used to return the current date, in the yyyy-mm-dd format.Similar function: getdate. The getdate function is used to return the current system time, in t", "doc_type":"sqlreference", "kw":"current_date,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"current_date", "githuburl":"" }, { "uri":"dli_spark_current_timestamp.html", "node_id":"dli_spark_current_timestamp.xml", "product_code":"dli", "code":"112", "des":"This function is used to return the current timestamp.NoneThe return value is of the TIMESTAMP type.The value 1692002816300 is returned.", "doc_type":"sqlreference", "kw":"current_timestamp,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"current_timestamp", "githuburl":"" }, { "uri":"dli_spark_date_add.html", "node_id":"dli_spark_date_add.xml", "product_code":"dli", "code":"113", "des":"This function is used to calculate the number of days in which start_date is increased by days.To obtain the date with a specified change range based on the current date,", "doc_type":"sqlreference", "kw":"date_add,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"date_add", "githuburl":"" }, { "uri":"dli_spark_dateadd.html", "node_id":"dli_spark_dateadd.xml", "product_code":"dli", "code":"114", "des":"This function is used to change a date based on datepart and delta.To obtain the date with a specified change range based on the current date, use this function together ", "doc_type":"sqlreference", "kw":"dateadd,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"dateadd", "githuburl":"" }, { "uri":"dli_spark_date_sub.html", "node_id":"dli_spark_date_sub.xml", "product_code":"dli", "code":"115", "des":"This function is used to calculate the number of days in which start_date is subtracted by days.To obtain the date with a specified change range based on the current date", "doc_type":"sqlreference", "kw":"date_sub,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"date_sub", "githuburl":"" }, { "uri":"dli_spark_date_format.html", "node_id":"dli_spark_date_format.xml", "product_code":"dli", "code":"116", "des":"This function is used to convert a date into a string based on the format specified by format.The return value is of the STRING type.If the value of date is not of the DA", "doc_type":"sqlreference", "kw":"date_format,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"date_format", "githuburl":"" }, { "uri":"dli_spark_datediff.html", "node_id":"dli_spark_datediff.xml", "product_code":"dli", "code":"117", "des":"This function is used to calculate the difference between date1 and date2.Similar function: datediff1. The datediff1 function is used to calculate the difference between ", "doc_type":"sqlreference", "kw":"datediff,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"datediff", "githuburl":"" }, { "uri":"dli_spark_datediff1.html", "node_id":"dli_spark_datediff1.xml", "product_code":"dli", "code":"118", "des":"This function is used to calculate the difference between date1 and date2 and return the difference in a specified datepart.Similar function: datediff. The datediff funct", "doc_type":"sqlreference", "kw":"datediff1,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"datediff1", "githuburl":"" }, { "uri":"dli_spark_datepart.html", "node_id":"dli_spark_datepart.xml", "product_code":"dli", "code":"119", "des":"This function is used to calculate the value that meets the specified datepart in date.The return value is of the BIGINT type.If the value of date is not of the DATE or S", "doc_type":"sqlreference", "kw":"datepart,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"datepart", "githuburl":"" }, { "uri":"dli_spark_datetrunc.html", "node_id":"dli_spark_datetrunc.xml", "product_code":"dli", "code":"120", "des":"This function is used to calculate the date otained through the truncation of a specified date based on a specified datepart.It truncates the date before the specified da", "doc_type":"sqlreference", "kw":"datetrunc,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"datetrunc", "githuburl":"" }, { "uri":"dli_spark_daydayofmonth.html", "node_id":"dli_spark_daydayofmonth.xml", "product_code":"dli", "code":"121", "des":"This function is used to return the day of a specified date.The return value is of the INT type.If the value of date is not of the DATE or STRING type, the error message ", "doc_type":"sqlreference", "kw":"day/dayofmonth,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"day/dayofmonth", "githuburl":"" }, { "uri":"dli_spark_from_unixtime.html", "node_id":"dli_spark_from_unixtime.xml", "product_code":"dli", "code":"122", "des":"This function is used to convert a timestamp represented by a numeric UNIX value to a date value.The return value is of the STRING type, in the yyyy-mm-dd hh:mi:ss format", "doc_type":"sqlreference", "kw":"from_unixtime,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"from_unixtime", "githuburl":"" }, { "uri":"dli_spark_from_utc_timestamp.html", "node_id":"dli_spark_from_utc_timestamp.xml", "product_code":"dli", "code":"123", "des":"This function is used to convert a UTC timestamp to a UNIX timestamp in a given time zone.The return value is of the TIMESTAMP type.If the value of timestamp is not of th", "doc_type":"sqlreference", "kw":"from_utc_timestamp,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"from_utc_timestamp", "githuburl":"" }, { "uri":"dli_spark_getdate.html", "node_id":"dli_spark_getdate.xml", "product_code":"dli", "code":"124", "des":"This function is used to return the current system time, in the yyyy-mm-dd hh:mi:ss format.Similar function: current_date. The current_date function is used to return the", "doc_type":"sqlreference", "kw":"getdate,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"getdate", "githuburl":"" }, { "uri":"dli_spark_hour.html", "node_id":"dli_spark_hour.xml", "product_code":"dli", "code":"125", "des":"This function is used to return the hour (from 0 to 23) of a specified time.The return value is of the INT type.If the value of date is not of the DATE or STRING type, th", "doc_type":"sqlreference", "kw":"hour,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"hour", "githuburl":"" }, { "uri":"dli_spark_isdate.html", "node_id":"dli_spark_isdate.xml", "product_code":"dli", "code":"126", "des":"This function is used to determine whether a date string can be converted into a date value based on a specified format.The return value is of the BOOLEAN type.If the val", "doc_type":"sqlreference", "kw":"isdate,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"isdate", "githuburl":"" }, { "uri":"dli_spark_last_day.html", "node_id":"dli_spark_last_day.xml", "product_code":"dli", "code":"127", "des":"This function is used to return the last day of the month a date belongs to.Similar function: lastday. The lastday function is used to return the last day of the month a ", "doc_type":"sqlreference", "kw":"last_day,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"last_day", "githuburl":"" }, { "uri":"dli_spark_lastday.html", "node_id":"dli_spark_lastday.xml", "product_code":"dli", "code":"128", "des":"This function is used to return the last day of the month a date belongs to. The hour, minute, and second part is 00:00:00.Similar function: last_day. The last_day functi", "doc_type":"sqlreference", "kw":"lastday,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"lastday", "githuburl":"" }, { "uri":"dli_spark_minute.html", "node_id":"dli_spark_minute.xml", "product_code":"dli", "code":"129", "des":"This function is used to return the minute (from 0 to 59) of a specified time.The return value is of the INT type.If the value of date is not of the DATE or STRING type, ", "doc_type":"sqlreference", "kw":"minute,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"minute", "githuburl":"" }, { "uri":"dli_spark_month.html", "node_id":"dli_spark_month.xml", "product_code":"dli", "code":"130", "des":"This function is used to return the month (from January to December) of a specified time.The return value is of the INT type.If the value of date is not of the DATE or ST", "doc_type":"sqlreference", "kw":"month,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"month", "githuburl":"" }, { "uri":"dli_spark_months_between.html", "node_id":"dli_spark_months_between.xml", "product_code":"dli", "code":"131", "des":"This function returns the month difference between date1 and date2.The return value is of the DOUBLE type.If the values of date1 and date2 are not of the DATE or STRING t", "doc_type":"sqlreference", "kw":"months_between,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"months_between", "githuburl":"" }, { "uri":"dli_spark_next_day.html", "node_id":"dli_spark_next_day.xml", "product_code":"dli", "code":"132", "des":"This function is used to return the date closest to day_of_week after start_date.The return value is of the DATE type, in the yyyy-mm-dd format.If the value of start_date", "doc_type":"sqlreference", "kw":"next_day,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"next_day", "githuburl":"" }, { "uri":"dli_spark_quarter.html", "node_id":"dli_spark_quarter.xml", "product_code":"dli", "code":"133", "des":"This function is used to return the quarter of a date. The value ranges from 1 to 4.The return value is of the INT type.If the value of date is not of the DATE or STRING ", "doc_type":"sqlreference", "kw":"quarter,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"quarter", "githuburl":"" }, { "uri":"dli_spark_second.html", "node_id":"dli_spark_second.xml", "product_code":"dli", "code":"134", "des":"This function is used to return the second (from 0 to 59) of a specified time.The return value is of the INT type.If the value of date is not of the DATE or STRING type, ", "doc_type":"sqlreference", "kw":"second,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"second", "githuburl":"" }, { "uri":"dli_spark_to_char.html", "node_id":"dli_spark_to_char.xml", "product_code":"dli", "code":"135", "des":"This function is used to convert a date into a string in a specified format.The return value is of the STRING type.If the value of date is not of the DATE or STRING type,", "doc_type":"sqlreference", "kw":"to_char,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"to_char", "githuburl":"" }, { "uri":"dli_spark_to_date.html", "node_id":"dli_spark_to_date.xml", "product_code":"dli", "code":"136", "des":"This function is used to return the year, month, and day in a time.Similar function: to_date1. The to_date1 function is used to convert a string in a specified format to ", "doc_type":"sqlreference", "kw":"to_date,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"to_date", "githuburl":"" }, { "uri":"dli_spark_to_date1.html", "node_id":"dli_spark_to_date1.xml", "product_code":"dli", "code":"137", "des":"This function is used to convert a string in a specified format to a date value.Similar function: to_date. The to_date function is used to return the year, month, and day", "doc_type":"sqlreference", "kw":"to_date1,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"to_date1", "githuburl":"" }, { "uri":"dli_spark_to_utc_timestamp.html", "node_id":"dli_spark_to_utc_timestamp.xml", "product_code":"dli", "code":"138", "des":"This function is used to convert a timestamp in a given time zone to a UTC timestamp.The return value is of the BIGINT type.If the value of timestamp is not of the DATE o", "doc_type":"sqlreference", "kw":"to_utc_timestamp,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"to_utc_timestamp", "githuburl":"" }, { "uri":"dli_spark_trunc.html", "node_id":"dli_spark_trunc.xml", "product_code":"dli", "code":"139", "des":"This function is used to reset a date to a specific format.Resetting means returning to default values, where the default values for year, month, and day are 01, and the ", "doc_type":"sqlreference", "kw":"trunc,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"trunc", "githuburl":"" }, { "uri":"dli_spark_unix_timestamp.html", "node_id":"dli_spark_unix_timestamp.xml", "product_code":"dli", "code":"140", "des":"This function is used to convert a date value to a numeric date value in UNIX format.The function returns the first ten digits of the timestamp in normal UNIX format.The ", "doc_type":"sqlreference", "kw":"unix_timestamp,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"unix_timestamp", "githuburl":"" }, { "uri":"dli_spark_weekday.html", "node_id":"dli_spark_weekday.xml", "product_code":"dli", "code":"141", "des":"This function is used to return the day of the current week.The return value is of the INT type.If Monday is used as the first day of a week, the value 0 is returned. For", "doc_type":"sqlreference", "kw":"weekday,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"weekday", "githuburl":"" }, { "uri":"dli_spark_weekofyear.html", "node_id":"dli_spark_weekofyear.xml", "product_code":"dli", "code":"142", "des":"This function is used to return the week number (from 0 to 53) of a specified date.The return value is of the INT type.If the value of date is not of the DATE or STRING t", "doc_type":"sqlreference", "kw":"weekofyear,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"weekofyear", "githuburl":"" }, { "uri":"dli_spark_year.html", "node_id":"dli_spark_year.xml", "product_code":"dli", "code":"143", "des":"This function is used to return the year of a specified date.The return value is of the INT type.If the value of date is not of the DATE or STRING type, the error message", "doc_type":"sqlreference", "kw":"year,Date Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"year", "githuburl":"" }, { "uri":"dli_08_0472.html", "node_id":"dli_08_0472.xml", "product_code":"dli", "code":"144", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"String Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"String Functions", "githuburl":"" }, { "uri":"dli_08_0067.html", "node_id":"dli_08_0067.xml", "product_code":"dli", "code":"145", "des":"Table 1 lists the string functions supported by DLI.", "doc_type":"sqlreference", "kw":"Overview,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_spark_ascii.html", "node_id":"dli_spark_ascii.xml", "product_code":"dli", "code":"146", "des":"This function is used to return the ASCII code of the first character in str.The return value is of the BIGINT type.If the value of str is not of the STRING, BIGINT, DOUB", "doc_type":"sqlreference", "kw":"ascii,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ascii", "githuburl":"" }, { "uri":"dli_spark_concat.html", "node_id":"dli_spark_concat.xml", "product_code":"dli", "code":"147", "des":"This function is used to concatenate arrays or strings.If multiple arrays are used as the input, all elements in the arrays are connected to generate a new array.If multi", "doc_type":"sqlreference", "kw":"concat,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"concat", "githuburl":"" }, { "uri":"dli_spark_concat_ws.html", "node_id":"dli_spark_concat_ws.xml", "product_code":"dli", "code":"148", "des":"This function is used to return a string concatenated from multiple input strings that are separated by specified separators.orReturns the result of joining all the strin", "doc_type":"sqlreference", "kw":"concat_ws,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"concat_ws", "githuburl":"" }, { "uri":"dli_spark_char_matchcount.html", "node_id":"dli_spark_char_matchcount.xml", "product_code":"dli", "code":"149", "des":"This parameter is used to return the number of characters in str1 that appear in str2.The return value is of the BIGINT type.If the value of str1 or str2 is NULL, NULL is", "doc_type":"sqlreference", "kw":"char_matchcount,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"char_matchcount", "githuburl":"" }, { "uri":"dli_spark_encode.html", "node_id":"dli_spark_encode.xml", "product_code":"dli", "code":"150", "des":"This function is used to encode str in charset format.encode(string , string )The return value is of the BINARY type.If the value of str or charset is NULL,", "doc_type":"sqlreference", "kw":"encode,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"encode", "githuburl":"" }, { "uri":"dli_spark_find_in_set.html", "node_id":"dli_spark_find_in_set.xml", "product_code":"dli", "code":"151", "des":"This function is used to return the position (stating from 1) of str1 in str2 separated by commas (,).The return value is of the BIGINT type.If str1 cannot be matched in ", "doc_type":"sqlreference", "kw":"find_in_set,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"find_in_set", "githuburl":"" }, { "uri":"dli_spark_get_json_object.html", "node_id":"dli_spark_get_json_object.xml", "product_code":"dli", "code":"152", "des":"This function is used to parse the JSON object in a specified JSON path. The function will return NULL if the JSON object is invalid.The return value is of the STRING typ", "doc_type":"sqlreference", "kw":"get_json_object,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"get_json_object", "githuburl":"" }, { "uri":"dli_spark_instr.html", "node_id":"dli_spark_instr.xml", "product_code":"dli", "code":"153", "des":"This function is used to return the index of substr that appears earliest in str.It returns NULL if either of the arguments are NULL and returns 0 if substr does not exis", "doc_type":"sqlreference", "kw":"instr,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"instr", "githuburl":"" }, { "uri":"dli_spark_instr1.html", "node_id":"dli_spark_instr1.xml", "product_code":"dli", "code":"154", "des":"This function is used to return the position of substring str2 in string str1.Similar function: instr. The instr function is used to return the index of substr that appea", "doc_type":"sqlreference", "kw":"instr1,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"instr1", "githuburl":"" }, { "uri":"dli_spark_initcap.html", "node_id":"dli_spark_initcap.xml", "product_code":"dli", "code":"155", "des":"This function is used to convert the first letter of each word of a string to upper case and all other letters to lower case.The return value is of the STRING type. In th", "doc_type":"sqlreference", "kw":"initcap,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"initcap", "githuburl":"" }, { "uri":"dli_spark_keyvalue.html", "node_id":"dli_spark_keyvalue.xml", "product_code":"dli", "code":"156", "des":"This function is used to split str by split1, convert each group into a key-value pair by split2, and return the value corresponding to the key.The return value is of the", "doc_type":"sqlreference", "kw":"keyvalue,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"keyvalue", "githuburl":"" }, { "uri":"dli_spark_length.html", "node_id":"dli_spark_length.xml", "product_code":"dli", "code":"157", "des":"This function is used to return the length of a string.Similar function: lengthb. The lengthb function is used to return the length of string str in bytes and return a va", "doc_type":"sqlreference", "kw":"length,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"length", "githuburl":"" }, { "uri":"dli_spark_lengthb.html", "node_id":"dli_spark_lengthb.xml", "product_code":"dli", "code":"158", "des":"This function is used to return the length of a specified string in bytes.Similar function: length. The length function is used to return the length of a string and retur", "doc_type":"sqlreference", "kw":"lengthb,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"lengthb", "githuburl":"" }, { "uri":"dli_spark_levenshtein.html", "node_id":"dli_spark_levenshtein.xml", "product_code":"dli", "code":"159", "des":"This function is used to returns the Levenshtein distance between two strings, for example, levenshtein('kitten','sitting') = 3.Levenshtein distance is a type of edit dis", "doc_type":"sqlreference", "kw":"levenshtein,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"levenshtein", "githuburl":"" }, { "uri":"dli_spark_locate.html", "node_id":"dli_spark_locate.xml", "product_code":"dli", "code":"160", "des":"This function is used to return the position of substr in str. You can specify the starting position of your search using \"start_pos,\" which starts from 1.The return valu", "doc_type":"sqlreference", "kw":"locate,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"locate", "githuburl":"" }, { "uri":"dli_spark_lower_lcase.html", "node_id":"dli_spark_lower_lcase.xml", "product_code":"dli", "code":"161", "des":"This function is used to convert all characters of a string to the lower case.The return value is of the STRING type.If the value of the input parameter is not of the STR", "doc_type":"sqlreference", "kw":"lower/lcase,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"lower/lcase", "githuburl":"" }, { "uri":"dli_spark_lpad.html", "node_id":"dli_spark_lpad.xml", "product_code":"dli", "code":"162", "des":"This function is used to return a string of a specified length. If the length of the given string (str1) is shorter than the specified length (length), the given string i", "doc_type":"sqlreference", "kw":"lpad,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"lpad", "githuburl":"" }, { "uri":"dli_spark_ltrim.html", "node_id":"dli_spark_ltrim.xml", "product_code":"dli", "code":"163", "des":"This function is used to remove characters from the left of str.If trimChars is not specified, spaces are removed by default.If trimChars is specified, the function remov", "doc_type":"sqlreference", "kw":"ltrim,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ltrim", "githuburl":"" }, { "uri":"dli_spark_parse_url.html", "node_id":"dli_spark_parse_url.xml", "product_code":"dli", "code":"164", "des":"This character is used to return the specified part of a given URL. Valid values of partToExtract include HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, and USERINFO.", "doc_type":"sqlreference", "kw":"parse_url,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"parse_url", "githuburl":"" }, { "uri":"dli_spark_printf.html", "node_id":"dli_spark_printf.xml", "product_code":"dli", "code":"165", "des":"This function is used to print the input in a specific format.The return value is of the STRING type.The value is returned after the parameters that filled in Obj are spe", "doc_type":"sqlreference", "kw":"printf,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"printf", "githuburl":"" }, { "uri":"dli_spark_regexp_count.html", "node_id":"dli_spark_regexp_count.xml", "product_code":"dli", "code":"166", "des":"This function is used to return the number of substrings that match a specified pattern in the source, starting from the start_position position.The return value is of th", "doc_type":"sqlreference", "kw":"regexp_count,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regexp_count", "githuburl":"" }, { "uri":"dli_spark_regexp_extract.html", "node_id":"dli_spark_regexp_extract.xml", "product_code":"dli", "code":"167", "des":"This function is used to match the string source based on the pattern grouping rule and return the string content that matches groupid.regexp_extract(string , str", "doc_type":"sqlreference", "kw":"regexp_extract,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regexp_extract", "githuburl":"" }, { "uri":"dli_spark_replace.html", "node_id":"dli_spark_replace.xml", "product_code":"dli", "code":"168", "des":"This function is used to replace the part in a specified string that is the same as the string old with the string new and return the result.If the string has no same cha", "doc_type":"sqlreference", "kw":"replace,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"replace", "githuburl":"" }, { "uri":"dli_spark_regexp_replace.html", "node_id":"dli_spark_regexp_replace.xml", "product_code":"dli", "code":"169", "des":"This function has slight variations in its functionality depending on the version of Spark being used.For Spark 2.4.5 or earlier: Replaces the substring that matches patt", "doc_type":"sqlreference", "kw":"regexp_replace,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regexp_replace", "githuburl":"" }, { "uri":"dli_spark_regexp_replace1.html", "node_id":"dli_spark_regexp_replace1.xml", "product_code":"dli", "code":"170", "des":"This function is used to replace the substring that matches pattern for the occurrence time in the source string with the specified string replace_string and return the r", "doc_type":"sqlreference", "kw":"regexp_replace1,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regexp_replace1", "githuburl":"" }, { "uri":"dli_spark_regexp_instr.html", "node_id":"dli_spark_regexp_instr.xml", "product_code":"dli", "code":"171", "des":"This function is used to return the start or end position of the substring that matches a specified pattern for the occurrence time, starting from start_position in the s", "doc_type":"sqlreference", "kw":"regexp_instr,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regexp_instr", "githuburl":"" }, { "uri":"dli_spark_regexp_substr.html", "node_id":"dli_spark_regexp_substr.xml", "product_code":"dli", "code":"172", "des":"This function is used to return the substring that matches a specified pattern for the occurrence time, starting from start_position in the string source.The return value", "doc_type":"sqlreference", "kw":"regexp_substr,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regexp_substr", "githuburl":"" }, { "uri":"dli_spark_repeat.html", "node_id":"dli_spark_repeat.xml", "product_code":"dli", "code":"173", "des":"This function is used to return the string after str is repeated for n times.The return value is of the STRING type.If the value of str is not of the STRING, BIGINT, DOUB", "doc_type":"sqlreference", "kw":"repeat,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"repeat", "githuburl":"" }, { "uri":"dli_spark_reverse.html", "node_id":"dli_spark_reverse.xml", "product_code":"dli", "code":"174", "des":"This function is used to return a string in reverse order.The return value is of the STRING type.If the value of str is not of the STRING, BIGINT, DOUBLE, DECIMAL, or DAT", "doc_type":"sqlreference", "kw":"reverse,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"reverse", "githuburl":"" }, { "uri":"dli_spark_rpad.html", "node_id":"dli_spark_rpad.xml", "product_code":"dli", "code":"175", "des":"This function is used to right pad str1 with str2 to the specified length.The return value is of the STRING type.If the value of length is smaller than the number of digi", "doc_type":"sqlreference", "kw":"rpad,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"rpad", "githuburl":"" }, { "uri":"dli_spark_rtrim.html", "node_id":"dli_spark_rtrim.xml", "product_code":"dli", "code":"176", "des":"This function is used to remove characters from the right of str.If trimChars is not specified, spaces are removed by default.If trimChars is specified, the function remo", "doc_type":"sqlreference", "kw":"rtrim,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"rtrim", "githuburl":"" }, { "uri":"dli_spark_soundex.html", "node_id":"dli_spark_soundex.xml", "product_code":"dli", "code":"177", "des":"This function is used to return the soundex string from str, for example, soundex('Miller') = M460.The return value is of the STRING type.If the value of str is NULL, NUL", "doc_type":"sqlreference", "kw":"soundex,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"soundex", "githuburl":"" }, { "uri":"dli_spark_space.html", "node_id":"dli_spark_space.xml", "product_code":"dli", "code":"178", "des":"This function is used to return a specified number of spaces.The return value is of the STRING type.If the value of n is empty, an error is reported.If the value of n is ", "doc_type":"sqlreference", "kw":"space,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"space", "githuburl":"" }, { "uri":"dli_spark_substr_substring.html", "node_id":"dli_spark_substr_substring.xml", "product_code":"dli", "code":"179", "des":"This function is used to return the substring of str, starting from start_position and with a length of length.orThe return value is of the STRING type.If the value of st", "doc_type":"sqlreference", "kw":"substr/substring,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"substr/substring", "githuburl":"" }, { "uri":"dli_spark_substring_index.html", "node_id":"dli_spark_substring_index.xml", "product_code":"dli", "code":"180", "des":"This function is used to truncate the string before the count separator of str. If the value of count is positive, the string is truncated from the left. If the value of ", "doc_type":"sqlreference", "kw":"substring_index,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"substring_index", "githuburl":"" }, { "uri":"dli_spark_split_part.html", "node_id":"dli_spark_split_part.xml", "product_code":"dli", "code":"181", "des":"This function is used to split a specified string based on a specified separator and return a substring from the start to end position.The return value is of the STRING t", "doc_type":"sqlreference", "kw":"split_part,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"split_part", "githuburl":"" }, { "uri":"dli_spark_translate.html", "node_id":"dli_spark_translate.xml", "product_code":"dli", "code":"182", "des":"This function is used to translate the input string by replacing the characters or string specified by from with the characters or string specified by to.For example, it ", "doc_type":"sqlreference", "kw":"translate,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"translate", "githuburl":"" }, { "uri":"dli_spark_trim.html", "node_id":"dli_spark_trim.xml", "product_code":"dli", "code":"183", "des":"This function is used to remove characters from the left and right of str.If trimChars is not specified, spaces are removed by default.If trimChars is specified, the func", "doc_type":"sqlreference", "kw":"trim,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"trim", "githuburl":"" }, { "uri":"dli_spark_upper_ucase.html", "node_id":"dli_spark_upper_ucase.xml", "product_code":"dli", "code":"184", "des":"This function is used to convert all characters of a string to the upper case.orThe return value is of the STRING type.If the value of the input parameter is not of the S", "doc_type":"sqlreference", "kw":"upper/ucase,String Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"upper/ucase", "githuburl":"" }, { "uri":"dli_08_0473.html", "node_id":"dli_08_0473.xml", "product_code":"dli", "code":"185", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Mathematical Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Mathematical Functions", "githuburl":"" }, { "uri":"dli_08_0065.html", "node_id":"dli_08_0065.xml", "product_code":"dli", "code":"186", "des":"Table 1 lists the mathematical functions supported by DLI.", "doc_type":"sqlreference", "kw":"Overview,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_spark_abs.html", "node_id":"dli_spark_abs.xml", "product_code":"dli", "code":"187", "des":"This function is used to calculate the absolute value of an input parameter.The return value is of the DOUBLE or INT type.If the value of a is NULL, NULL is returned.The ", "doc_type":"sqlreference", "kw":"abs,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"abs", "githuburl":"" }, { "uri":"dli_spark_aocs.html", "node_id":"dli_spark_aocs.xml", "product_code":"dli", "code":"188", "des":"This function is used to return the arc cosine value of a given angle a.The return value is of the DOUBLE type. The value ranges from 0 to π.If the value of a is not with", "doc_type":"sqlreference", "kw":"acos,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"acos", "githuburl":"" }, { "uri":"dli_spark_asin.html", "node_id":"dli_spark_asin.xml", "product_code":"dli", "code":"189", "des":"This function is used to return the arc sine value of a given angle a.The return value is of the DOUBLE type. The value ranges from -π/2 to π/2.If the value of a is not w", "doc_type":"sqlreference", "kw":"asin,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"asin", "githuburl":"" }, { "uri":"dli_spark_atan.html", "node_id":"dli_spark_atan.xml", "product_code":"dli", "code":"190", "des":"This function is used to return the arc tangent value of a given angle a.The return value is of the DOUBLE type. The value ranges from -π/2 to π/2.If the value of a is no", "doc_type":"sqlreference", "kw":"atan,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"atan", "githuburl":"" }, { "uri":"dli_spark_bin.html", "node_id":"dli_spark_bin.xml", "product_code":"dli", "code":"191", "des":"This function is used to return the binary format of a.The return value is of the STRING type.If the value of a is NULL, NULL is returned.The value 1 is returned.The valu", "doc_type":"sqlreference", "kw":"bin,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"bin", "githuburl":"" }, { "uri":"dli_spark_bround.html", "node_id":"dli_spark_bround.xml", "product_code":"dli", "code":"192", "des":"This function is used to return a value that is rounded off to d decimal places.The return value is of the DOUBLE type.If the value of a or d is NULL, NULL is returned.Th", "doc_type":"sqlreference", "kw":"bround,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"bround", "githuburl":"" }, { "uri":"dli_spark_cbrt.html", "node_id":"dli_spark_cbrt.xml", "product_code":"dli", "code":"193", "des":"This function is used to return the cube root of a.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value 3 is returned.select cbrt(", "doc_type":"sqlreference", "kw":"cbrt,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"cbrt", "githuburl":"" }, { "uri":"dli_spark_ceil.html", "node_id":"dli_spark_ceil.xml", "product_code":"dli", "code":"194", "des":"This function is used to round up a to the nearest integer.The return value is of the DECIMAL type.If the value of a is NULL, NULL is returned.The value 2 is returned.The", "doc_type":"sqlreference", "kw":"ceil,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ceil", "githuburl":"" }, { "uri":"dli_spark_conv.html", "node_id":"dli_spark_conv.xml", "product_code":"dli", "code":"195", "des":"This function is used to convert a number from from_base to to_base.The return value is of the STRING type.If the value of num, from_base, or to_base is NULL, NULL is ret", "doc_type":"sqlreference", "kw":"conv,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"conv", "githuburl":"" }, { "uri":"dli_spark_cos.html", "node_id":"dli_spark_cos.xml", "product_code":"dli", "code":"196", "des":"This function is used to calculate the cosine value of a, with input in radians.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The val", "doc_type":"sqlreference", "kw":"cos,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"cos", "githuburl":"" }, { "uri":"dli_spark_cot1.html", "node_id":"dli_spark_cot1.xml", "product_code":"dli", "code":"197", "des":"This function is used to calculate the cotangent value of a, with input in radians.The return value is of the DOUBLE or DECIMAL type.If the value of a is NULL, NULL is re", "doc_type":"sqlreference", "kw":"cot1,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"cot1", "githuburl":"" }, { "uri":"dli_spark_degress.html", "node_id":"dli_spark_degress.xml", "product_code":"dli", "code":"198", "des":"This function is used to calculate the angle corresponding to the returned radian.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The v", "doc_type":"sqlreference", "kw":"degrees,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"degrees", "githuburl":"" }, { "uri":"dli_spark_e.html", "node_id":"dli_spark_e.xml", "product_code":"dli", "code":"199", "des":"This function is used to return the value of e.The return value is of the DOUBLE type.The value 2.718281828459045 is returned.select e();", "doc_type":"sqlreference", "kw":"e,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"e", "githuburl":"" }, { "uri":"dli_spark_exp.html", "node_id":"dli_spark_exp.xml", "product_code":"dli", "code":"200", "des":"This function is used to return the value of e raised to the power of a.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value 7.389", "doc_type":"sqlreference", "kw":"exp,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"exp", "githuburl":"" }, { "uri":"dli_spark_factorial.html", "node_id":"dli_spark_factorial.xml", "product_code":"dli", "code":"201", "des":"This function is used to return the factorial of a.The return value is of the BIGINT type.If the value of a is 0, 1 is returned.If the value of a is NULL or outside the r", "doc_type":"sqlreference", "kw":"factorial,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"factorial", "githuburl":"" }, { "uri":"dli_spark_floor.html", "node_id":"dli_spark_floor.xml", "product_code":"dli", "code":"202", "des":"This function is used to round down a to the nearest integer.The return value is of the BIGINT type.If the value of a is NULL, NULL is returned.The value 1 is returned.Th", "doc_type":"sqlreference", "kw":"floor,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"floor", "githuburl":"" }, { "uri":"dli_spark_greatest.html", "node_id":"dli_spark_greatest.xml", "product_code":"dli", "code":"203", "des":"This function is used to return the greatest value in a list of values.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value 4.0 is", "doc_type":"sqlreference", "kw":"greatest,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"greatest", "githuburl":"" }, { "uri":"dli_spark_hex.html", "node_id":"dli_spark_hex.xml", "product_code":"dli", "code":"204", "des":"This function is used to convert an integer or character into its hexadecimal representation.The return value is of the STRING type.If the value of a is 0, 0 is returned.", "doc_type":"sqlreference", "kw":"hex,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"hex", "githuburl":"" }, { "uri":"dli_spark_least.html", "node_id":"dli_spark_least.xml", "product_code":"dli", "code":"205", "des":"This function is used to return the smallest value in a list of values.The return value is of the DOUBLE type.If the value of v1 or v2 is of the STRING type, an error is ", "doc_type":"sqlreference", "kw":"least,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"least", "githuburl":"" }, { "uri":"dli_spark_ln.html", "node_id":"dli_spark_ln.xml", "product_code":"dli", "code":"206", "des":"This function is used to return the natural logarithm of a given value.The return value is of the DOUBLE type.If the value of a is negative or 0, NULL is returned.If the ", "doc_type":"sqlreference", "kw":"ln,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ln", "githuburl":"" }, { "uri":"dli_spark_log.html", "node_id":"dli_spark_log.xml", "product_code":"dli", "code":"207", "des":"This function is used to return the natural logarithm of a given base and exponent.The return value is of the DOUBLE type.If the value of base or a is NULL, NULL is retur", "doc_type":"sqlreference", "kw":"log,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"log", "githuburl":"" }, { "uri":"dli_spark_log10.html", "node_id":"dli_spark_log10.xml", "product_code":"dli", "code":"208", "des":"This function is used to return the natural logarithm of a given value with a base of 10.The return value is of the DOUBLE type.If the value of a is negative, 0, or NULL,", "doc_type":"sqlreference", "kw":"log10,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"log10", "githuburl":"" }, { "uri":"dli_spark_log2.html", "node_id":"dli_spark_log2.xml", "product_code":"dli", "code":"209", "des":"This function is used to return the natural logarithm of a given value with a base of 2.The return value is of the DOUBLE type.If the value of a is negative, 0, or NULL, ", "doc_type":"sqlreference", "kw":"log2,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"log2", "githuburl":"" }, { "uri":"dli_spark_median.html", "node_id":"dli_spark_median.xml", "product_code":"dli", "code":"210", "des":"This function is used to calculate the median of input parameters.The return value is of the DOUBLE or DECIMAL type.If the column name does not exist, an error is reporte", "doc_type":"sqlreference", "kw":"median,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"median", "githuburl":"" }, { "uri":"dli_spark_negative.html", "node_id":"dli_spark_negative.xml", "product_code":"dli", "code":"211", "des":"This function is used to return the additive inverse of a.The return value is of the DECIMAL or INT type.If the value of a is NULL, NULL is returned.The value -1 is retur", "doc_type":"sqlreference", "kw":"negative,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"negative", "githuburl":"" }, { "uri":"dli_spark_percentlie.html", "node_id":"dli_spark_percentlie.xml", "product_code":"dli", "code":"212", "des":"This function is used to return the exact percentile, which is applicable to a small amount of data. It sorts a specified column in ascending order, and then obtains the ", "doc_type":"sqlreference", "kw":"percentlie,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"percentlie", "githuburl":"" }, { "uri":"dli_spark_percentlie_approx.html", "node_id":"dli_spark_percentlie_approx.xml", "product_code":"dli", "code":"213", "des":"This function is used to return the approximate percentile, which is applicable to a large amount of data. It sorts a specified column in ascending order, and then obtain", "doc_type":"sqlreference", "kw":"percentlie_approx,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"percentlie_approx", "githuburl":"" }, { "uri":"dli_spark_pi.html", "node_id":"dli_spark_pi.xml", "product_code":"dli", "code":"214", "des":"This function is used to return the value of π.The return value is of the DOUBLE type.The value 3.141592653589793 is returned.", "doc_type":"sqlreference", "kw":"pi,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"pi", "githuburl":"" }, { "uri":"dli_spark_pmod.html", "node_id":"dli_spark_pmod.xml", "product_code":"dli", "code":"215", "des":"This function is used to return the positive value of the remainder after division of x by y.pmod(INT a, INT b)The return value is of the DECIMAL or INT type.If the value", "doc_type":"sqlreference", "kw":"pmod,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"pmod", "githuburl":"" }, { "uri":"dli_spark_positive.html", "node_id":"dli_spark_positive.xml", "product_code":"dli", "code":"216", "des":"This function is used to return the value of a.The return value is of the DECIMAL, DOUBLE, or INT type.If the value of a is NULL, NULL is returned.The value 3 is returned", "doc_type":"sqlreference", "kw":"positive,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"positive", "githuburl":"" }, { "uri":"dli_spark_pow.html", "node_id":"dli_spark_pow.xml", "product_code":"dli", "code":"217", "des":"This function is used to calculate and return the pth power of a.The return value is of the DOUBLE type.If the value of a or p is NULL, NULL is returned.The value 16 retu", "doc_type":"sqlreference", "kw":"pow,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"pow", "githuburl":"" }, { "uri":"dli_spark_radians.html", "node_id":"dli_spark_radians.xml", "product_code":"dli", "code":"218", "des":"This function is used to return the radian corresponding to an angle.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value 1.047197", "doc_type":"sqlreference", "kw":"radians,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"radians", "githuburl":"" }, { "uri":"dli_spark_rand.html", "node_id":"dli_spark_rand.xml", "product_code":"dli", "code":"219", "des":"This function is used to return an evenly distributed random number that is greater than or equal to 0 and less than 1.The return value is of the DOUBLE type.The value 0.", "doc_type":"sqlreference", "kw":"rand,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"rand", "githuburl":"" }, { "uri":"dli_spark_round.html", "node_id":"dli_spark_round.xml", "product_code":"dli", "code":"220", "des":"This function is used to calculate the rounded value of a up to d decimal places.The return value is of the DOUBLE type.If the value of d is negative, an error is reporte", "doc_type":"sqlreference", "kw":"round,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"round", "githuburl":"" }, { "uri":"dli_spark_shiftleft.html", "node_id":"dli_spark_shiftleft.xml", "product_code":"dli", "code":"221", "des":"This function is used to perform a signed bitwise left shift. It takes the binary number a and shifts it b positions to the left.shiftleft(BIGINT a, BIGINT b)The return v", "doc_type":"sqlreference", "kw":"shiftleft,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"shiftleft", "githuburl":"" }, { "uri":"dli_spark_shiftright.html", "node_id":"dli_spark_shiftright.xml", "product_code":"dli", "code":"222", "des":"This function is used to perform a signed bitwise right shift. It takes the binary number a and shifts it b positions to the right.The return value is of the INT type.If ", "doc_type":"sqlreference", "kw":"shiftright,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"shiftright", "githuburl":"" }, { "uri":"dli_spark_shiftrightunsigned.html", "node_id":"dli_spark_shiftrightunsigned.xml", "product_code":"dli", "code":"223", "des":"This function is used to perform an unsigned bitwise right shift. It takes the binary number a and shifts it b positions to the right.The return value is of the INT type.", "doc_type":"sqlreference", "kw":"shiftrightunsigned,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"shiftrightunsigned", "githuburl":"" }, { "uri":"dli_spark_sign.html", "node_id":"dli_spark_sign.xml", "product_code":"dli", "code":"224", "des":"This function is used to return the positive and negative signs corresponding to a.The return value is of the DOUBLE type.If the value of a is a positive number, 1 is ret", "doc_type":"sqlreference", "kw":"sign,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"sign", "githuburl":"" }, { "uri":"dli_spark_sin.html", "node_id":"dli_spark_sin.xml", "product_code":"dli", "code":"225", "des":"This function is used to return the sine value of a, with input in radians.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value 1 ", "doc_type":"sqlreference", "kw":"sin,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"sin", "githuburl":"" }, { "uri":"dli_spark_sqrt.html", "node_id":"dli_spark_sqrt.xml", "product_code":"dli", "code":"226", "des":"This function is used to return the square root of a value.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value 2.8284271247461903", "doc_type":"sqlreference", "kw":"sqrt,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"sqrt", "githuburl":"" }, { "uri":"dli_spark_tan.html", "node_id":"dli_spark_tan.xml", "product_code":"dli", "code":"227", "des":"This function is used to return the tangent value of a, with input in radians.The return value is of the DOUBLE type.If the value of a is NULL, NULL is returned.The value", "doc_type":"sqlreference", "kw":"tan,Mathematical Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"tan", "githuburl":"" }, { "uri":"dli_08_0474.html", "node_id":"dli_08_0474.xml", "product_code":"dli", "code":"228", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Aggregate Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Aggregate Functions", "githuburl":"" }, { "uri":"dli_08_0068.html", "node_id":"dli_08_0068.xml", "product_code":"dli", "code":"229", "des":"Table 1 lists the aggregate functions supported by DLI.", "doc_type":"sqlreference", "kw":"Overview,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_spark_avg.html", "node_id":"dli_spark_avg.xml", "product_code":"dli", "code":"230", "des":"This function is used to return the average value.The return value is of the DOUBLE type.If the value of col is NULL, the column is not involved in calculation.Calculates", "doc_type":"sqlreference", "kw":"avg,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"avg", "githuburl":"" }, { "uri":"dli_spark_corr.html", "node_id":"dli_spark_corr.xml", "product_code":"dli", "code":"231", "des":"This function is used to return the correlation coefficient between two columns of numerical values.The return value is of the DOUBLE type.Calculates the correlation coef", "doc_type":"sqlreference", "kw":"corr,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"corr", "githuburl":"" }, { "uri":"dli_spark_count.html", "node_id":"dli_spark_count.xml", "product_code":"dli", "code":"232", "des":"This function is used to return the number of records.The return value is of the BIGINT type.If the value of colname is NULL, the row is not involved in calculation.Calcu", "doc_type":"sqlreference", "kw":"count,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"count", "githuburl":"" }, { "uri":"dli_spark_covar_pop.html", "node_id":"dli_spark_covar_pop.xml", "product_code":"dli", "code":"233", "des":"This function is used to return the covariance between two columns of numerical values.The return value is of the DOUBLE type.Calculates the covariance between the invent", "doc_type":"sqlreference", "kw":"covar_pop,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"covar_pop", "githuburl":"" }, { "uri":"dli_spark_covar_samp.html", "node_id":"dli_spark_covar_samp.xml", "product_code":"dli", "code":"234", "des":"This function is used to return the sample covariance between two columns of numerical values.The return value is of the DOUBLE type.Calculates the sample covariance betw", "doc_type":"sqlreference", "kw":"covar_samp,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"covar_samp", "githuburl":"" }, { "uri":"dli_spark_max.html", "node_id":"dli_spark_max.xml", "product_code":"dli", "code":"235", "des":"This function is used to return the maximum value.The return value is of the DOUBLE type.The return type is the same as the type of col. The return rules are as follows:I", "doc_type":"sqlreference", "kw":"max,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"max", "githuburl":"" }, { "uri":"dli_spark_min.html", "node_id":"dli_spark_min.xml", "product_code":"dli", "code":"236", "des":"This function is used to return the minimum value.The return value is of the DOUBLE type.The return type is the same as the type of col. The return rules are as follows:I", "doc_type":"sqlreference", "kw":"min,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"min", "githuburl":"" }, { "uri":"dli_spark_percentile.html", "node_id":"dli_spark_percentile.xml", "product_code":"dli", "code":"237", "des":"This function is used to return the numerical value at a certain percentage point within a range of values.The return value is of the DOUBLE type.The value should be betw", "doc_type":"sqlreference", "kw":"percentile,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"percentile", "githuburl":"" }, { "uri":"dli_spark_percentile_approx.html", "node_id":"dli_spark_percentile_approx.xml", "product_code":"dli", "code":"238", "des":"This function is used to approximate the pth percentile (including floating-point numbers) of a numeric column within a group.The return value is of the DOUBLE type.Calcu", "doc_type":"sqlreference", "kw":"percentile_approx,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"percentile_approx", "githuburl":"" }, { "uri":"dli_spark_stddev_pop.html", "node_id":"dli_spark_stddev_pop.xml", "product_code":"dli", "code":"239", "des":"This function is used to return the deviation of a specified column.The return value is of the DOUBLE type.Calculates the deviation of all offering inventories (items). A", "doc_type":"sqlreference", "kw":"stddev_pop,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"stddev_pop", "githuburl":"" }, { "uri":"dli_spark_stddev_samp.html", "node_id":"dli_spark_stddev_samp.xml", "product_code":"dli", "code":"240", "des":"This function is used to return the sample deviation of a specified column.The return value is of the DOUBLE type.Calculates the sample deviation of all offering inventor", "doc_type":"sqlreference", "kw":"stddev_samp,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"stddev_samp", "githuburl":"" }, { "uri":"dli_spark_sum.html", "node_id":"dli_spark_sum.xml", "product_code":"dli", "code":"241", "des":"This function is used to calculate the total sum.The return value is of the DOUBLE type.If the value of col is NULL, the row is not involved in calculation.Calculates the", "doc_type":"sqlreference", "kw":"sum,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"sum", "githuburl":"" }, { "uri":"dli_spark_variance_var_pop.html", "node_id":"dli_spark_variance_var_pop.xml", "product_code":"dli", "code":"242", "des":"This function is used to return the variance of a column.The return value is of the DOUBLE type.Calculates the variance of all offering inventories (items). An example co", "doc_type":"sqlreference", "kw":"variance/var_pop,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"variance/var_pop", "githuburl":"" }, { "uri":"dli_spark_war_samp.html", "node_id":"dli_spark_war_samp.xml", "product_code":"dli", "code":"243", "des":"This function is used to return the sample variance of a specified column.The return value is of the DOUBLE type.Calculates the sample variance of all offering inventorie", "doc_type":"sqlreference", "kw":"var_samp,Aggregate Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"var_samp", "githuburl":"" }, { "uri":"dli_08_0475.html", "node_id":"dli_08_0475.xml", "product_code":"dli", "code":"244", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Window Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Window Functions", "githuburl":"" }, { "uri":"dli_08_0069.html", "node_id":"dli_08_0069.xml", "product_code":"dli", "code":"245", "des":"Table 1 lists the window functions supported by DLI.", "doc_type":"sqlreference", "kw":"Overview,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_spark_cume_dist.html", "node_id":"dli_spark_cume_dist.xml", "product_code":"dli", "code":"246", "des":"This function is used to return the cumulative distribution, which is equivalent to calculating the proportion of data in the partition that is greater than or equal to, ", "doc_type":"sqlreference", "kw":"cume_dist,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"cume_dist", "githuburl":"" }, { "uri":"dli_spark_first_value.html", "node_id":"dli_spark_first_value.xml", "product_code":"dli", "code":"247", "des":"This function is used to obtain the value of the first data record in the window corresponding to the current row.The restrictions on using window functions are as follow", "doc_type":"sqlreference", "kw":"first_value,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"first_value", "githuburl":"" }, { "uri":"dli_spark_last_value.html", "node_id":"dli_spark_last_value.xml", "product_code":"dli", "code":"248", "des":"This function is used to obtain the value of the last data record in the window corresponding to the current row.The restrictions on using window functions are as follows", "doc_type":"sqlreference", "kw":"last_value,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"last_value", "githuburl":"" }, { "uri":"dli_spark_lag.html", "node_id":"dli_spark_lag.xml", "product_code":"dli", "code":"249", "des":"This function is used to return the value of the nth row upwards within a specified window.The restrictions on using window functions are as follows:Window functions can ", "doc_type":"sqlreference", "kw":"lag,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"lag", "githuburl":"" }, { "uri":"dli_spark_lead.html", "node_id":"dli_spark_lead.xml", "product_code":"dli", "code":"250", "des":"This function is used to return the value of the nth row downwards within a specified window.The restrictions on using window functions are as follows:Window functions ca", "doc_type":"sqlreference", "kw":"lead,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"lead", "githuburl":"" }, { "uri":"dli_spark_percent_rank.html", "node_id":"dli_spark_percent_rank.xml", "product_code":"dli", "code":"251", "des":"This function is used to return the value of the column specified in the ORDER BY clause of a window, expressed as a decimal between 0 and 1. It is calculated as (the ran", "doc_type":"sqlreference", "kw":"percent_rank,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"percent_rank", "githuburl":"" }, { "uri":"dli_spark_rank.html", "node_id":"dli_spark_rank.xml", "product_code":"dli", "code":"252", "des":"This function is used to return the rank of a value in a set of values. When multiple values share the same rank, the next rank in the sequence is not consecutive.The res", "doc_type":"sqlreference", "kw":"rank,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"rank", "githuburl":"" }, { "uri":"dli_spark_row_number.html", "node_id":"dli_spark_row_number.xml", "product_code":"dli", "code":"253", "des":"This function is used to return the row number, starting from 1 and increasing incrementally.The restrictions on using window functions are as follows:Window functions ca", "doc_type":"sqlreference", "kw":"row_number,Window Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"row_number", "githuburl":"" }, { "uri":"dli_08_0476.html", "node_id":"dli_08_0476.xml", "product_code":"dli", "code":"254", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Other Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Other Functions", "githuburl":"" }, { "uri":"dli_08_0469.html", "node_id":"dli_08_0469.xml", "product_code":"dli", "code":"255", "des":"The following table lists the functions provided by DLI, such as decode1, javahash, and max_pt.", "doc_type":"sqlreference", "kw":"Overview,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_spark_decode1.html", "node_id":"dli_spark_decode1.xml", "product_code":"dli", "code":"256", "des":"This function is used to implement if-then-else branch selection.result and default are return values. These values can be of any data type.If they match, the value of re", "doc_type":"sqlreference", "kw":"decode1,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"decode1", "githuburl":"" }, { "uri":"dli_spark_javahash.html", "node_id":"dli_spark_javahash.xml", "product_code":"dli", "code":"257", "des":"This function is used to return the hash value of a.The return value is of the STRING type.The hash value is returned. If the value of a is null, an error is reported.The", "doc_type":"sqlreference", "kw":"javahash,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"javahash", "githuburl":"" }, { "uri":"dli_spark_max_pt.html", "node_id":"dli_spark_max_pt.xml", "product_code":"dli", "code":"258", "des":"This function is used to return the name of the largest level-1 partition that contains data in a partitioned table and read the data of this partition.The return value i", "doc_type":"sqlreference", "kw":"max_pt,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"max_pt", "githuburl":"" }, { "uri":"dli_spark_ordinal.html", "node_id":"dli_spark_ordinal.xml", "product_code":"dli", "code":"259", "des":"This function is used to sort input variables in ascending order and return the value at the position specified by nth.The return value is of the DOUBLE or DECIMAL type.V", "doc_type":"sqlreference", "kw":"ordinal,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ordinal", "githuburl":"" }, { "uri":"dli_spark_trans_array.html", "node_id":"dli_spark_trans_array.xml", "product_code":"dli", "code":"260", "des":"This function is used to convert an array split by a fixed separator in a column into multiple rows.All columns used as keys must be placed before the columns to be trans", "doc_type":"sqlreference", "kw":"trans_array,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"trans_array", "githuburl":"" }, { "uri":"dli_spark_trunc_numeric.html", "node_id":"dli_spark_trunc_numeric.xml", "product_code":"dli", "code":"261", "des":"This function is used to truncate the number value to a specified decimal place.The return value is of the DOUBLE or DECIMAL type.The return rules are as follows:If the n", "doc_type":"sqlreference", "kw":"trunc_numeric,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"trunc_numeric", "githuburl":"" }, { "uri":"dli_spark_url_decode.html", "node_id":"dli_spark_url_decode.xml", "product_code":"dli", "code":"262", "des":"This function is used to convert a string from the application/x-www-form-urlencoded MIME format to regular characters.The return value is of the STRING type.UTF-8-encode", "doc_type":"sqlreference", "kw":"url_decode,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"url_decode", "githuburl":"" }, { "uri":"dli_spark_url_encode.html", "node_id":"dli_spark_url_encode.xml", "product_code":"dli", "code":"263", "des":"This function is used to encode a string in the application/x-www-form-urlencoded MIME format.url_encode(string [, string ])The return value is of the ST", "doc_type":"sqlreference", "kw":"url_encode,Other Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"url_encode", "githuburl":"" }, { "uri":"dli_08_0150.html", "node_id":"dli_08_0150.xml", "product_code":"dli", "code":"264", "des":"This statement is a basic query statement and is used to return the query results.The table to be queried must already exist, or an error message will be displayed.When s", "doc_type":"sqlreference", "kw":"Basic SELECT Statements,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Basic SELECT Statements", "githuburl":"" }, { "uri":"dli_08_0151.html", "node_id":"dli_08_0151.xml", "product_code":"dli", "code":"265", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Filtering", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Filtering", "githuburl":"" }, { "uri":"dli_08_0152.html", "node_id":"dli_08_0152.xml", "product_code":"dli", "code":"266", "des":"This statement is used to filter the query results using the WHERE clause.All is used to return repeated rows. By default, all repeated rows are returned. It is followed ", "doc_type":"sqlreference", "kw":"WHERE Filtering Clause,Filtering,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"WHERE Filtering Clause", "githuburl":"" }, { "uri":"dli_08_0153.html", "node_id":"dli_08_0153.xml", "product_code":"dli", "code":"267", "des":"This statement is used to filter the query results using the HAVING clause.All is used to return repeated rows. By default, all repeated rows are returned. It is followed", "doc_type":"sqlreference", "kw":"HAVING Filtering Clause,Filtering,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HAVING Filtering Clause", "githuburl":"" }, { "uri":"dli_08_0154.html", "node_id":"dli_08_0154.xml", "product_code":"dli", "code":"268", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Sorting", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Sorting", "githuburl":"" }, { "uri":"dli_08_0155.html", "node_id":"dli_08_0155.xml", "product_code":"dli", "code":"269", "des":"This statement is used to order the result set of a query by the specified field.ASC/DESC: ASC sorts from the lowest value to the highest value. DESC sorts from the highe", "doc_type":"sqlreference", "kw":"ORDER BY,Sorting,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ORDER BY", "githuburl":"" }, { "uri":"dli_08_0156.html", "node_id":"dli_08_0156.xml", "product_code":"dli", "code":"270", "des":"This statement is used to achieve the partial sorting of tables according to fields.ASC/DESC: ASC sorts from the lowest value to the highest value. DESC sorts from the hi", "doc_type":"sqlreference", "kw":"SORT BY,Sorting,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SORT BY", "githuburl":"" }, { "uri":"dli_08_0157.html", "node_id":"dli_08_0157.xml", "product_code":"dli", "code":"271", "des":"This statement is used to bucket a table and sort the table within buckets.CLUSTER BY: Buckets are created based on specified fields. Single fields and multiple fields ar", "doc_type":"sqlreference", "kw":"CLUSTER BY,Sorting,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CLUSTER BY", "githuburl":"" }, { "uri":"dli_08_0158.html", "node_id":"dli_08_0158.xml", "product_code":"dli", "code":"272", "des":"This statement is used to bucket a table according to the field.DISTRIBUTE BY: Buckets are created based on specified fields. A single field or multiple fields are suppor", "doc_type":"sqlreference", "kw":"DISTRIBUTE BY,Sorting,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DISTRIBUTE BY", "githuburl":"" }, { "uri":"dli_08_0159.html", "node_id":"dli_08_0159.xml", "product_code":"dli", "code":"273", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Grouping", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Grouping", "githuburl":"" }, { "uri":"dli_08_0160.html", "node_id":"dli_08_0160.xml", "product_code":"dli", "code":"274", "des":"This statement is used to group a table based on columns.Column-based GROUP BY can be categorized into single-column GROUP BY and multi-column GROUP BY.Single-column GROU", "doc_type":"sqlreference", "kw":"Column-Based GROUP BY,Grouping,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Column-Based GROUP BY", "githuburl":"" }, { "uri":"dli_08_0161.html", "node_id":"dli_08_0161.xml", "product_code":"dli", "code":"275", "des":"This statement is used to group a table according to expressions.The groupby_expression can contain a single field or multiple fields, and also can call aggregate functio", "doc_type":"sqlreference", "kw":"Expression-Based GROUP BY,Grouping,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Expression-Based GROUP BY", "githuburl":"" }, { "uri":"dli_08_0162.html", "node_id":"dli_08_0162.xml", "product_code":"dli", "code":"276", "des":"This statement filters a table after grouping it using the HAVING clause.The groupby_expression can contain a single field or multiple fields, and can also call aggregate", "doc_type":"sqlreference", "kw":"GROUP BY Using HAVING,Grouping,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GROUP BY Using HAVING", "githuburl":"" }, { "uri":"dli_08_0163.html", "node_id":"dli_08_0163.xml", "product_code":"dli", "code":"277", "des":"This statement is used to generate the aggregate row, super-aggregate row, and the total row. The statement can achieve multi-layer statistics from right to left and disp", "doc_type":"sqlreference", "kw":"ROLLUP,Grouping,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ROLLUP", "githuburl":"" }, { "uri":"dli_08_0164.html", "node_id":"dli_08_0164.xml", "product_code":"dli", "code":"278", "des":"This statement is used to generate the cross-table row and achieve the cross-statistics of the GROUP BY field.GROUPING SETS is the expansion of GROUP BY. For example:SELE", "doc_type":"sqlreference", "kw":"GROUPING SETS,Grouping,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GROUPING SETS", "githuburl":"" }, { "uri":"dli_08_0165.html", "node_id":"dli_08_0165.xml", "product_code":"dli", "code":"279", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"JOIN", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JOIN", "githuburl":"" }, { "uri":"dli_08_0166.html", "node_id":"dli_08_0166.xml", "product_code":"dli", "code":"280", "des":"This statement is used to join and return the rows that meet the JOIN conditions from two tables as the result set.JOIN/INNER JOIN: Only the records that meet the JOIN co", "doc_type":"sqlreference", "kw":"INNER JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"INNER JOIN", "githuburl":"" }, { "uri":"dli_08_0167.html", "node_id":"dli_08_0167.xml", "product_code":"dli", "code":"281", "des":"Join the left table with the right table and return all joined records of the left table. If no joined record is found, NULL will be returned.LEFT OUTER JOIN: Returns all", "doc_type":"sqlreference", "kw":"LEFT OUTER JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"LEFT OUTER JOIN", "githuburl":"" }, { "uri":"dli_08_0168.html", "node_id":"dli_08_0168.xml", "product_code":"dli", "code":"282", "des":"Match the right table with the left table and return all matched records of the right table. If no matched record is found, NULL will be returned.RIGHT OUTER JOIN: Return", "doc_type":"sqlreference", "kw":"RIGHT OUTER JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"RIGHT OUTER JOIN", "githuburl":"" }, { "uri":"dli_08_0169.html", "node_id":"dli_08_0169.xml", "product_code":"dli", "code":"283", "des":"Join all records from the right table and the left table and return all joined records. If no joined record is found, NULL will be returned.FULL OUTER JOIN: Matches all r", "doc_type":"sqlreference", "kw":"FULL OUTER JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"FULL OUTER JOIN", "githuburl":"" }, { "uri":"dli_08_0170.html", "node_id":"dli_08_0170.xml", "product_code":"dli", "code":"284", "des":"This statement has the same function as INNER JOIN, that is, the result set that meet the WHERE condition is returned. However, IMPLICIT JOIN does not use the condition s", "doc_type":"sqlreference", "kw":"IMPLICIT JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"IMPLICIT JOIN", "githuburl":"" }, { "uri":"dli_08_0171.html", "node_id":"dli_08_0171.xml", "product_code":"dli", "code":"285", "des":"Cartesian JOIN joins each record of table A with all records in table B. For example, if there are m records in table A and n records in table B, m x n records will be ge", "doc_type":"sqlreference", "kw":"Cartesian JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Cartesian JOIN", "githuburl":"" }, { "uri":"dli_08_0172.html", "node_id":"dli_08_0172.xml", "product_code":"dli", "code":"286", "des":"This statement is used to query the records that meet the JOIN condition from the left table.LEFT SEMI JOIN: Indicates to only return the records from the left table. LEF", "doc_type":"sqlreference", "kw":"LEFT SEMI JOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"LEFT SEMI JOIN", "githuburl":"" }, { "uri":"dli_08_0173.html", "node_id":"dli_08_0173.xml", "product_code":"dli", "code":"287", "des":"This statement is used to join multiple tables using unequal values and return the result set that meet the condition.The non_equi_join_condition is similar to join_condi", "doc_type":"sqlreference", "kw":"NON-EQUIJOIN,JOIN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"NON-EQUIJOIN", "githuburl":"" }, { "uri":"dli_08_0174.html", "node_id":"dli_08_0174.xml", "product_code":"dli", "code":"288", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Subquery", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Subquery", "githuburl":"" }, { "uri":"dli_08_0175.html", "node_id":"dli_08_0175.xml", "product_code":"dli", "code":"289", "des":"Subqueries are nested in the WHERE clause, and the subquery result is used as the filtering condition.All is used to return repeated rows. By default, all repeated rows a", "doc_type":"sqlreference", "kw":"Subquery Nested by WHERE,Subquery,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Subquery Nested by WHERE", "githuburl":"" }, { "uri":"dli_08_0176.html", "node_id":"dli_08_0176.xml", "product_code":"dli", "code":"290", "des":"This statement is used to nest subquery by FROM and use the subquery results as the data source of the external SELECT statement.All is used to return repeated rows. By d", "doc_type":"sqlreference", "kw":"Subquery Nested by FROM,Subquery,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Subquery Nested by FROM", "githuburl":"" }, { "uri":"dli_08_0177.html", "node_id":"dli_08_0177.xml", "product_code":"dli", "code":"291", "des":"This statement is used to embed a subquery in the HAVING clause. The subquery result is used as a part of the HAVING clause.All is used to return repeated rows. By defaul", "doc_type":"sqlreference", "kw":"Subquery Nested by HAVING,Subquery,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Subquery Nested by HAVING", "githuburl":"" }, { "uri":"dli_08_0178.html", "node_id":"dli_08_0178.xml", "product_code":"dli", "code":"292", "des":"This statement is used to nest queries in the subquery.All is used to return repeated rows. By default, all repeated rows are returned. It is followed by asterisks (*) on", "doc_type":"sqlreference", "kw":"Multi-Layer Nested Subquery,Subquery,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Multi-Layer Nested Subquery", "githuburl":"" }, { "uri":"dli_08_0179.html", "node_id":"dli_08_0179.xml", "product_code":"dli", "code":"293", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Alias", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Alias", "githuburl":"" }, { "uri":"dli_08_0180.html", "node_id":"dli_08_0180.xml", "product_code":"dli", "code":"294", "des":"This statement is used to specify an alias for a table or the subquery result.table_reference: Can be a table, view, or subquery.As: Is used to connect to table_reference", "doc_type":"sqlreference", "kw":"AS for Table,Alias,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"AS for Table", "githuburl":"" }, { "uri":"dli_08_0181.html", "node_id":"dli_08_0181.xml", "product_code":"dli", "code":"295", "des":"This statement is used to specify an alias for a column.alias: gives an alias for the attr_expr field.AS: Whether to add AS does not affect the result.The to-be-queried t", "doc_type":"sqlreference", "kw":"AS for Column,Alias,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"AS for Column", "githuburl":"" }, { "uri":"dli_08_0182.html", "node_id":"dli_08_0182.xml", "product_code":"dli", "code":"296", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Set Operations", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Set Operations", "githuburl":"" }, { "uri":"dli_08_0183.html", "node_id":"dli_08_0183.xml", "product_code":"dli", "code":"297", "des":"This statement is used to return the union set of multiple query results.UNION: The set operation is used to join the head and tail of a table based on certain conditions", "doc_type":"sqlreference", "kw":"UNION,Set Operations,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"UNION", "githuburl":"" }, { "uri":"dli_08_0184.html", "node_id":"dli_08_0184.xml", "product_code":"dli", "code":"298", "des":"This statement is used to return the intersection set of multiple query results.INTERSECT returns the intersection of multiple query results. The number of columns return", "doc_type":"sqlreference", "kw":"INTERSECT,Set Operations,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"INTERSECT", "githuburl":"" }, { "uri":"dli_08_0185.html", "node_id":"dli_08_0185.xml", "product_code":"dli", "code":"299", "des":"This statement is used to return the difference set of two query results.EXCEPT minus the sets. A EXCEPT B indicates to remove the records that exist in both A and B from", "doc_type":"sqlreference", "kw":"EXCEPT,Set Operations,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"EXCEPT", "githuburl":"" }, { "uri":"dli_08_0186.html", "node_id":"dli_08_0186.xml", "product_code":"dli", "code":"300", "des":"This statement is used to define the common table expression (CTE) using WITH...AS to simplify the query and make the result easier to read and maintain.cte_name: Name of", "doc_type":"sqlreference", "kw":"WITH...AS,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"WITH...AS", "githuburl":"" }, { "uri":"dli_08_0187.html", "node_id":"dli_08_0187.xml", "product_code":"dli", "code":"301", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"CASE...WHEN", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CASE...WHEN", "githuburl":"" }, { "uri":"dli_08_0188.html", "node_id":"dli_08_0188.xml", "product_code":"dli", "code":"302", "des":"This statement is used to display result_expression according to the joined results of input_expression and when_expression.CASE: Subquery is supported in basic CASE stat", "doc_type":"sqlreference", "kw":"Basic CASE Statement,CASE...WHEN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Basic CASE Statement", "githuburl":"" }, { "uri":"dli_08_0189.html", "node_id":"dli_08_0189.xml", "product_code":"dli", "code":"303", "des":"This statement is used to obtain the value of boolean_expression for each WHEN statement in a specified order. Then return the first result_expression with the value TRUE", "doc_type":"sqlreference", "kw":"CASE Query Statement,CASE...WHEN,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CASE Query Statement", "githuburl":"" }, { "uri":"dli_08_0190.html", "node_id":"dli_08_0190.xml", "product_code":"dli", "code":"304", "des":"This statement is used together with the window function. The OVER statement is used to group data and sort the data within the group. The window function is used to gene", "doc_type":"sqlreference", "kw":"OVER Clause,Spark SQL Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"OVER Clause", "githuburl":"" }, { "uri":"dli_08_15000.html", "node_id":"dli_08_15000.xml", "product_code":"dli", "code":"305", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Flink OpenSource SQL 1.15 Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Flink OpenSource SQL 1.15 Syntax Reference", "githuburl":"" }, { "uri":"dli_08_15001.html", "node_id":"dli_08_15001.xml", "product_code":"dli", "code":"306", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Constraints and Definitions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Constraints and Definitions", "githuburl":"" }, { "uri":"dli_08_15002.html", "node_id":"dli_08_15002.xml", "product_code":"dli", "code":"307", "des":"DLI supports the following data types:CHAR, VARCHAR, STRING, BOOLEAN, BINARY, VARBINARY, BYTES, DECIMAL, TINYINT, SMALLINT, INTEGER, BIGINT, FLOAT, DOUBLE, DATE, TIME, TI", "doc_type":"sqlreference", "kw":"Supported Data Types,Constraints and Definitions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Supported Data Types", "githuburl":"" }, { "uri":"dli_08_15003.html", "node_id":"dli_08_15003.xml", "product_code":"dli", "code":"308", "des":"Certain combinations of strings have been reserved as keywords for future use.If you use any of the following strings as field names, enclose them in backticks when using", "doc_type":"sqlreference", "kw":"Reserved Keywords,Constraints and Definitions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Reserved Keywords", "githuburl":"" }, { "uri":"dli_08_15005.html", "node_id":"dli_08_15005.xml", "product_code":"dli", "code":"309", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Definition Language (DDL)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Data Definition Language (DDL)", "githuburl":"" }, { "uri":"dli_08_15006.html", "node_id":"dli_08_15006.xml", "product_code":"dli", "code":"310", "des":"This statement creates a table using the specified table name. However, if a table with the same name already exists in the catalog, the registration process will fail.CO", "doc_type":"sqlreference", "kw":"CREATE TABLE,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"CREATE TABLE", "githuburl":"" }, { "uri":"dli_08_15007.html", "node_id":"dli_08_15007.xml", "product_code":"dli", "code":"311", "des":"This statement creates a catalog using specified attributes. If a catalog with the same name already exists, an exception is thrown.WITH OPTIONSCatalog attributes typical", "doc_type":"sqlreference", "kw":"CREATE CATALOG,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"CREATE CATALOG", "githuburl":"" }, { "uri":"dli_08_15008.html", "node_id":"dli_08_15008.xml", "product_code":"dli", "code":"312", "des":"This statement creates a database using specified table attributes. If a table with the same name already exists in the database, an exception is thrown.IF NOT EXISTSIf t", "doc_type":"sqlreference", "kw":"CREATE DATABASE,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"CREATE DATABASE", "githuburl":"" }, { "uri":"dli_08_15009.html", "node_id":"dli_08_15009.xml", "product_code":"dli", "code":"313", "des":"This statement creates a view based on the given query statement. If a view with the same name already exists in the database, an exception is thrown.TEMPORARYCreate a te", "doc_type":"sqlreference", "kw":"CREATE VIEW,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"CREATE VIEW", "githuburl":"" }, { "uri":"dli_08_15010.html", "node_id":"dli_08_15010.xml", "product_code":"dli", "code":"314", "des":"To create a catalog function with a catalog and a database namespace, you will need to specify an identifier. You can specify a language tag. You cannot register the func", "doc_type":"sqlreference", "kw":"CREATE FUNCTION,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"CREATE FUNCTION", "githuburl":"" }, { "uri":"dli_08_15011.html", "node_id":"dli_08_15011.xml", "product_code":"dli", "code":"315", "des":"Flink SQL uses a lexical policy for identifier (table, attribute, function names) similar to Java:The case of identifiers is preserved whether they are quoted.Identifiers", "doc_type":"sqlreference", "kw":"Data Manipulation Language (DML),Constraints and Definitions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Data Manipulation Language (DML)", "githuburl":"" }, { "uri":"dli_08_15012.html", "node_id":"dli_08_15012.xml", "product_code":"dli", "code":"316", "des":"This section describes the Flink OpenSource SQL 1.15 syntax supported by DLI. For details about the parameters and examples, see the syntax description.", "doc_type":"sqlreference", "kw":"Overview,Flink OpenSource SQL 1.15 Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_15108.html", "node_id":"dli_08_15108.xml", "product_code":"dli", "code":"317", "des":"When switching from Flink 1.12 to Flink 1.15 for job execution, keep in mind the following considerations when utilizing Flink OpenSource SQL 1.15:Flink SQL utilizes a SQ", "doc_type":"sqlreference", "kw":"Flink OpenSource SQL 1.15 Usage,Flink OpenSource SQL 1.15 Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Flink OpenSource SQL 1.15 Usage", "githuburl":"" }, { "uri":"dli_08_15014.html", "node_id":"dli_08_15014.xml", "product_code":"dli", "code":"318", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Formats", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Formats", "githuburl":"" }, { "uri":"dli_08_15015.html", "node_id":"dli_08_15015.xml", "product_code":"dli", "code":"319", "des":"Flink provides a set of table formats that can be used with table connectors.A table format is a storage format that defines how to map binary data onto table columns.", "doc_type":"sqlreference", "kw":"Overview,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_15016.html", "node_id":"dli_08_15016.xml", "product_code":"dli", "code":"320", "des":"Apache Avro is supported for you to read and write Avro data based on an Avro schema with Flink. The Avro schema is derived from the table schema.For details, see Avro Fo", "doc_type":"sqlreference", "kw":"Avro,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Avro", "githuburl":"" }, { "uri":"dli_08_15017.html", "node_id":"dli_08_15017.xml", "product_code":"dli", "code":"321", "des":"Canal is a Changelog Data Capture (CDC) tool that can stream changes in real-time from MySQL into other systems. Canal provides a unified format schema for changelog and ", "doc_type":"sqlreference", "kw":"Canal,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Canal", "githuburl":"" }, { "uri":"dli_08_15018.html", "node_id":"dli_08_15018.xml", "product_code":"dli", "code":"322", "des":"The Avro Schema Registry (avro-confluent) format allows you to read records that were serialized by the io.confluent.kafka.serializers.KafkaAvroSerializer and to write re", "doc_type":"sqlreference", "kw":"Confluent Avro,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Confluent Avro", "githuburl":"" }, { "uri":"dli_08_15019.html", "node_id":"dli_08_15019.xml", "product_code":"dli", "code":"323", "des":"The CSV format allows you to read and write CSV data based on a CSV schema. Currently, the CSV schema is derived from table schema. For details, see CSV Format.KafkaUpser", "doc_type":"sqlreference", "kw":"CSV,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"CSV", "githuburl":"" }, { "uri":"dli_08_15020.html", "node_id":"dli_08_15020.xml", "product_code":"dli", "code":"324", "des":"Debezium is a Changelog Data Capture (CDC) tool that can stream changes in real-time from other databases into Kafka. Debezium provides a unified format schema for change", "doc_type":"sqlreference", "kw":"Debezium,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Debezium", "githuburl":"" }, { "uri":"dli_08_15021.html", "node_id":"dli_08_15021.xml", "product_code":"dli", "code":"325", "des":"The JSON format allows you to read and write JSON data based on a JSON schema. Currently, the JSON schema is derived from table schema. For details, see JSON Format.Kafka", "doc_type":"sqlreference", "kw":"JSON,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"JSON", "githuburl":"" }, { "uri":"dli_08_15022.html", "node_id":"dli_08_15022.xml", "product_code":"dli", "code":"326", "des":"Maxwell is a Changelog Data Capture (CDC) tool that can stream changes in real-time from MySQL into Kafka and other streaming connectors. Maxwell provides a unified forma", "doc_type":"sqlreference", "kw":"Maxwell,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Maxwell", "githuburl":"" }, { "uri":"dli_08_15023.html", "node_id":"dli_08_15023.xml", "product_code":"dli", "code":"327", "des":"Oracle GoldenGate (a.k.a ogg) is a comprehensive software package for real-time data capture and replication in heterogeneous IT environments. The product set enables hig", "doc_type":"sqlreference", "kw":"Ogg,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Ogg", "githuburl":"" }, { "uri":"dli_08_15024.html", "node_id":"dli_08_15024.xml", "product_code":"dli", "code":"328", "des":"The Apache ORC format allows to read and write ORC data. For details, see ORC Format.FileSystemORC format also supports table properties from Table properties. For exampl", "doc_type":"sqlreference", "kw":"ORC,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"ORC", "githuburl":"" }, { "uri":"dli_08_15025.html", "node_id":"dli_08_15025.xml", "product_code":"dli", "code":"329", "des":"The Apache Parquet format allows to read and write Parquet data. For details, see Parquet Format.FileSystemCurrently, Parquet format type mapping is compatible with Apach", "doc_type":"sqlreference", "kw":"Parquet,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Parquet", "githuburl":"" }, { "uri":"dli_08_15026.html", "node_id":"dli_08_15026.xml", "product_code":"dli", "code":"330", "des":"The Raw format allows to read and write raw (byte based) values as a single column.This format encodes null values as null of byte[] type. This may have limitation when u", "doc_type":"sqlreference", "kw":"Raw,Formats,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Raw", "githuburl":"" }, { "uri":"dli_08_15027.html", "node_id":"dli_08_15027.xml", "product_code":"dli", "code":"331", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Connectors", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Connectors", "githuburl":"" }, { "uri":"dli_08_15028.html", "node_id":"dli_08_15028.xml", "product_code":"dli", "code":"332", "des":"Source table: A source table is the data input table for Flink jobs, such as real-time streaming data input from Kafka, etc.Dimension Table: An auxiliary table for the da", "doc_type":"sqlreference", "kw":"Overview,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_15029.html", "node_id":"dli_08_15029.xml", "product_code":"dli", "code":"333", "des":"The BlackHole connector allows for swallowing all input records. It is designed for high-performance testing and UDF output. It is not a substantive sink. The BlackHole r", "doc_type":"sqlreference", "kw":"BlackHole,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"BlackHole", "githuburl":"" }, { "uri":"dli_08_15030.html", "node_id":"dli_08_15030.xml", "product_code":"dli", "code":"334", "des":"DLI has the capability to export data from Flink jobs to the ClickHouse database. However, it only supports exporting data to result tables.ClickHouse is a column-based d", "doc_type":"sqlreference", "kw":"ClickHouse,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"ClickHouse", "githuburl":"" }, { "uri":"dli_08_15031.html", "node_id":"dli_08_15031.xml", "product_code":"dli", "code":"335", "des":"DataGen is used to generate random data for debugging and testing.When you create a DataGen table, the table field type cannot be Array, Map, or Row. You can use COMPUTED", "doc_type":"sqlreference", "kw":"DataGen,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"DataGen", "githuburl":"" }, { "uri":"dli_08_15032.html", "node_id":"dli_08_15032.xml", "product_code":"dli", "code":"336", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Doris", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Doris", "githuburl":"" }, { "uri":"dli_08_15033.html", "node_id":"dli_08_15033.xml", "product_code":"dli", "code":"337", "des":"The Flink Doris Connector can support operations (read, insert, modify, delete) data stored in Doris through Flink. For details, see Flink Doris Connector.Only tables in ", "doc_type":"sqlreference", "kw":"Overview,Doris,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_15034.html", "node_id":"dli_08_15034.xml", "product_code":"dli", "code":"338", "des":"Flink SQL jobs read from the Doris source table.An enhanced datasource connection has been created for DLI to connect to Doris, so that jobs can run on the dedicated queu", "doc_type":"sqlreference", "kw":"Source Table,Doris,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Source Table", "githuburl":"" }, { "uri":"dli_08_15035.html", "node_id":"dli_08_15035.xml", "product_code":"dli", "code":"339", "des":"Flink SQL jobs write to the Doris result table.An enhanced datasource connection has been created for DLI to connect to Doris, so that jobs can run on the dedicated queue", "doc_type":"sqlreference", "kw":"Result Table,Doris,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Result Table", "githuburl":"" }, { "uri":"dli_08_15036.html", "node_id":"dli_08_15036.xml", "product_code":"dli", "code":"340", "des":"Create a Doris dimension table to connect to the source streams for wide table generation.An enhanced datasource connection has been created for DLI to connect to HBase, ", "doc_type":"sqlreference", "kw":"Dimension Table,Doris,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Dimension Table", "githuburl":"" }, { "uri":"dli_08_15103.html", "node_id":"dli_08_15103.xml", "product_code":"dli", "code":"341", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"GaussDB(DWS)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"GaussDB(DWS)", "githuburl":"" }, { "uri":"dli_08_15037.html", "node_id":"dli_08_15037.xml", "product_code":"dli", "code":"342", "des":"GaussDB(DWS) is an online data processing database based on the cloud infrastructure and platform and helps you mine and analyze massive sets of data. DLI reads data of F", "doc_type":"sqlreference", "kw":"Overview,GaussDB(DWS),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_15104.html", "node_id":"dli_08_15104.xml", "product_code":"dli", "code":"343", "des":"DLI reads data of Flink jobs from GaussDB(DWS). GaussDB(DWS) database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more complex types an", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Source Table (Not Recommended),GaussDB(DWS),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"GaussDB(DWS) Source Table (Not Recommended)", "githuburl":"" }, { "uri":"dli_08_15105.html", "node_id":"dli_08_15105.xml", "product_code":"dli", "code":"344", "des":"DLI outputs the Flink job output data to GaussDB(DWS). GaussDB(DWS) database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more complex t", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Result Table (Not Recommended),GaussDB(DWS),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"GaussDB(DWS) Result Table (Not Recommended)", "githuburl":"" }, { "uri":"dli_08_15106.html", "node_id":"dli_08_15106.xml", "product_code":"dli", "code":"345", "des":"Create a GaussDB(DWS) table to connect to source streams for wide table generation.You are advised to use GaussDB(DWS) self-developed GaussDB(DWS) connector.Ensure that y", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Dimension Table (Not Recommended),GaussDB(DWS),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"GaussDB(DWS) Dimension Table (Not Recommended)", "githuburl":"" }, { "uri":"dli_08_15038.html", "node_id":"dli_08_15038.xml", "product_code":"dli", "code":"346", "des":"DLI outputs the output data of the Flink job to an index in the Elasticsearch engine of the Cloud Search Service (CSS).Elasticsearch is a popular enterprise-class Lucene-", "doc_type":"sqlreference", "kw":"Elasticsearch,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Elasticsearch", "githuburl":"" }, { "uri":"dli_08_15039.html", "node_id":"dli_08_15039.xml", "product_code":"dli", "code":"347", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"OBS", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"OBS", "githuburl":"" }, { "uri":"dli_08_15040.html", "node_id":"dli_08_15040.xml", "product_code":"dli", "code":"348", "des":"The file system connector can be used to read single files or entire directories into a single table.When using a directory as the source path, there is no defined order ", "doc_type":"sqlreference", "kw":"OBS Source Table,OBS,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"OBS Source Table", "githuburl":"" }, { "uri":"dli_08_15041.html", "node_id":"dli_08_15041.xml", "product_code":"dli", "code":"349", "des":"The FileSystem result (sink) table is used to export data to the HDFS or OBS file system. It is applicable to scenarios such as data dumping, big data analysis, data back", "doc_type":"sqlreference", "kw":"OBS Result Table,OBS,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"OBS Result Table", "githuburl":"" }, { "uri":"dli_08_15042.html", "node_id":"dli_08_15042.xml", "product_code":"dli", "code":"350", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"HBase", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"HBase", "githuburl":"" }, { "uri":"dli_08_15043.html", "node_id":"dli_08_15043.xml", "product_code":"dli", "code":"351", "des":"Create a source stream to obtain data from HBase as input for jobs. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excell", "doc_type":"sqlreference", "kw":"Source Table,HBase,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Source Table", "githuburl":"" }, { "uri":"dli_08_15044.html", "node_id":"dli_08_15044.xml", "product_code":"dli", "code":"352", "des":"DLI outputs the job data to HBase. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excellent performance, and elastic scal", "doc_type":"sqlreference", "kw":"HBase Result Table,HBase,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"HBase Result Table", "githuburl":"" }, { "uri":"dli_08_15045.html", "node_id":"dli_08_15045.xml", "product_code":"dli", "code":"353", "des":"Create an HBase dimension table to connect to the source streams for wide table generation.An enhanced datasource connection has been created for DLI to connect to HBase,", "doc_type":"sqlreference", "kw":"Dimension Table,HBase,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Dimension Table", "githuburl":"" }, { "uri":"dli_08_15046.html", "node_id":"dli_08_15046.xml", "product_code":"dli", "code":"354", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Hive", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Hive", "githuburl":"" }, { "uri":"dli_08_15047.html", "node_id":"dli_08_15047.xml", "product_code":"dli", "code":"355", "des":"Catalogs provide metadata, such as databases, tables, partitions, views, and functions and information needed to access data stored in a database or other external system", "doc_type":"sqlreference", "kw":"Creating a Hive Catalog,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Creating a Hive Catalog", "githuburl":"" }, { "uri":"dli_08_15048.html", "node_id":"dli_08_15048.xml", "product_code":"dli", "code":"356", "des":"Starting from 1.11.0, Flink allows users to write SQL statements in Hive syntax when Hive dialect is used. By providing compatibility with Hive syntax, we aim to improve ", "doc_type":"sqlreference", "kw":"Hive Dialect,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Hive Dialect", "githuburl":"" }, { "uri":"dli_08_15049.html", "node_id":"dli_08_15049.xml", "product_code":"dli", "code":"357", "des":"Apache Hive has established itself as a focal point of the data warehousing ecosystem. It serves as not only a SQL engine for big data analytics and ETL, but also a data ", "doc_type":"sqlreference", "kw":"Hive Source Table,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Hive Source Table", "githuburl":"" }, { "uri":"dli_08_15050.html", "node_id":"dli_08_15050.xml", "product_code":"dli", "code":"358", "des":"This section describes how to use Flink to write Hive tables, the definition of the Hive result table, parameters used for creating the result table, and sample code. For", "doc_type":"sqlreference", "kw":"Result Table,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Result Table", "githuburl":"" }, { "uri":"dli_08_15051.html", "node_id":"dli_08_15051.xml", "product_code":"dli", "code":"359", "des":"You can use Hive tables as temporal tables and associate them through temporal joins. For more information on temporal joins, refer to temporal join.Flink supports proces", "doc_type":"sqlreference", "kw":"Hive Dimension Table,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Hive Dimension Table", "githuburl":"" }, { "uri":"dli_08_15052.html", "node_id":"dli_08_15052.xml", "product_code":"dli", "code":"360", "des":"For partitioned tables that change over time, we can read them as unbounded streams. If each partition contains a complete set of data for a certain version, the partitio", "doc_type":"sqlreference", "kw":"Using Temporal Join to Associate the Latest Partition of a Dimension Table,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Using Temporal Join to Associate the Latest Partition of a Dimension Table", "githuburl":"" }, { "uri":"dli_08_15053.html", "node_id":"dli_08_15053.xml", "product_code":"dli", "code":"361", "des":"For Hive tables, we can read them as bounded streams. In this case, the Hive table can only track its latest version when queried. The latest version of the table retains", "doc_type":"sqlreference", "kw":"Using Temporal Join to Associate the Latest Version of a Dimension Table,Hive,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Using Temporal Join to Associate the Latest Version of a Dimension Table", "githuburl":"" }, { "uri":"dli_08_15057.html", "node_id":"dli_08_15057.xml", "product_code":"dli", "code":"362", "des":"The JDBC connector is provided by Apache Flink and can be used to read data from and write data to common databases, such as MySQL and PostgreSQL. Source tables, result t", "doc_type":"sqlreference", "kw":"JDBC,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"JDBC", "githuburl":"" }, { "uri":"dli_08_15058.html", "node_id":"dli_08_15058.xml", "product_code":"dli", "code":"363", "des":"The Kafka connector allows for reading data from and writing data into Kafka topics.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing an", "doc_type":"sqlreference", "kw":"Kafka,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Kafka", "githuburl":"" }, { "uri":"dli_08_15059.html", "node_id":"dli_08_15059.xml", "product_code":"dli", "code":"364", "des":"The MySQL CDC source table, that is, the MySQL streaming source table, reads all historical data in the database first and then smoothly switches data read to the Binlog ", "doc_type":"sqlreference", "kw":"MySQL CDC,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"MySQL CDC", "githuburl":"" }, { "uri":"dli_08_15060.html", "node_id":"dli_08_15060.xml", "product_code":"dli", "code":"365", "des":"The Print connector is used to print output data to the error file or out file in the TaskManager, making it easier for you to view the result in code debugging.NoneThe P", "doc_type":"sqlreference", "kw":"Print,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Print", "githuburl":"" }, { "uri":"dli_08_15061.html", "node_id":"dli_08_15061.xml", "product_code":"dli", "code":"366", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Redis", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Redis", "githuburl":"" }, { "uri":"dli_08_15062.html", "node_id":"dli_08_15062.xml", "product_code":"dli", "code":"367", "des":"Create a source stream to obtain data from Redis as input for jobs.An enhanced datasource connection has been created for DLI to connect to the Redis database, so that yo", "doc_type":"sqlreference", "kw":"Source Table,Redis,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Source Table", "githuburl":"" }, { "uri":"dli_08_15063.html", "node_id":"dli_08_15063.xml", "product_code":"dli", "code":"368", "des":"DLI outputs the Flink job output data to Redis. Redis is a key-value storage system that supports multiple types of data structures. It can be used in scenarios such as c", "doc_type":"sqlreference", "kw":"Result Table,Redis,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Result Table", "githuburl":"" }, { "uri":"dli_08_15064.html", "node_id":"dli_08_15064.xml", "product_code":"dli", "code":"369", "des":"Create a Redis table to connect to source streams for wide table generation.An enhanced datasource connection with Redis has been established, so that you can configure s", "doc_type":"sqlreference", "kw":"Dimension Table,Redis,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Dimension Table", "githuburl":"" }, { "uri":"dli_08_15065.html", "node_id":"dli_08_15065.xml", "product_code":"dli", "code":"370", "des":"Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription system. It delivers high throughput and built-in partitions and provi", "doc_type":"sqlreference", "kw":"Upsert Kafka,Connectors,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Upsert Kafka", "githuburl":"" }, { "uri":"dli_08_15066.html", "node_id":"dli_08_15066.xml", "product_code":"dli", "code":"371", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"DML Snytax", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"DML Snytax", "githuburl":"" }, { "uri":"dli_08_15067.html", "node_id":"dli_08_15067.xml", "product_code":"dli", "code":"372", "des":"SyntaxDescriptionSELECT is used to select data from a table.ALL indicates that all results are returned.DISTINCT indicates that the duplicated results are removed.Precaut", "doc_type":"sqlreference", "kw":"SELECT,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"SELECT", "githuburl":"" }, { "uri":"dli_08_15107.html", "node_id":"dli_08_15107.xml", "product_code":"dli", "code":"373", "des":"This section describes how to use the INSERT INTO statement to write job results to a sink table.SyntaxINSERT INTO your_sink\n SELECT ... FROM your_source WHERE ...Exampl", "doc_type":"sqlreference", "kw":"INSERT INTO,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"INSERT INTO", "githuburl":"" }, { "uri":"dli_08_15068.html", "node_id":"dli_08_15068.xml", "product_code":"dli", "code":"374", "des":"SyntaxDescriptionUNION is used to return the union set of multiple query results.INTERSECT is used to return the intersection of multiple query results.EXCEPT is used to ", "doc_type":"sqlreference", "kw":"Set Operations,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Set Operations", "githuburl":"" }, { "uri":"dli_08_15069.html", "node_id":"dli_08_15069.xml", "product_code":"dli", "code":"375", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Window", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Window", "githuburl":"" }, { "uri":"dli_08_15070.html", "node_id":"dli_08_15070.xml", "product_code":"dli", "code":"376", "des":"Windows are at the heart of processing infinite streams. Windows split the stream into \"buckets\" of finite size, over which we can apply computations.Apache Flink provide", "doc_type":"sqlreference", "kw":"Window Functions,Window,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Window Functions", "githuburl":"" }, { "uri":"dli_08_15071.html", "node_id":"dli_08_15071.xml", "product_code":"dli", "code":"377", "des":"Window aggregations are defined in the GROUP BY clause contains \"window_start\" and \"window_end\" columns of the relation applied Windowing TVF. Just like queries with regu", "doc_type":"sqlreference", "kw":"Window Aggregation,Window,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Window Aggregation", "githuburl":"" }, { "uri":"dli_08_15072.html", "node_id":"dli_08_15072.xml", "product_code":"dli", "code":"378", "des":"Window Top-N is a special Top-N which returns the N smallest or largest values for each window and other partitioned keys.Unlike regular Top-N on continuous tables, windo", "doc_type":"sqlreference", "kw":"Window Top-N,Window,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Window Top-N", "githuburl":"" }, { "uri":"dli_08_15073.html", "node_id":"dli_08_15073.xml", "product_code":"dli", "code":"379", "des":"Window Deduplication is a special Deduplication which removes rows that duplicate over a set of columns, keeping the first one or the last one for each window and partiti", "doc_type":"sqlreference", "kw":"Window Deduplication,Window,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Window Deduplication", "githuburl":"" }, { "uri":"dli_08_15074.html", "node_id":"dli_08_15074.xml", "product_code":"dli", "code":"380", "des":"A window join adds the dimension of time into the join criteria themselves. By doing so, the window join joins the elements of two streams that share a common key and are", "doc_type":"sqlreference", "kw":"Window Join,Window,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Window Join", "githuburl":"" }, { "uri":"dli_08_15075.html", "node_id":"dli_08_15075.xml", "product_code":"dli", "code":"381", "des":"An aggregate function computes a single result from multiple input rows. For example, there are aggregates to compute the COUNT, SUM, AVG (average), MAX (maximum) and MIN", "doc_type":"sqlreference", "kw":"Group Aggregation,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Group Aggregation", "githuburl":"" }, { "uri":"dli_08_15076.html", "node_id":"dli_08_15076.xml", "product_code":"dli", "code":"382", "des":"OVER aggregates compute an aggregated value for every input row over a range of ordered rows. In contrast to GROUP BY aggregates, OVER aggregates do not reduce the number", "doc_type":"sqlreference", "kw":"Over Aggregation,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Over Aggregation", "githuburl":"" }, { "uri":"dli_08_15077.html", "node_id":"dli_08_15077.xml", "product_code":"dli", "code":"383", "des":"SyntaxPrecautionsCurrently, only equi-joins are supported, for example, joins that have at least one conjunctive condition with an equality predicate. Arbitrary cross or ", "doc_type":"sqlreference", "kw":"JOIN,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"JOIN", "githuburl":"" }, { "uri":"dli_08_15078.html", "node_id":"dli_08_15078.xml", "product_code":"dli", "code":"384", "des":"FunctionThis clause is used to sort data in ascending order on a time attribute.PrecautionsCurrently, only sorting by time attribute is supported.ExampleSort data in asce", "doc_type":"sqlreference", "kw":"OrderBy & Limit,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"OrderBy & Limit", "githuburl":"" }, { "uri":"dli_08_15079.html", "node_id":"dli_08_15079.xml", "product_code":"dli", "code":"385", "des":"Top-N queries ask for the N smallest or largest values ordered by columns. Both smallest and largest values sets are considered Top-N queries. Top-N queries are useful in", "doc_type":"sqlreference", "kw":"Top-N,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Top-N", "githuburl":"" }, { "uri":"dli_08_15080.html", "node_id":"dli_08_15080.xml", "product_code":"dli", "code":"386", "des":"Deduplication removes rows that duplicate over a set of columns, keeping only the first one or the last one.ROW_NUMBER(): Assigns a unique, sequential number to each row,", "doc_type":"sqlreference", "kw":"Deduplication,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Deduplication", "githuburl":"" }, { "uri":"dli_08_15081.html", "node_id":"dli_08_15081.xml", "product_code":"dli", "code":"387", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Functions", "githuburl":"" }, { "uri":"dli_08_15082.html", "node_id":"dli_08_15082.xml", "product_code":"dli", "code":"388", "des":"DLI supports the following three types of user-defined functions (UDFs):Regular UDF: takes in one or more input parameters and returns a single result.User-defined table-", "doc_type":"sqlreference", "kw":"UDFs,Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"UDFs", "githuburl":"" }, { "uri":"dli_08_15083.html", "node_id":"dli_08_15083.xml", "product_code":"dli", "code":"389", "des":"Type inference summarizes the logic for validating input arguments and deriving data types for both the parameters and the result of a function. From a logical perspectiv", "doc_type":"sqlreference", "kw":"Type Inference,Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Type Inference", "githuburl":"" }, { "uri":"dli_08_15084.html", "node_id":"dli_08_15084.xml", "product_code":"dli", "code":"390", "des":"A UDF can be used in many jobs, and some parameter values vary with jobs. To easily modify the parameter values, you can set pipeline.global-job-parameters in the Runtime", "doc_type":"sqlreference", "kw":"Parameter Transfer,Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Parameter Transfer", "githuburl":"" }, { "uri":"dli_08_15085.html", "node_id":"dli_08_15085.xml", "product_code":"dli", "code":"391", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Built-In Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Built-In Functions", "githuburl":"" }, { "uri":"dli_08_15086.html", "node_id":"dli_08_15086.xml", "product_code":"dli", "code":"392", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Comparison Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Comparison Functions", "githuburl":"" }, { "uri":"dli_08_15087.html", "node_id":"dli_08_15087.xml", "product_code":"dli", "code":"393", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Logical Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Logical Functions", "githuburl":"" }, { "uri":"dli_08_15088.html", "node_id":"dli_08_15088.xml", "product_code":"dli", "code":"394", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Arithmetic Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Arithmetic Functions", "githuburl":"" }, { "uri":"dli_08_15089.html", "node_id":"dli_08_15089.xml", "product_code":"dli", "code":"395", "des":"DLI offers a wide range of string functions for processing and transforming string data. These functions include concatenation, case conversion, substring extraction, rep", "doc_type":"sqlreference", "kw":"String Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"String Functions", "githuburl":"" }, { "uri":"dli_08_15090.html", "node_id":"dli_08_15090.xml", "product_code":"dli", "code":"396", "des":"Table 1 lists the time functions supported by Flink OpenSource SQL.FunctionReturns a SQL date parsed from string in form of yyyy-MM-dd.Returns a SQL date parsed from stri", "doc_type":"sqlreference", "kw":"Temporal Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Temporal Functions", "githuburl":"" }, { "uri":"dli_08_15091.html", "node_id":"dli_08_15091.xml", "product_code":"dli", "code":"397", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Conditional Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Conditional Functions", "githuburl":"" }, { "uri":"dli_08_15092.html", "node_id":"dli_08_15092.xml", "product_code":"dli", "code":"398", "des":"This syntax is used to forcibly convert types.If the input is NULL, NULL is returned.The following example converts the amount value to an integer.Flink jobs do not suppo", "doc_type":"sqlreference", "kw":"Type Conversion Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Type Conversion Functions", "githuburl":"" }, { "uri":"dli_08_15093.html", "node_id":"dli_08_15093.xml", "product_code":"dli", "code":"399", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Collection Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Collection Functions", "githuburl":"" }, { "uri":"dli_08_15094.html", "node_id":"dli_08_15094.xml", "product_code":"dli", "code":"400", "des":"JSON functions use JSON path expressions described in the SQL standard ISO/IEC TR 19075-6. Their syntax is inspired by ECMAScript and adopts many of its features, but is ", "doc_type":"sqlreference", "kw":"JSON Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"JSON Functions", "githuburl":"" }, { "uri":"dli_08_15095.html", "node_id":"dli_08_15095.xml", "product_code":"dli", "code":"401", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Value Construction Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Value Construction Functions", "githuburl":"" }, { "uri":"dli_08_15096.html", "node_id":"dli_08_15096.xml", "product_code":"dli", "code":"402", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Value Retrieval Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Value Retrieval Functions", "githuburl":"" }, { "uri":"dli_08_15097.html", "node_id":"dli_08_15097.xml", "product_code":"dli", "code":"403", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Grouping Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Grouping Functions", "githuburl":"" }, { "uri":"dli_08_15098.html", "node_id":"dli_08_15098.xml", "product_code":"dli", "code":"404", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Hash Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Hash Functions", "githuburl":"" }, { "uri":"dli_08_15099.html", "node_id":"dli_08_15099.xml", "product_code":"dli", "code":"405", "des":"Aggregate functions process all rows as input and produce a single aggregate value as the output.", "doc_type":"sqlreference", "kw":"Aggregate Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Aggregate Functions", "githuburl":"" }, { "uri":"dli_08_15101.html", "node_id":"dli_08_15101.xml", "product_code":"dli", "code":"406", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Table-Valued Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"Table-Valued Functions", "githuburl":"" }, { "uri":"dli_08_15102.html", "node_id":"dli_08_15102.xml", "product_code":"dli", "code":"407", "des":"The string_split function splits a target string into substrings based on the specified separator and returns a substring list.Create a Flink OpenSource SQL job by referr", "doc_type":"sqlreference", "kw":"string_split,Table-Valued Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference" } ], "title":"string_split", "githuburl":"" }, { "uri":"dli_08_0370.html", "node_id":"dli_08_0370.xml", "product_code":"dli", "code":"408", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Flink OpenSource SQL 1.12 Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Flink OpenSource SQL 1.12 Syntax Reference", "githuburl":"" }, { "uri":"dli_08_0371.html", "node_id":"dli_08_0371.xml", "product_code":"dli", "code":"409", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Constraints and Definitions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Constraints and Definitions", "githuburl":"" }, { "uri":"dli_08_0372.html", "node_id":"dli_08_0372.xml", "product_code":"dli", "code":"410", "des":"The DLI SQL syntax supports the following data types:STRING, BOOLEAN, BYTES, DECIMAL, TINYINT, SMALLINT, INTEGER, BIGINT, FLOAT, DOUBLE, DATE, TIME, TIMESTAMP, TIMESTAMP ", "doc_type":"sqlreference", "kw":"Supported Data Types,Constraints and Definitions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Supported Data Types", "githuburl":"" }, { "uri":"dli_08_0373.html", "node_id":"dli_08_0373.xml", "product_code":"dli", "code":"411", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Syntax", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Syntax", "githuburl":"" }, { "uri":"dli_08_0374.html", "node_id":"dli_08_0374.xml", "product_code":"dli", "code":"412", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Definition Language (DDL)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Definition Language (DDL)", "githuburl":"" }, { "uri":"dli_08_0375.html", "node_id":"dli_08_0375.xml", "product_code":"dli", "code":"413", "des":"Create a table with a specified name.COMPUTED COLUMNA computed column is a virtual column generated using column_name AS computed_column_expression. A computed column eva", "doc_type":"sqlreference", "kw":"CREATE TABLE,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CREATE TABLE", "githuburl":"" }, { "uri":"dli_08_0376.html", "node_id":"dli_08_0376.xml", "product_code":"dli", "code":"414", "des":"Create a view with multiple layers nested in it to simplify the development process.IF NOT EXISTSIf the view already exists, nothing happens.Create a view named viewName.", "doc_type":"sqlreference", "kw":"CREATE VIEW,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CREATE VIEW", "githuburl":"" }, { "uri":"dli_08_0377.html", "node_id":"dli_08_0377.xml", "product_code":"dli", "code":"415", "des":"Create a user-defined function.For details about how to create a user-defined function, see User-Defined Functions (UDFs).IF NOT EXISTSIf the function already exists, not", "doc_type":"sqlreference", "kw":"CREATE FUNCTION,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CREATE FUNCTION", "githuburl":"" }, { "uri":"dli_08_0378.html", "node_id":"dli_08_0378.xml", "product_code":"dli", "code":"416", "des":"SyntaxPrecautionsFlink SQL uses a lexical policy for identifier (table, attribute, function names) similar to Java:The case of identifiers is preserved whether they are q", "doc_type":"sqlreference", "kw":"Data Manipulation Language (DML),Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Manipulation Language (DML)", "githuburl":"" }, { "uri":"dli_08_0379.html", "node_id":"dli_08_0379.xml", "product_code":"dli", "code":"417", "des":"This section describes the Flink open source SQL 1.12 syntax supported by DLI. For details about the parameters and examples, see the syntax description.", "doc_type":"sqlreference", "kw":"Overview,Flink OpenSource SQL 1.12 Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Overview", "githuburl":"" }, { "uri":"dli_08_0380.html", "node_id":"dli_08_0380.xml", "product_code":"dli", "code":"418", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"DDL Syntax", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DDL Syntax", "githuburl":"" }, { "uri":"dli_08_0381.html", "node_id":"dli_08_0381.xml", "product_code":"dli", "code":"419", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating Source Tables", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating Source Tables", "githuburl":"" }, { "uri":"dli_08_0382.html", "node_id":"dli_08_0382.xml", "product_code":"dli", "code":"420", "des":"DataGen is used to generate random data for debugging and testing.NoneWhen you create a DataGen table, the table field type cannot be Array, Map, or Row. You can use COMP", "doc_type":"sqlreference", "kw":"DataGen Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DataGen Source Table", "githuburl":"" }, { "uri":"dli_08_0383.html", "node_id":"dli_08_0383.xml", "product_code":"dli", "code":"421", "des":"DLI reads data of Flink jobs from GaussDB(DWS). GaussDB(DWS) database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more complex types an", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GaussDB(DWS) Source Table", "githuburl":"" }, { "uri":"dli_08_0384.html", "node_id":"dli_08_0384.xml", "product_code":"dli", "code":"422", "des":"Create a source stream to obtain data from HBase as input for jobs. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excell", "doc_type":"sqlreference", "kw":"HBase Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HBase Source Table", "githuburl":"" }, { "uri":"dli_08_0385.html", "node_id":"dli_08_0385.xml", "product_code":"dli", "code":"423", "des":"The JDBC connector is a Flink's built-in connector to read data from a database.An enhanced datasource connection with the instances has been established, so that you can", "doc_type":"sqlreference", "kw":"JDBC Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JDBC Source Table", "githuburl":"" }, { "uri":"dli_08_0386.html", "node_id":"dli_08_0386.xml", "product_code":"dli", "code":"424", "des":"Create a source stream to obtain data from Kafka as input data for jobs.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscripti", "doc_type":"sqlreference", "kw":"Kafka Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Kafka Source Table", "githuburl":"" }, { "uri":"dli_08_0387.html", "node_id":"dli_08_0387.xml", "product_code":"dli", "code":"425", "des":"The MySQL CDC source table, that is, the MySQL streaming source table, reads all historical data in the database first and then smoothly switches data read to the Binlog ", "doc_type":"sqlreference", "kw":"MySQL CDC Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"MySQL CDC Source Table", "githuburl":"" }, { "uri":"dli_08_0388.html", "node_id":"dli_08_0388.xml", "product_code":"dli", "code":"426", "des":"The Postgres CDC source table, that is, Postgres streaming source table, is used to read the full snapshot data and changed data of the PostgreSQL database in sequence. T", "doc_type":"sqlreference", "kw":"Postgres CDC Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Postgres CDC Source Table", "githuburl":"" }, { "uri":"dli_08_0389.html", "node_id":"dli_08_0389.xml", "product_code":"dli", "code":"427", "des":"Create a source stream to obtain data from Redis as input for jobs.An enhanced datasource connection has been created for DLI to connect to the Redis database, so that yo", "doc_type":"sqlreference", "kw":"Redis Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Redis Source Table", "githuburl":"" }, { "uri":"dli_08_0390.html", "node_id":"dli_08_0390.xml", "product_code":"dli", "code":"428", "des":"Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription system. It delivers high throughput and built-in partitions and provi", "doc_type":"sqlreference", "kw":"Upsert Kafka Source Table,Creating Source Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Upsert Kafka Source Table", "githuburl":"" }, { "uri":"dli_08_0391.html", "node_id":"dli_08_0391.xml", "product_code":"dli", "code":"429", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating Result Tables", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating Result Tables", "githuburl":"" }, { "uri":"dli_08_0392.html", "node_id":"dli_08_0392.xml", "product_code":"dli", "code":"430", "des":"The BlackHole connector allows for swallowing all input records. It is designed for high-performance testing and UDF output. It is not a substantive sink. The BlackHole r", "doc_type":"sqlreference", "kw":"BlackHole Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"BlackHole Result Table", "githuburl":"" }, { "uri":"dli_08_0393.html", "node_id":"dli_08_0393.xml", "product_code":"dli", "code":"431", "des":"DLI can output Flink job data to the ClickHouse database. ClickHouse is a column-based database oriented to online analysis and processing. It supports SQL query and prov", "doc_type":"sqlreference", "kw":"ClickHouse Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ClickHouse Result Table", "githuburl":"" }, { "uri":"dli_08_0394.html", "node_id":"dli_08_0394.xml", "product_code":"dli", "code":"432", "des":"DLI outputs the Flink job output data to GaussDB(DWS). GaussDB(DWS) database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more complex t", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GaussDB(DWS) Result Table", "githuburl":"" }, { "uri":"dli_08_0395.html", "node_id":"dli_08_0395.xml", "product_code":"dli", "code":"433", "des":"DLI outputs Flink job output data to Elasticsearch of Cloud Search Service (CSS). Elasticsearch is a popular enterprise-class Lucene-powered search server and provides th", "doc_type":"sqlreference", "kw":"Elasticsearch Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Elasticsearch Result Table", "githuburl":"" }, { "uri":"dli_08_0396.html", "node_id":"dli_08_0396.xml", "product_code":"dli", "code":"434", "des":"DLI outputs the job data to HBase. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excellent performance, and elastic scal", "doc_type":"sqlreference", "kw":"HBase Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HBase Result Table", "githuburl":"" }, { "uri":"dli_08_0397.html", "node_id":"dli_08_0397.xml", "product_code":"dli", "code":"435", "des":"DLI outputs the Flink job output data to RDS through the JDBC result table.An enhanced datasource connection with the instances has been established, so that you can conf", "doc_type":"sqlreference", "kw":"JDBC Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JDBC Result Table", "githuburl":"" }, { "uri":"dli_08_0398.html", "node_id":"dli_08_0398.xml", "product_code":"dli", "code":"436", "des":"DLI outputs the Flink job output data to Kafka through the Kafka result table.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subs", "doc_type":"sqlreference", "kw":"Kafka Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Kafka Result Table", "githuburl":"" }, { "uri":"dli_08_0399.html", "node_id":"dli_08_0399.xml", "product_code":"dli", "code":"437", "des":"The Print connector is used to print output data to the error file or TaskManager file, making it easier for you to view the result in code debugging.NoneThe Print result", "doc_type":"sqlreference", "kw":"Print Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Print Result Table", "githuburl":"" }, { "uri":"dli_08_0400.html", "node_id":"dli_08_0400.xml", "product_code":"dli", "code":"438", "des":"DLI outputs the Flink job output data to Redis. Redis is a key-value storage system that supports multiple types of data structures. It can be used in scenarios such as c", "doc_type":"sqlreference", "kw":"Redis Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Redis Result Table", "githuburl":"" }, { "uri":"dli_08_0401.html", "node_id":"dli_08_0401.xml", "product_code":"dli", "code":"439", "des":"Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription system. It delivers high throughput and built-in partitions and provi", "doc_type":"sqlreference", "kw":"Upsert Kafka Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Upsert Kafka Result Table", "githuburl":"" }, { "uri":"dli_08_0439.html", "node_id":"dli_08_0439.xml", "product_code":"dli", "code":"440", "des":"The FileSystem result (sink) table is used to export data to the HDFS or OBS file system. It is applicable to scenarios such as data dumping, big data analysis, data back", "doc_type":"sqlreference", "kw":"FileSystem Result Table,Creating Result Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"FileSystem Result Table", "githuburl":"" }, { "uri":"dli_08_0402.html", "node_id":"dli_08_0402.xml", "product_code":"dli", "code":"441", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating Dimension Tables", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating Dimension Tables", "githuburl":"" }, { "uri":"dli_08_0403.html", "node_id":"dli_08_0403.xml", "product_code":"dli", "code":"442", "des":"Create a GaussDB(DWS) table to connect to source streams for wide table generation.Ensure that you have created a GaussDB(DWS) cluster using your account.A DWS database t", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Dimension Table,Creating Dimension Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GaussDB(DWS) Dimension Table", "githuburl":"" }, { "uri":"dli_08_0404.html", "node_id":"dli_08_0404.xml", "product_code":"dli", "code":"443", "des":"Create a Hbase dimension table to connect to the source streams for wide table generation.An enhanced datasource connection has been created for DLI to connect to HBase, ", "doc_type":"sqlreference", "kw":"HBase Dimension Table,Creating Dimension Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HBase Dimension Table", "githuburl":"" }, { "uri":"dli_08_0405.html", "node_id":"dli_08_0405.xml", "product_code":"dli", "code":"444", "des":"Create a JDBC dimension table to connect to the source stream.You have created a JDBC instance for your account.When you create a Flink OpenSource SQL job, set Flink Vers", "doc_type":"sqlreference", "kw":"JDBC Dimension Table,Creating Dimension Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JDBC Dimension Table", "githuburl":"" }, { "uri":"dli_08_0406.html", "node_id":"dli_08_0406.xml", "product_code":"dli", "code":"445", "des":"Create a Redis table to connect to source streams for wide table generation.An enhanced datasource connection with Redis has been established, so that you can configure s", "doc_type":"sqlreference", "kw":"Redis Dimension Table,Creating Dimension Tables,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Redis Dimension Table", "githuburl":"" }, { "uri":"dli_08_0407.html", "node_id":"dli_08_0407.xml", "product_code":"dli", "code":"446", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Format", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Format", "githuburl":"" }, { "uri":"dli_08_0408.html", "node_id":"dli_08_0408.xml", "product_code":"dli", "code":"447", "des":"Apache Avro is supported for you to read and write Avro data based on an Avro schema with Flink. The Avro schema is derived from the table schema.KafkaUpsert KafkaCurrent", "doc_type":"sqlreference", "kw":"Avro,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Avro", "githuburl":"" }, { "uri":"dli_08_0409.html", "node_id":"dli_08_0409.xml", "product_code":"dli", "code":"448", "des":"Canal is a Changelog Data Capture (CDC) tool that can stream changes in real-time from MySQL into other systems. Canal provides a unified format schema for changelog and ", "doc_type":"sqlreference", "kw":"Canal,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Canal", "githuburl":"" }, { "uri":"dli_08_0410.html", "node_id":"dli_08_0410.xml", "product_code":"dli", "code":"449", "des":"The Avro Schema Registry (avro-confluent) format allows you to read records that were serialized by the io.confluent.kafka.serializers.KafkaAvroSerializer and to write re", "doc_type":"sqlreference", "kw":"Confluent Avro,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Confluent Avro", "githuburl":"" }, { "uri":"dli_08_0411.html", "node_id":"dli_08_0411.xml", "product_code":"dli", "code":"450", "des":"The CSV format allows you to read and write CSV data based on a CSV schema. Currently, the CSV schema is derived from table schema.KafkaUpsert KafkaUse Kafka to send data", "doc_type":"sqlreference", "kw":"CSV,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CSV", "githuburl":"" }, { "uri":"dli_08_0412.html", "node_id":"dli_08_0412.xml", "product_code":"dli", "code":"451", "des":"Debezium is a Changelog Data Capture (CDC) tool that can stream changes in real-time from other databases into Kafka. Debezium provides a unified format schema for change", "doc_type":"sqlreference", "kw":"Debezium,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Debezium", "githuburl":"" }, { "uri":"dli_08_0413.html", "node_id":"dli_08_0413.xml", "product_code":"dli", "code":"452", "des":"The JSON format allows you to read and write JSON data based on a JSON schema. Currently, the JSON schema is derived from table schema.KafkaUpsert KafkaElasticsearchIn th", "doc_type":"sqlreference", "kw":"JSON,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JSON", "githuburl":"" }, { "uri":"dli_08_0414.html", "node_id":"dli_08_0414.xml", "product_code":"dli", "code":"453", "des":"Flink supports to interpret Maxwell JSON messages as INSERT/UPDATE/DELETE messages into Flink SQL system. This is useful in many cases to leverage this feature,such as:Sy", "doc_type":"sqlreference", "kw":"Maxwell,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Maxwell", "githuburl":"" }, { "uri":"dli_08_0415.html", "node_id":"dli_08_0415.xml", "product_code":"dli", "code":"454", "des":"The raw format allows you to read and write raw (byte based) values as a single column.Note: This format encodes null values as null of the byte[] type. This may have lim", "doc_type":"sqlreference", "kw":"Raw,Format,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Raw", "githuburl":"" }, { "uri":"dli_08_0416.html", "node_id":"dli_08_0416.xml", "product_code":"dli", "code":"455", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"DML Snytax", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DML Snytax", "githuburl":"" }, { "uri":"dli_08_0417.html", "node_id":"dli_08_0417.xml", "product_code":"dli", "code":"456", "des":"SyntaxDescriptionSELECT is used to select data from a table.ALL indicates that all results are returned.DISTINCT indicates that the duplicated results are removed.Precaut", "doc_type":"sqlreference", "kw":"SELECT,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SELECT", "githuburl":"" }, { "uri":"dli_08_0418.html", "node_id":"dli_08_0418.xml", "product_code":"dli", "code":"457", "des":"SyntaxDescriptionUNION is used to return the union set of multiple query results.INTERSECT is used to return the intersection of multiple query results.EXCEPT is used to ", "doc_type":"sqlreference", "kw":"Set Operations,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Set Operations", "githuburl":"" }, { "uri":"dli_08_0419.html", "node_id":"dli_08_0419.xml", "product_code":"dli", "code":"458", "des":"DescriptionGroup Window is defined in GROUP BY. One record is generated from each group. Group Window involves the following functions:Array functionsArray functionsGroup", "doc_type":"sqlreference", "kw":"Window,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Window", "githuburl":"" }, { "uri":"dli_08_0420.html", "node_id":"dli_08_0420.xml", "product_code":"dli", "code":"459", "des":"SyntaxPrecautionsCurrently, only equi-joins are supported, for example, joins that have at least one conjunctive condition with an equality predicate. Arbitrary cross or ", "doc_type":"sqlreference", "kw":"JOIN,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JOIN", "githuburl":"" }, { "uri":"dli_08_0421.html", "node_id":"dli_08_0421.xml", "product_code":"dli", "code":"460", "des":"FunctionThis clause is used to sort data in ascending order on a time attribute.PrecautionsCurrently, only sorting by time attribute is supported.ExampleSort data in asce", "doc_type":"sqlreference", "kw":"OrderBy & Limit,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"OrderBy & Limit", "githuburl":"" }, { "uri":"dli_08_0422.html", "node_id":"dli_08_0422.xml", "product_code":"dli", "code":"461", "des":"Top-N queries ask for the N smallest or largest values ordered by columns. Both smallest and largest values sets are considered Top-N queries. Top-N queries are useful in", "doc_type":"sqlreference", "kw":"Top-N,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Top-N", "githuburl":"" }, { "uri":"dli_08_0423.html", "node_id":"dli_08_0423.xml", "product_code":"dli", "code":"462", "des":"Deduplication removes rows that duplicate over a set of columns, keeping only the first one or the last one.ROW_NUMBER(): Assigns a unique, sequential number to each row,", "doc_type":"sqlreference", "kw":"Deduplication,DML Snytax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deduplication", "githuburl":"" }, { "uri":"dli_08_0424.html", "node_id":"dli_08_0424.xml", "product_code":"dli", "code":"463", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Functions", "githuburl":"" }, { "uri":"dli_08_0425.html", "node_id":"dli_08_0425.xml", "product_code":"dli", "code":"464", "des":"DLI supports the following three types of user-defined functions (UDFs):Regular UDF: takes in one or more input parameters and returns a single result.User-defined table-", "doc_type":"sqlreference", "kw":"User-Defined Functions (UDFs),Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"User-Defined Functions (UDFs)", "githuburl":"" }, { "uri":"dli_08_0426.html", "node_id":"dli_08_0426.xml", "product_code":"dli", "code":"465", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Built-In Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Built-In Functions", "githuburl":"" }, { "uri":"dli_08_0427.html", "node_id":"dli_08_0427.xml", "product_code":"dli", "code":"466", "des":"All data types can be compared by using relational operators and the result is returned as a BOOLEAN value.Relationship operators are binary operators. Two compared data ", "doc_type":"sqlreference", "kw":"Mathematical Operation Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Mathematical Operation Functions", "githuburl":"" }, { "uri":"dli_08_0428.html", "node_id":"dli_08_0428.xml", "product_code":"dli", "code":"467", "des":"DLI offers a wide range of string functions for processing and transforming string data. These functions include concatenation, case conversion, substring extraction, rep", "doc_type":"sqlreference", "kw":"String Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"String Functions", "githuburl":"" }, { "uri":"dli_08_0429.html", "node_id":"dli_08_0429.xml", "product_code":"dli", "code":"468", "des":"Table 1 lists the time functions supported by Flink OpenSource SQL.FunctionReturns a SQL date parsed from string in form of yyyy-MM-dd.Returns a SQL date parsed from stri", "doc_type":"sqlreference", "kw":"Temporal Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Temporal Functions", "githuburl":"" }, { "uri":"dli_08_0430.html", "node_id":"dli_08_0430.xml", "product_code":"dli", "code":"469", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Conditional Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Conditional Functions", "githuburl":"" }, { "uri":"dli_08_0431.html", "node_id":"dli_08_0431.xml", "product_code":"dli", "code":"470", "des":"This function is used to forcibly convert types.If the input is NULL, NULL is returned.The cast function does not support converting a string to the JSON format.The follo", "doc_type":"sqlreference", "kw":"Type Conversion Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Type Conversion Functions", "githuburl":"" }, { "uri":"dli_08_0432.html", "node_id":"dli_08_0432.xml", "product_code":"dli", "code":"471", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Collection Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Collection Functions", "githuburl":"" }, { "uri":"dli_08_0433.html", "node_id":"dli_08_0433.xml", "product_code":"dli", "code":"472", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Value Construction Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Value Construction Functions", "githuburl":"" }, { "uri":"dli_08_0434.html", "node_id":"dli_08_0434.xml", "product_code":"dli", "code":"473", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Value Access Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Value Access Functions", "githuburl":"" }, { "uri":"dli_08_0435.html", "node_id":"dli_08_0435.xml", "product_code":"dli", "code":"474", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Hash Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Hash Functions", "githuburl":"" }, { "uri":"dli_08_0436.html", "node_id":"dli_08_0436.xml", "product_code":"dli", "code":"475", "des":"An aggregate function performs a calculation operation on a set of input values and returns a value. For example, the COUNT function counts the number of rows retrieved b", "doc_type":"sqlreference", "kw":"Aggregate Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Aggregate Functions", "githuburl":"" }, { "uri":"dli_08_0437.html", "node_id":"dli_08_0437.xml", "product_code":"dli", "code":"476", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Table-Valued Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Table-Valued Functions", "githuburl":"" }, { "uri":"dli_08_0438.html", "node_id":"dli_08_0438.xml", "product_code":"dli", "code":"477", "des":"The string_split function splits a target string into substrings based on the specified separator and returns a substring list.Create a Flink OpenSource SQL job by referr", "doc_type":"sqlreference", "kw":"string_split,Table-Valued Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"string_split", "githuburl":"" }, { "uri":"dli_08_0289.html", "node_id":"dli_08_0289.xml", "product_code":"dli", "code":"478", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Flink Opensource SQL 1.10 Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Flink Opensource SQL 1.10 Syntax Reference", "githuburl":"" }, { "uri":"dli_08_0290.html", "node_id":"dli_08_0290.xml", "product_code":"dli", "code":"479", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Constraints and Definitions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Constraints and Definitions", "githuburl":"" }, { "uri":"dli_08_0291.html", "node_id":"dli_08_0291.xml", "product_code":"dli", "code":"480", "des":"The DLI SQL syntax supports the following data types:STRING, BOOLEAN, BYTES, DECIMAL, TINYINT, SMALLINT, INTEGER, BIGINT, FLOAT, DOUBLE, DATE, TIME, TIMESTAMP, TIMESTAMP ", "doc_type":"sqlreference", "kw":"Supported Data Types,Constraints and Definitions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Supported Data Types", "githuburl":"" }, { "uri":"dli_08_0292.html", "node_id":"dli_08_0292.xml", "product_code":"dli", "code":"481", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Syntax Definition", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Syntax Definition", "githuburl":"" }, { "uri":"dli_08_0293.html", "node_id":"dli_08_0293.xml", "product_code":"dli", "code":"482", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Definition Language (DDL)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Definition Language (DDL)", "githuburl":"" }, { "uri":"dli_08_0294.html", "node_id":"dli_08_0294.xml", "product_code":"dli", "code":"483", "des":"This clause is used to create a table with a specified name.COMPUTED COLUMNA computed column is a virtual column generated using column_name AS computed_column_expression", "doc_type":"sqlreference", "kw":"CREATE TABLE,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CREATE TABLE", "githuburl":"" }, { "uri":"dli_08_0295.html", "node_id":"dli_08_0295.xml", "product_code":"dli", "code":"484", "des":"Create a view with multiple layers nested in it to simplify the development process.IF NOT EXISTSIf the view already exists, nothing happens.Create a view named viewName.", "doc_type":"sqlreference", "kw":"CREATE VIEW,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CREATE VIEW", "githuburl":"" }, { "uri":"dli_08_0296.html", "node_id":"dli_08_0296.xml", "product_code":"dli", "code":"485", "des":"Create a user-defined function.IF NOT EXISTSIf the function already exists, nothing happens.LANGUAGE JAVA|SCALALanguage tag is used to instruct Flink runtime how to execu", "doc_type":"sqlreference", "kw":"CREATE FUNCTION,Data Definition Language (DDL),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CREATE FUNCTION", "githuburl":"" }, { "uri":"dli_08_0297.html", "node_id":"dli_08_0297.xml", "product_code":"dli", "code":"486", "des":"SyntaxPrecautionsFlink SQL uses a lexical policy for identifier (table, attribute, function names) similar to Java:The case of identifiers is preserved whether they are q", "doc_type":"sqlreference", "kw":"Data Manipulation Language (DML),Syntax Definition,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Manipulation Language (DML)", "githuburl":"" }, { "uri":"dli_08_0298.html", "node_id":"dli_08_0298.xml", "product_code":"dli", "code":"487", "des":"This section describes the Flink OpenSource SQL syntax supported by DLI. For details about the parameters and examples, see the syntax description.", "doc_type":"sqlreference", "kw":"Flink OpenSource SQL 1.10 Syntax,Flink Opensource SQL 1.10 Syntax Reference,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Flink OpenSource SQL 1.10 Syntax", "githuburl":"" }, { "uri":"dli_08_0299.html", "node_id":"dli_08_0299.xml", "product_code":"dli", "code":"488", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Definition Language (DDL)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Definition Language (DDL)", "githuburl":"" }, { "uri":"dli_08_0300.html", "node_id":"dli_08_0300.xml", "product_code":"dli", "code":"489", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Source Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Source Table", "githuburl":"" }, { "uri":"dli_08_0301.html", "node_id":"dli_08_0301.xml", "product_code":"dli", "code":"490", "des":"Create a source stream to obtain data from Kafka as input data for jobs.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscripti", "doc_type":"sqlreference", "kw":"Kafka Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Kafka Source Table", "githuburl":"" }, { "uri":"dli_08_0302.html", "node_id":"dli_08_0302.xml", "product_code":"dli", "code":"491", "des":"Create a source stream to read data from DIS. DIS accesses user data and Flink job reads data from the DIS stream as input data for jobs. Flink jobs can quickly remove da", "doc_type":"sqlreference", "kw":"DIS Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DIS Source Table", "githuburl":"" }, { "uri":"dli_08_0303.html", "node_id":"dli_08_0303.xml", "product_code":"dli", "code":"492", "des":"The JDBC connector is a Flink's built-in connector to read data from a database.An enhanced datasource connection with the database has been established, so that you can ", "doc_type":"sqlreference", "kw":"JDBC Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JDBC Source Table", "githuburl":"" }, { "uri":"dli_08_0304.html", "node_id":"dli_08_0304.xml", "product_code":"dli", "code":"493", "des":"DLI reads data of Flink jobs from GaussDB(DWS). GaussDB(DWS) database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more complex types an", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GaussDB(DWS) Source Table", "githuburl":"" }, { "uri":"dli_08_0305.html", "node_id":"dli_08_0305.xml", "product_code":"dli", "code":"494", "des":"Create a source stream to obtain data from Redis as input for jobs.An enhanced datasource connection with Redis has been established, so that you can configure security g", "doc_type":"sqlreference", "kw":"Redis Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Redis Source Table", "githuburl":"" }, { "uri":"dli_08_0306.html", "node_id":"dli_08_0306.xml", "product_code":"dli", "code":"495", "des":"Create a source stream to obtain data from HBase as input for jobs. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excell", "doc_type":"sqlreference", "kw":"HBase Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HBase Source Table", "githuburl":"" }, { "uri":"dli_08_0358.html", "node_id":"dli_08_0358.xml", "product_code":"dli", "code":"496", "des":"You can call APIs to obtain data from the cloud ecosystem or an open source ecosystem and use the obtained data as input of Flink jobs.The customized source class needs t", "doc_type":"sqlreference", "kw":"userDefined Source Table,Creating a Source Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"userDefined Source Table", "githuburl":"" }, { "uri":"dli_08_0307.html", "node_id":"dli_08_0307.xml", "product_code":"dli", "code":"497", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Result Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Result Table", "githuburl":"" }, { "uri":"dli_08_0344.html", "node_id":"dli_08_0344.xml", "product_code":"dli", "code":"498", "des":"DLI exports Flink job data to ClickHouse result tables.ClickHouse is a column-based database oriented to online analysis and processing. It supports SQL query and provide", "doc_type":"sqlreference", "kw":"ClickHouse Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"ClickHouse Result Table", "githuburl":"" }, { "uri":"dli_08_0308.html", "node_id":"dli_08_0308.xml", "product_code":"dli", "code":"499", "des":"DLI exports the output data of the Flink job to Kafka.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription system. It deli", "doc_type":"sqlreference", "kw":"Kafka Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Kafka Result Table", "githuburl":"" }, { "uri":"dli_08_0309.html", "node_id":"dli_08_0309.xml", "product_code":"dli", "code":"500", "des":"DLI exports the output data of the Flink job to Kafka in upsert mode.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription ", "doc_type":"sqlreference", "kw":"Upsert Kafka Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Upsert Kafka Result Table", "githuburl":"" }, { "uri":"dli_08_0310.html", "node_id":"dli_08_0310.xml", "product_code":"dli", "code":"501", "des":"DLI writes the Flink job output data into DIS. The data is filtered and imported to the DIS stream for future processing.DIS addresses the challenge of transmitting data ", "doc_type":"sqlreference", "kw":"DIS Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DIS Result Table", "githuburl":"" }, { "uri":"dli_08_0311.html", "node_id":"dli_08_0311.xml", "product_code":"dli", "code":"502", "des":"DLI exports the output data of the Flink job to RDS.An enhanced datasource connection with the database has been established, so that you can configure security group rul", "doc_type":"sqlreference", "kw":"JDBC Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JDBC Result Table", "githuburl":"" }, { "uri":"dli_08_0312.html", "node_id":"dli_08_0312.xml", "product_code":"dli", "code":"503", "des":"DLI outputs the Flink job output data to GaussDB(DWS). GaussDB(DWS) database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more complex t", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GaussDB(DWS) Result Table", "githuburl":"" }, { "uri":"dli_08_0313.html", "node_id":"dli_08_0313.xml", "product_code":"dli", "code":"504", "des":"DLI exports the output data of the Flink job to Redis. Redis is a storage system that supports multiple types of data structures such as key-value. It can be used in scen", "doc_type":"sqlreference", "kw":"Redis Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Redis Result Table", "githuburl":"" }, { "uri":"dli_08_0314.html", "node_id":"dli_08_0314.xml", "product_code":"dli", "code":"505", "des":"DLI exports Flink job output data to SMN.SMN provides reliable and flexible large-scale message notification services to DLI. It significantly simplifies system coupling ", "doc_type":"sqlreference", "kw":"SMN Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SMN Result Table", "githuburl":"" }, { "uri":"dli_08_0315.html", "node_id":"dli_08_0315.xml", "product_code":"dli", "code":"506", "des":"DLI outputs the job data to HBase. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excellent performance, and elastic scal", "doc_type":"sqlreference", "kw":"HBase Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HBase Result Table", "githuburl":"" }, { "uri":"dli_08_0316.html", "node_id":"dli_08_0316.xml", "product_code":"dli", "code":"507", "des":"DLI exports Flink job output data to Elasticsearch of Cloud Search Service (CSS). Elasticsearch is a popular enterprise-class Lucene-powered search server and provides th", "doc_type":"sqlreference", "kw":"Elasticsearch Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Elasticsearch Result Table", "githuburl":"" }, { "uri":"dli_08_0348.html", "node_id":"dli_08_0348.xml", "product_code":"dli", "code":"508", "des":"OpenTSDB is a distributed, scalable time series database based on HBase. OpenTSDB is designed to collect monitoring information of a large-scale cluster and query data in", "doc_type":"sqlreference", "kw":"OpenTSDB Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"OpenTSDB Result Table", "githuburl":"" }, { "uri":"dli_08_0347.html", "node_id":"dli_08_0347.xml", "product_code":"dli", "code":"509", "des":"Write your Java code to insert the processed data into a specified database supported by your cloud service.Implement the custom sink class :The custom sink class is inhe", "doc_type":"sqlreference", "kw":"User-defined Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"User-defined Result Table", "githuburl":"" }, { "uri":"dli_08_0345.html", "node_id":"dli_08_0345.xml", "product_code":"dli", "code":"510", "des":"The print connector exports your data output to the error file or the out file of TaskManager. It is mainly used for code debugging and output viewing.Read data from Kafk", "doc_type":"sqlreference", "kw":"Print Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Print Result Table", "githuburl":"" }, { "uri":"dli_08_0346.html", "node_id":"dli_08_0346.xml", "product_code":"dli", "code":"511", "des":"You can create a file system result table to export data to a file system such as HDFS or OBS. After the data is generated, a non-DLI table can be created directly accord", "doc_type":"sqlreference", "kw":"File System Result Table,Creating a Result Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"File System Result Table", "githuburl":"" }, { "uri":"dli_08_0317.html", "node_id":"dli_08_0317.xml", "product_code":"dli", "code":"512", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Dimension Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Dimension Table", "githuburl":"" }, { "uri":"dli_08_0318.html", "node_id":"dli_08_0318.xml", "product_code":"dli", "code":"513", "des":"Create a JDBC dimension table to connect to the source stream.You have created a JDBC instance for your account.The RDS table is used to connect to the source stream.CREA", "doc_type":"sqlreference", "kw":"JDBC Dimension Table,Creating a Dimension Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JDBC Dimension Table", "githuburl":"" }, { "uri":"dli_08_0319.html", "node_id":"dli_08_0319.xml", "product_code":"dli", "code":"514", "des":"Create a GaussDB(DWS) dimension table to connect to the input stream.You have created a GaussDB(DWS) instance for your account.Use an RDS table to connect to the source s", "doc_type":"sqlreference", "kw":"GaussDB(DWS) Dimension Table,Creating a Dimension Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"GaussDB(DWS) Dimension Table", "githuburl":"" }, { "uri":"dli_08_0320.html", "node_id":"dli_08_0320.xml", "product_code":"dli", "code":"515", "des":"Create a Hbase dimension table to connect to the source stream.An enhanced datasource connection has been created for DLI to connect to HBase, so that jobs can run on the", "doc_type":"sqlreference", "kw":"HBase Dimension Table,Creating a Dimension Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"HBase Dimension Table", "githuburl":"" }, { "uri":"dli_08_0321.html", "node_id":"dli_08_0321.xml", "product_code":"dli", "code":"516", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Data Manipulation Language (DML)", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Manipulation Language (DML)", "githuburl":"" }, { "uri":"dli_08_0322.html", "node_id":"dli_08_0322.xml", "product_code":"dli", "code":"517", "des":"SyntaxDescriptionThis clause is used to select data from a table.ALL indicates that all results are returned.DISTINCT indicates that the duplicated results are removed.Pr", "doc_type":"sqlreference", "kw":"SELECT,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SELECT", "githuburl":"" }, { "uri":"dli_08_0323.html", "node_id":"dli_08_0323.xml", "product_code":"dli", "code":"518", "des":"SyntaxDescriptionUNION is used to return the union set of multiple query results.INTERSECT is used to return the intersection of multiple query results.EXCEPT is used to ", "doc_type":"sqlreference", "kw":"Set Operations,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Set Operations", "githuburl":"" }, { "uri":"dli_08_0324.html", "node_id":"dli_08_0324.xml", "product_code":"dli", "code":"519", "des":"DescriptionGroup Window is defined in GROUP BY. One record is generated from each group. Group Window involves the following functions:Array functionsFor SQL queries in s", "doc_type":"sqlreference", "kw":"Window,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Window", "githuburl":"" }, { "uri":"dli_08_0325.html", "node_id":"dli_08_0325.xml", "product_code":"dli", "code":"520", "des":"SyntaxPrecautionsCurrently, only equi-joins are supported, for example, joins that have at least one conjunctive condition with an equality predicate. Arbitrary cross or ", "doc_type":"sqlreference", "kw":"JOIN,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JOIN", "githuburl":"" }, { "uri":"dli_08_0326.html", "node_id":"dli_08_0326.xml", "product_code":"dli", "code":"521", "des":"FunctionThis clause is used to sort data in ascending order on a time attribute.PrecautionsCurrently, only sorting by time attribute is supported.ExampleSort data in asce", "doc_type":"sqlreference", "kw":"OrderBy & Limit,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"OrderBy & Limit", "githuburl":"" }, { "uri":"dli_08_0327.html", "node_id":"dli_08_0327.xml", "product_code":"dli", "code":"522", "des":"Top-N queries ask for the N smallest or largest values ordered by columns. Both smallest and largest values sets are considered Top-N queries. Top-N queries are useful in", "doc_type":"sqlreference", "kw":"Top-N,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Top-N", "githuburl":"" }, { "uri":"dli_08_0328.html", "node_id":"dli_08_0328.xml", "product_code":"dli", "code":"523", "des":"Deduplication removes rows that duplicate over a set of columns, keeping only the first one or the last one.ROW_NUMBER(): Assigns a unique, sequential number to each row,", "doc_type":"sqlreference", "kw":"Deduplication,Data Manipulation Language (DML),SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deduplication", "githuburl":"" }, { "uri":"dli_08_0329.html", "node_id":"dli_08_0329.xml", "product_code":"dli", "code":"524", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Functions", "githuburl":"" }, { "uri":"dli_08_0330.html", "node_id":"dli_08_0330.xml", "product_code":"dli", "code":"525", "des":"DLI supports the following three types of user-defined functions (UDFs):Regular UDF: takes in one or more input parameters and returns a single result.User-defined table-", "doc_type":"sqlreference", "kw":"User-Defined Functions,Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"User-Defined Functions", "githuburl":"" }, { "uri":"dli_08_0331.html", "node_id":"dli_08_0331.xml", "product_code":"dli", "code":"526", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Built-In Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Built-In Functions", "githuburl":"" }, { "uri":"dli_08_0332.html", "node_id":"dli_08_0332.xml", "product_code":"dli", "code":"527", "des":"All data types can be compared by using relational operators and the result is returned as a BOOLEAN value.Relationship operators are binary operators. Two compared data ", "doc_type":"sqlreference", "kw":"Mathematical Operation Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Mathematical Operation Functions", "githuburl":"" }, { "uri":"dli_08_0333.html", "node_id":"dli_08_0333.xml", "product_code":"dli", "code":"528", "des":"DLI offers a wide range of string functions for processing and transforming string data. These functions include concatenation, case conversion, substring extraction, rep", "doc_type":"sqlreference", "kw":"String Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"String Functions", "githuburl":"" }, { "uri":"dli_08_0334.html", "node_id":"dli_08_0334.xml", "product_code":"dli", "code":"529", "des":"Table 1 lists the temporal functions supported by Flink OpenSource SQL.FunctionReturns a date parsed from string in form of yyyy-MM-dd.Returns a date parsed from string i", "doc_type":"sqlreference", "kw":"Temporal Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Temporal Functions", "githuburl":"" }, { "uri":"dli_08_0335.html", "node_id":"dli_08_0335.xml", "product_code":"dli", "code":"530", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Conditional Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Conditional Functions", "githuburl":"" }, { "uri":"dli_08_0336.html", "node_id":"dli_08_0336.xml", "product_code":"dli", "code":"531", "des":"This function is used to forcibly convert types.If the input is NULL, NULL is returned.The following example converts the amount value to an integer.Flink jobs do not sup", "doc_type":"sqlreference", "kw":"Type Conversion Function,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Type Conversion Function", "githuburl":"" }, { "uri":"dli_08_0337.html", "node_id":"dli_08_0337.xml", "product_code":"dli", "code":"532", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Collection Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Collection Functions", "githuburl":"" }, { "uri":"dli_08_0338.html", "node_id":"dli_08_0338.xml", "product_code":"dli", "code":"533", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Value Construction Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Value Construction Functions", "githuburl":"" }, { "uri":"dli_08_0339.html", "node_id":"dli_08_0339.xml", "product_code":"dli", "code":"534", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Value Access Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Value Access Functions", "githuburl":"" }, { "uri":"dli_08_0340.html", "node_id":"dli_08_0340.xml", "product_code":"dli", "code":"535", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Hash Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Hash Functions", "githuburl":"" }, { "uri":"dli_08_0341.html", "node_id":"dli_08_0341.xml", "product_code":"dli", "code":"536", "des":"An aggregate function performs a calculation operation on a set of input values and returns a value. For example, the COUNT function counts the number of rows retrieved b", "doc_type":"sqlreference", "kw":"Aggregate Function,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Aggregate Function", "githuburl":"" }, { "uri":"dli_08_0342.html", "node_id":"dli_08_0342.xml", "product_code":"dli", "code":"537", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Table-Valued Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Table-Valued Functions", "githuburl":"" }, { "uri":"dli_08_0357.html", "node_id":"dli_08_0357.xml", "product_code":"dli", "code":"538", "des":"The split_cursor function can convert one row of records into multiple rows or convert one column of records into multiple columns. Table-valued functions can only be use", "doc_type":"sqlreference", "kw":"split_cursor,Table-Valued Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"split_cursor", "githuburl":"" }, { "uri":"dli_08_0356.html", "node_id":"dli_08_0356.xml", "product_code":"dli", "code":"539", "des":"The string_split function splits a target string into substrings based on the specified separator and returns a substring list.Prepare test input data.Source table disSou", "doc_type":"sqlreference", "kw":"string_split,Table-Valued Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"string_split", "githuburl":"" }, { "uri":"dli_08_0450.html", "node_id":"dli_08_0450.xml", "product_code":"dli", "code":"540", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Historical Versions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Historical Versions", "githuburl":"" }, { "uri":"dli_08_0233.html", "node_id":"dli_08_0233.xml", "product_code":"dli", "code":"541", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Flink SQL Syntax", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Flink SQL Syntax", "githuburl":"" }, { "uri":"dli_08_0075.html", "node_id":"dli_08_0075.xml", "product_code":"dli", "code":"542", "des":"Currently, Flink SQL only supports the following operations: SELECT, FROM, WHERE, UNION, aggregation, window, JOIN between stream and table data, and JOIN between streams", "doc_type":"sqlreference", "kw":"SQL Syntax Constraints and Definitions,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SQL Syntax Constraints and Definitions", "githuburl":"" }, { "uri":"dli_08_0275.html", "node_id":"dli_08_0275.xml", "product_code":"dli", "code":"543", "des":"This section describes the Flink SQL syntax list provided by DLI. For details about the parameters and examples, see the syntax description.", "doc_type":"sqlreference", "kw":"SQL Syntax Overview of Stream Jobs,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SQL Syntax Overview of Stream Jobs", "githuburl":"" }, { "uri":"dli_08_0234.html", "node_id":"dli_08_0234.xml", "product_code":"dli", "code":"544", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Source Stream", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Source Stream", "githuburl":"" }, { "uri":"dli_08_0237.html", "node_id":"dli_08_0237.xml", "product_code":"dli", "code":"545", "des":"Create a source stream to obtain data from HBase of CloudTable as input data of the job. HBase is a column-oriented distributed cloud storage system that features enhance", "doc_type":"sqlreference", "kw":"CloudTable HBase Source Stream,Creating a Source Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CloudTable HBase Source Stream", "githuburl":"" }, { "uri":"dli_08_0235.html", "node_id":"dli_08_0235.xml", "product_code":"dli", "code":"546", "des":"Create a source stream to read data from DIS. DIS accesses user data and Flink job reads data from the DIS stream as input data for jobs. Flink jobs can quickly remove da", "doc_type":"sqlreference", "kw":"DIS Source Stream,Creating a Source Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DIS Source Stream", "githuburl":"" }, { "uri":"dli_08_0270.html", "node_id":"dli_08_0270.xml", "product_code":"dli", "code":"547", "des":"DMS (Distributed Message Service) is a message middleware service based on distributed, high-availability clustering technology. It provides reliable, scalable, fully man", "doc_type":"sqlreference", "kw":"DMS Source Stream,Creating a Source Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DMS Source Stream", "githuburl":"" }, { "uri":"dli_08_0238.html", "node_id":"dli_08_0238.xml", "product_code":"dli", "code":"548", "des":"Create a source stream to obtain data from Kafka as input data for jobs.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscripti", "doc_type":"sqlreference", "kw":"MRS Kafka Source Stream,Creating a Source Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"MRS Kafka Source Stream", "githuburl":"" }, { "uri":"dli_08_0239.html", "node_id":"dli_08_0239.xml", "product_code":"dli", "code":"549", "des":"Create a source stream to obtain data from Kafka as input data for jobs.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscripti", "doc_type":"sqlreference", "kw":"Open-Source Kafka Source Stream,Creating a Source Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Open-Source Kafka Source Stream", "githuburl":"" }, { "uri":"dli_08_0236.html", "node_id":"dli_08_0236.xml", "product_code":"dli", "code":"550", "des":"Create a source stream to obtain data from OBS. DLI reads data stored by users in OBS as input data for jobs. OBS applies to various scenarios, such as big data analysis,", "doc_type":"sqlreference", "kw":"OBS Source Stream,Creating a Source Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"OBS Source Stream", "githuburl":"" }, { "uri":"dli_08_0240.html", "node_id":"dli_08_0240.xml", "product_code":"dli", "code":"551", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Sink Stream", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Sink Stream", "githuburl":"" }, { "uri":"dli_08_0243.html", "node_id":"dli_08_0243.xml", "product_code":"dli", "code":"552", "des":"DLI exports the job output data to HBase of CloudTable. HBase is a column-oriented distributed cloud storage system that features enhanced reliability, excellent performa", "doc_type":"sqlreference", "kw":"CloudTable HBase Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CloudTable HBase Sink Stream", "githuburl":"" }, { "uri":"dli_08_0244.html", "node_id":"dli_08_0244.xml", "product_code":"dli", "code":"553", "des":"DLI exports the job output data to OpenTSDB of CloudTable. OpenTSDB is a distributed, scalable time series database based on HBase. It stores time series data. Time serie", "doc_type":"sqlreference", "kw":"CloudTable OpenTSDB Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CloudTable OpenTSDB Sink Stream", "githuburl":"" }, { "uri":"dli_08_0286.html", "node_id":"dli_08_0286.xml", "product_code":"dli", "code":"554", "des":"DLI exports the output data of the Flink job to OpenTSDB of MRS.OpenTSDB has been installed in the MRS cluster.In this scenario, jobs must run on the dedicated queue of D", "doc_type":"sqlreference", "kw":"MRS OpenTSDB Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"MRS OpenTSDB Sink Stream", "githuburl":"" }, { "uri":"dli_08_0252.html", "node_id":"dli_08_0252.xml", "product_code":"dli", "code":"555", "des":"DLI exports Flink job output data to Elasticsearch of Cloud Search Service (CSS). Elasticsearch is a popular enterprise-class Lucene-powered search server and provides th", "doc_type":"sqlreference", "kw":"CSS Elasticsearch Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"CSS Elasticsearch Sink Stream", "githuburl":"" }, { "uri":"dli_08_0253.html", "node_id":"dli_08_0253.xml", "product_code":"dli", "code":"556", "des":"DLI exports the Flink job output data to Redis of DCS. Redis is a storage system that supports multiple types of data structures such as key-value. It can be used in scen", "doc_type":"sqlreference", "kw":"DCS Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DCS Sink Stream", "githuburl":"" }, { "uri":"dli_08_0249.html", "node_id":"dli_08_0249.xml", "product_code":"dli", "code":"557", "des":"DLI outputs the job output data to Document Database Service (DDS).DDS is compatible with the MongoDB protocol and is secure, highly available, reliable, scalable, and ea", "doc_type":"sqlreference", "kw":"DDS Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DDS Sink Stream", "githuburl":"" }, { "uri":"dli_08_0241.html", "node_id":"dli_08_0241.xml", "product_code":"dli", "code":"558", "des":"DLI writes the Flink job output data into DIS. This cloud ecosystem is applicable to scenarios where data is filtered and imported to the DIS stream for future processing", "doc_type":"sqlreference", "kw":"DIS Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DIS Sink Stream", "githuburl":"" }, { "uri":"dli_08_0271.html", "node_id":"dli_08_0271.xml", "product_code":"dli", "code":"559", "des":"DMS for Kafka is a message queuing service based on Apache Kafka. This service provides Kafka premium instances.DLI can write the job output data into the Kafka instance.", "doc_type":"sqlreference", "kw":"DMS Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DMS Sink Stream", "githuburl":"" }, { "uri":"dli_08_0247.html", "node_id":"dli_08_0247.xml", "product_code":"dli", "code":"560", "des":"DLI outputs the Flink job output data to Data Warehouse Service (DWS). DWS database kernel is compliant with PostgreSQL. The PostgreSQL database can store data of more co", "doc_type":"sqlreference", "kw":"DWS Sink Stream (JDBC Mode),Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DWS Sink Stream (JDBC Mode)", "githuburl":"" }, { "uri":"dli_08_0248.html", "node_id":"dli_08_0248.xml", "product_code":"dli", "code":"561", "des":"Create a sink stream to export Flink job data to DWS through OBS-based dumping, specifically, output Flink job data to OBS and then import data from OBS to DWS. For detai", "doc_type":"sqlreference", "kw":"DWS Sink Stream (OBS-based Dumping),Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"DWS Sink Stream (OBS-based Dumping)", "githuburl":"" }, { "uri":"dli_08_0255.html", "node_id":"dli_08_0255.xml", "product_code":"dli", "code":"562", "des":"DLI exports the output data of the Flink job to HBase of MRS.An MRS cluster has been created by using your account. DLI can interconnect with HBase clusters with Kerberos", "doc_type":"sqlreference", "kw":"MRS HBase Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"MRS HBase Sink Stream", "githuburl":"" }, { "uri":"dli_08_0254.html", "node_id":"dli_08_0254.xml", "product_code":"dli", "code":"563", "des":"DLI exports the output data of the Flink job to Kafka.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription system. It deli", "doc_type":"sqlreference", "kw":"MRS Kafka Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"MRS Kafka Sink Stream", "githuburl":"" }, { "uri":"dli_08_0257.html", "node_id":"dli_08_0257.xml", "product_code":"dli", "code":"564", "des":"DLI exports the output data of the Flink job to Kafka.Apache Kafka is a fast, scalable, and fault-tolerant distributed message publishing and subscription system. It deli", "doc_type":"sqlreference", "kw":"Open-Source Kafka Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Open-Source Kafka Sink Stream", "githuburl":"" }, { "uri":"dli_08_0267.html", "node_id":"dli_08_0267.xml", "product_code":"dli", "code":"565", "des":"You can create a sink stream to export data to a file system such as HDFS or OBS. After the data is generated, a non-DLI table can be created directly according to the ge", "doc_type":"sqlreference", "kw":"File System Sink Stream (Recommended),Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"File System Sink Stream (Recommended)", "githuburl":"" }, { "uri":"dli_08_0242.html", "node_id":"dli_08_0242.xml", "product_code":"dli", "code":"566", "des":"Create a sink stream to export DLI data to OBS. DLI can export the job analysis results to OBS. OBS applies to various scenarios, such as big data analysis, cloud-native ", "doc_type":"sqlreference", "kw":"OBS Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"OBS Sink Stream", "githuburl":"" }, { "uri":"dli_08_0245.html", "node_id":"dli_08_0245.xml", "product_code":"dli", "code":"567", "des":"DLI outputs the Flink job output data to RDS. Currently, PostgreSQL and MySQL databases are supported. The PostgreSQL database can store data of more complex types and de", "doc_type":"sqlreference", "kw":"RDS Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"RDS Sink Stream", "githuburl":"" }, { "uri":"dli_08_0251.html", "node_id":"dli_08_0251.xml", "product_code":"dli", "code":"568", "des":"DLI exports Flink job output data to SMN.SMN provides reliable and flexible large-scale message notification services to DLI. It significantly simplifies system coupling ", "doc_type":"sqlreference", "kw":"SMN Sink Stream,Creating a Sink Stream,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SMN Sink Stream", "githuburl":"" }, { "uri":"dli_08_0258.html", "node_id":"dli_08_0258.xml", "product_code":"dli", "code":"569", "des":"The temporary stream is used to simplify SQL logic. If complex SQL logic is followed, write SQL statements concatenated with temporary streams. The temporary stream is ju", "doc_type":"sqlreference", "kw":"Creating a Temporary Stream,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Temporary Stream", "githuburl":"" }, { "uri":"dli_08_0259.html", "node_id":"dli_08_0259.xml", "product_code":"dli", "code":"570", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Creating a Dimension Table", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Dimension Table", "githuburl":"" }, { "uri":"dli_08_0260.html", "node_id":"dli_08_0260.xml", "product_code":"dli", "code":"571", "des":"Create a Redis table to connect to the source stream.For details about the JOIN syntax, see JOIN Between Stream Data and Table Data.Redis clusters are not supported.Ensur", "doc_type":"sqlreference", "kw":"Creating a Redis Table,Creating a Dimension Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Creating a Redis Table", "githuburl":"" }, { "uri":"dli_08_0261.html", "node_id":"dli_08_0261.xml", "product_code":"dli", "code":"572", "des":"Create an RDS or GaussDB(DWS) table to connect to the source stream.For details about the JOIN syntax, see JOIN.Ensure that you have created a PostgreSQL or MySQL RDS ins", "doc_type":"sqlreference", "kw":"Creating an RDS Table,Creating a Dimension Table,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Creating an RDS Table", "githuburl":"" }, { "uri":"dli_08_0272.html", "node_id":"dli_08_0272.xml", "product_code":"dli", "code":"573", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Custom Stream Ecosystem", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Custom Stream Ecosystem", "githuburl":"" }, { "uri":"dli_08_0273.html", "node_id":"dli_08_0273.xml", "product_code":"dli", "code":"574", "des":"Compile code to obtain data from the desired cloud ecosystem or open-source ecosystem as the input data of Flink jobs.The user-defined source class needs to inherit the R", "doc_type":"sqlreference", "kw":"Custom Source Stream,Custom Stream Ecosystem,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Custom Source Stream", "githuburl":"" }, { "uri":"dli_08_0274.html", "node_id":"dli_08_0274.xml", "product_code":"dli", "code":"575", "des":"Compile code to write the data processed by DLI to a specified cloud ecosystem or open-source ecosystem.The user-defined sink class needs to inherit the RichSinkFunction ", "doc_type":"sqlreference", "kw":"Custom Sink Stream,Custom Stream Ecosystem,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Custom Sink Stream", "githuburl":"" }, { "uri":"dli_08_0207.html", "node_id":"dli_08_0207.xml", "product_code":"dli", "code":"576", "des":"Data type is a basic attribute of data and used to distinguish different types of data. Different data types occupy different storage space and support different operatio", "doc_type":"sqlreference", "kw":"Data Type,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Data Type", "githuburl":"" }, { "uri":"dli_08_0086.html", "node_id":"dli_08_0086.xml", "product_code":"dli", "code":"577", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Built-In Functions", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Built-In Functions", "githuburl":"" }, { "uri":"dli_08_0191.html", "node_id":"dli_08_0191.xml", "product_code":"dli", "code":"578", "des":"All data types can be compared by using relational operators and the result is returned as a BOOLEAN value.Relationship operators are binary operators. Two compared data ", "doc_type":"sqlreference", "kw":"Mathematical Operation Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Mathematical Operation Functions", "githuburl":"" }, { "uri":"dli_08_0096.html", "node_id":"dli_08_0096.xml", "product_code":"dli", "code":"579", "des":"The common string functions of DLI are as follows:FunctionConcatenates two strings.Concatenates two strings.SyntaxVARCHAR VARCHAR a || VARCHAR bParametersa: string.b: str", "doc_type":"sqlreference", "kw":"String Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"String Functions", "githuburl":"" }, { "uri":"dli_08_0097.html", "node_id":"dli_08_0097.xml", "product_code":"dli", "code":"580", "des":"Table 1 lists the time functions supported by Flink SQL.None", "doc_type":"sqlreference", "kw":"Temporal Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Temporal Functions", "githuburl":"" }, { "uri":"dli_08_0112.html", "node_id":"dli_08_0112.xml", "product_code":"dli", "code":"581", "des":"This function is used to forcibly convert types.If the input is NULL, NULL is returned.Flink jobs do not support the conversion of bigint to timestamp using CAST. You can", "doc_type":"sqlreference", "kw":"Type Conversion Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Type Conversion Functions", "githuburl":"" }, { "uri":"dli_08_0104.html", "node_id":"dli_08_0104.xml", "product_code":"dli", "code":"582", "des":"An aggregate function performs a calculation operation on a set of input values and returns a value. For example, the COUNT function counts the number of rows retrieved b", "doc_type":"sqlreference", "kw":"Aggregate Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Aggregate Functions", "githuburl":"" }, { "uri":"dli_08_0206.html", "node_id":"dli_08_0206.xml", "product_code":"dli", "code":"583", "des":"Table-valued functions can convert one row of records into multiple rows or convert one column of records into multiple columns. Table-valued functions can only be used i", "doc_type":"sqlreference", "kw":"Table-Valued Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Table-Valued Functions", "githuburl":"" }, { "uri":"dli_08_0101.html", "node_id":"dli_08_0101.xml", "product_code":"dli", "code":"584", "des":"Example:The returned number of elements in the array is 3.HELLO WORLD is returned.", "doc_type":"sqlreference", "kw":"Other Functions,Built-In Functions,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Other Functions", "githuburl":"" }, { "uri":"dli_08_0099.html", "node_id":"dli_08_0099.xml", "product_code":"dli", "code":"585", "des":"DLI supports the following three types of user-defined functions (UDFs):Regular UDF: takes in one or more input parameters and returns a single result.User-defined table-", "doc_type":"sqlreference", "kw":"User-Defined Functions,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"User-Defined Functions", "githuburl":"" }, { "uri":"dli_08_0209.html", "node_id":"dli_08_0209.xml", "product_code":"dli", "code":"586", "des":"Table 1 describes the basic geospatial geometric elements.You can build complex geospatial geometries based on basic geospatial geometric elements. Table 2 describes the ", "doc_type":"sqlreference", "kw":"Geographical Functions,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Geographical Functions", "githuburl":"" }, { "uri":"dli_08_0102.html", "node_id":"dli_08_0102.xml", "product_code":"dli", "code":"587", "des":"SyntaxDescriptionThe SELECT statement is used to select data from a table or insert constant data into a table.PrecautionsThe table to be queried must exist. Otherwise, a", "doc_type":"sqlreference", "kw":"SELECT,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"SELECT", "githuburl":"" }, { "uri":"dli_08_0103.html", "node_id":"dli_08_0103.xml", "product_code":"dli", "code":"588", "des":"SyntaxorDescriptionIf the value of value is value1, result1 is returned; otherwise, resultZ is returned. If there is no else statement, null is returned.If the value of c", "doc_type":"sqlreference", "kw":"Condition Expression,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Condition Expression", "githuburl":"" }, { "uri":"dli_08_0218.html", "node_id":"dli_08_0218.xml", "product_code":"dli", "code":"589", "des":"DescriptionGroup Window is defined in GROUP BY. One record is generated from each group. Group Window involves the following functions:time_attr can be processing-time or", "doc_type":"sqlreference", "kw":"Window,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Window", "githuburl":"" }, { "uri":"dli_08_0106.html", "node_id":"dli_08_0106.xml", "product_code":"dli", "code":"590", "des":"The JOIN operation allows you to query data from a table and write the query result to the sink stream. Currently, only RDSs and DCS Redis tables are supported. The ON ke", "doc_type":"sqlreference", "kw":"JOIN Between Stream Data and Table Data,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"JOIN Between Stream Data and Table Data", "githuburl":"" }, { "uri":"dli_08_0107.html", "node_id":"dli_08_0107.xml", "product_code":"dli", "code":"591", "des":"Flink provides two time models: processing time and event time.DLI allows you to specify the time model during creation of the source stream and temporary stream.Processi", "doc_type":"sqlreference", "kw":"Configuring Time Models,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Configuring Time Models", "githuburl":"" }, { "uri":"dli_08_0108.html", "node_id":"dli_08_0108.xml", "product_code":"dli", "code":"592", "des":"Complex event processing (CEP) is used to detect complex patterns in endless data streams so as to identify and search patterns in various data rows. Pattern matching is ", "doc_type":"sqlreference", "kw":"Pattern Matching,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Pattern Matching", "githuburl":"" }, { "uri":"dli_08_0109.html", "node_id":"dli_08_0109.xml", "product_code":"dli", "code":"593", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"StreamingML", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"StreamingML", "githuburl":"" }, { "uri":"dli_08_0110.html", "node_id":"dli_08_0110.xml", "product_code":"dli", "code":"594", "des":"Anomaly detection applies to various scenarios, including intrusion detection, financial fraud detection, sensor data monitoring, medical diagnosis, natural data detectio", "doc_type":"sqlreference", "kw":"Anomaly Detection,StreamingML,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Anomaly Detection", "githuburl":"" }, { "uri":"dli_08_0111.html", "node_id":"dli_08_0111.xml", "product_code":"dli", "code":"595", "des":"Modeling and forecasting time series is a common task in many business verticals. Modeling is used to extract meaningful statistics and other characteristics of the data.", "doc_type":"sqlreference", "kw":"Time Series Forecasting,StreamingML,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Time Series Forecasting", "githuburl":"" }, { "uri":"dli_08_0216.html", "node_id":"dli_08_0216.xml", "product_code":"dli", "code":"596", "des":"Clustering algorithms belong to unsupervised algorithms. K-Means, a clustering algorithm, partitions data points into related clusters by calculating the distance between", "doc_type":"sqlreference", "kw":"Real-Time Clustering,StreamingML,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Real-Time Clustering", "githuburl":"" }, { "uri":"dli_08_0088.html", "node_id":"dli_08_0088.xml", "product_code":"dli", "code":"597", "des":"Deep learning has a wide range of applications in many industries, such as image classification, image recognition, and speech recognition. DLI provides several functions", "doc_type":"sqlreference", "kw":"Deep Learning Model Prediction,StreamingML,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Deep Learning Model Prediction", "githuburl":"" }, { "uri":"dli_08_0125.html", "node_id":"dli_08_0125.xml", "product_code":"dli", "code":"598", "des":"Flink SQL reserves some strings as keywords. If you want to use the following strings as field names, ensure that they are enclosed by back quotes, for example, `value` a", "doc_type":"sqlreference", "kw":"Reserved Keywords,Flink SQL Syntax,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Reserved Keywords", "githuburl":"" }, { "uri":"dli_08_0001.html", "node_id":"dli_08_0001.xml", "product_code":"dli", "code":"599", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Identifiers", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Identifiers", "githuburl":"" }, { "uri":"dli_08_0002.html", "node_id":"dli_08_0002.xml", "product_code":"dli", "code":"600", "des":"NoneAggregate function.aggregate_func is typically used in database queries to perform calculations on a set of values and return a single result.", "doc_type":"sqlreference", "kw":"aggregate_func,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"aggregate_func", "githuburl":"" }, { "uri":"dli_08_0003.html", "node_id":"dli_08_0003.xml", "product_code":"dli", "code":"601", "des":"None.Alias, which must be STRING type. It can be assigned to a field, table, view, or subquery.", "doc_type":"sqlreference", "kw":"alias,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"alias", "githuburl":"" }, { "uri":"dli_08_0004.html", "node_id":"dli_08_0004.xml", "product_code":"dli", "code":"602", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"attr_expr,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"attr_expr", "githuburl":"" }, { "uri":"dli_08_0005.html", "node_id":"dli_08_0005.xml", "product_code":"dli", "code":"603", "des":"None.List of attr_expr, which is separated by commas (,).", "doc_type":"sqlreference", "kw":"attr_expr_list,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"attr_expr_list", "githuburl":"" }, { "uri":"dli_08_0006.html", "node_id":"dli_08_0006.xml", "product_code":"dli", "code":"604", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"attrs_value_set_expr,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"attrs_value_set_expr", "githuburl":"" }, { "uri":"dli_08_0007.html", "node_id":"dli_08_0007.xml", "product_code":"dli", "code":"605", "des":"None.Return a boolean expression.", "doc_type":"sqlreference", "kw":"boolean_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"boolean_expression", "githuburl":"" }, { "uri":"dli_08_0009.html", "node_id":"dli_08_0009.xml", "product_code":"dli", "code":"606", "des":"None.Formal parameter for function call. It is usually a field name, which is the same as col_name.", "doc_type":"sqlreference", "kw":"col,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"col", "githuburl":"" }, { "uri":"dli_08_0010.html", "node_id":"dli_08_0010.xml", "product_code":"dli", "code":"607", "des":"None.Column (field) description, which must be STRING type and cannot exceed 256 bytes.", "doc_type":"sqlreference", "kw":"col_comment,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"col_comment", "githuburl":"" }, { "uri":"dli_08_0011.html", "node_id":"dli_08_0011.xml", "product_code":"dli", "code":"608", "des":"None.Column name, which must be STRING type and cannot exceed 128 bytes.", "doc_type":"sqlreference", "kw":"col_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"col_name", "githuburl":"" }, { "uri":"dli_08_0012.html", "node_id":"dli_08_0012.xml", "product_code":"dli", "code":"609", "des":"None.Field list, which consists of one col_name or more. If there is more than one col_name, separate them by using a comma (,).", "doc_type":"sqlreference", "kw":"col_name_list,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"col_name_list", "githuburl":"" }, { "uri":"dli_08_0013.html", "node_id":"dli_08_0013.xml", "product_code":"dli", "code":"610", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"condition,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"condition", "githuburl":"" }, { "uri":"dli_08_0014.html", "node_id":"dli_08_0014.xml", "product_code":"dli", "code":"611", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"condition_list,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"condition_list", "githuburl":"" }, { "uri":"dli_08_0015.html", "node_id":"dli_08_0015.xml", "product_code":"dli", "code":"612", "des":"None.Common expression name.", "doc_type":"sqlreference", "kw":"cte_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"cte_name", "githuburl":"" }, { "uri":"dli_08_0016.html", "node_id":"dli_08_0016.xml", "product_code":"dli", "code":"613", "des":"None.Data type. Currently, only the primitive data types are supported.", "doc_type":"sqlreference", "kw":"data_type,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"data_type", "githuburl":"" }, { "uri":"dli_08_0017.html", "node_id":"dli_08_0017.xml", "product_code":"dli", "code":"614", "des":"None.Database description, which must be STRING type and cannot exceed 256 characters.", "doc_type":"sqlreference", "kw":"db_comment,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"db_comment", "githuburl":"" }, { "uri":"dli_08_0018.html", "node_id":"dli_08_0018.xml", "product_code":"dli", "code":"615", "des":"None.Database name, which must be STRING type and cannot exceed 128 bytes.", "doc_type":"sqlreference", "kw":"db_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"db_name", "githuburl":"" }, { "uri":"dli_08_0019.html", "node_id":"dli_08_0019.xml", "product_code":"dli", "code":"616", "des":"None.Returned result for the ELSE clause of the CASE WHEN statement.", "doc_type":"sqlreference", "kw":"else_result_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"else_result_expression", "githuburl":"" }, { "uri":"dli_08_0020.html", "node_id":"dli_08_0020.xml", "product_code":"dli", "code":"617", "des":"| AVRO| CSV| JSON| ORC| PARQUETCurrently, the preceding formats are supported.Both USING and STORED AS can be used for specifying the data format. You can specify the pre", "doc_type":"sqlreference", "kw":"file_format,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"file_format", "githuburl":"" }, { "uri":"dli_08_0021.html", "node_id":"dli_08_0021.xml", "product_code":"dli", "code":"618", "des":"None.File path, which is the OBS path", "doc_type":"sqlreference", "kw":"file_path,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"file_path", "githuburl":"" }, { "uri":"dli_08_0022.html", "node_id":"dli_08_0022.xml", "product_code":"dli", "code":"619", "des":"None.Function name, which must be STRING type.", "doc_type":"sqlreference", "kw":"function_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"function_name", "githuburl":"" }, { "uri":"dli_08_0023.html", "node_id":"dli_08_0023.xml", "product_code":"dli", "code":"620", "des":"None.Expression that includes GROUP BY.", "doc_type":"sqlreference", "kw":"groupby_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"groupby_expression", "githuburl":"" }, { "uri":"dli_08_0024.html", "node_id":"dli_08_0024.xml", "product_code":"dli", "code":"621", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"having_condition,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"having_condition", "githuburl":"" }, { "uri":"dli_08_0026.html", "node_id":"dli_08_0026.xml", "product_code":"dli", "code":"622", "des":"None.Input expression of the CASE WHEN statement.", "doc_type":"sqlreference", "kw":"input_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"input_expression", "githuburl":"" }, { "uri":"dli_08_0029.html", "node_id":"dli_08_0029.xml", "product_code":"dli", "code":"623", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"join_condition,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"join_condition", "githuburl":"" }, { "uri":"dli_08_0030.html", "node_id":"dli_08_0030.xml", "product_code":"dli", "code":"624", "des":"None.The condition of an inequality join.", "doc_type":"sqlreference", "kw":"non_equi_join_condition,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"non_equi_join_condition", "githuburl":"" }, { "uri":"dli_08_0031.html", "node_id":"dli_08_0031.xml", "product_code":"dli", "code":"625", "des":"None.Maximum number of output lines specified by LIMIT. Which must be INT type.", "doc_type":"sqlreference", "kw":"number,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"number", "githuburl":"" }, { "uri":"dli_08_0034.html", "node_id":"dli_08_0034.xml", "product_code":"dli", "code":"626", "des":"None.Partition column name, that is, partition field name, which must be STRING type.", "doc_type":"sqlreference", "kw":"partition_col_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"partition_col_name", "githuburl":"" }, { "uri":"dli_08_0035.html", "node_id":"dli_08_0035.xml", "product_code":"dli", "code":"627", "des":"None.Partition column value, that is, partition field value.", "doc_type":"sqlreference", "kw":"partition_col_value,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"partition_col_value", "githuburl":"" }, { "uri":"dli_08_0036.html", "node_id":"dli_08_0036.xml", "product_code":"dli", "code":"628", "des":"partition_specs : (partition_col_name = partition_col_value, partition_col_name = partition_col_value, ...);Table partition list, which is expressed by using key=value pa", "doc_type":"sqlreference", "kw":"partition_specs,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"partition_specs", "githuburl":"" }, { "uri":"dli_08_0037.html", "node_id":"dli_08_0037.xml", "product_code":"dli", "code":"629", "des":"None.Property name, which must be STRING type.", "doc_type":"sqlreference", "kw":"property_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"property_name", "githuburl":"" }, { "uri":"dli_08_0038.html", "node_id":"dli_08_0038.xml", "product_code":"dli", "code":"630", "des":"None.Property value, which must be STRING type.", "doc_type":"sqlreference", "kw":"property_value,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"property_value", "githuburl":"" }, { "uri":"dli_08_0039.html", "node_id":"dli_08_0039.xml", "product_code":"dli", "code":"631", "des":"None.Pattern matching string, which supports wildcard matching.", "doc_type":"sqlreference", "kw":"regex_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"regex_expression", "githuburl":"" }, { "uri":"dli_08_0040.html", "node_id":"dli_08_0040.xml", "product_code":"dli", "code":"632", "des":"None.Returned result for the THEN clause of the CASE WHEN statement.", "doc_type":"sqlreference", "kw":"result_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"result_expression", "githuburl":"" }, { "uri":"dli_08_0042.html", "node_id":"dli_08_0042.xml", "product_code":"dli", "code":"633", "des":"None.Query clause for the basic SELECT statement.", "doc_type":"sqlreference", "kw":"select_statement,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"select_statement", "githuburl":"" }, { "uri":"dli_08_0043.html", "node_id":"dli_08_0043.xml", "product_code":"dli", "code":"634", "des":"None.Separator, which can be customized by users, for example, comma (,), semicolon (;), and colon (:). Which must be CHAR type.", "doc_type":"sqlreference", "kw":"separator,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"separator", "githuburl":"" }, { "uri":"dli_08_0045.html", "node_id":"dli_08_0045.xml", "product_code":"dli", "code":"635", "des":"None.SQL statement containing the common expression defined by cte_name.", "doc_type":"sqlreference", "kw":"sql_containing_cte_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"sql_containing_cte_name", "githuburl":"" }, { "uri":"dli_08_0046.html", "node_id":"dli_08_0046.xml", "product_code":"dli", "code":"636", "des":"None.Subquery.", "doc_type":"sqlreference", "kw":"sub_query,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"sub_query", "githuburl":"" }, { "uri":"dli_08_0047.html", "node_id":"dli_08_0047.xml", "product_code":"dli", "code":"637", "des":"None.Table description, which must be STRING type and cannot exceed 256 bytes.", "doc_type":"sqlreference", "kw":"table_comment,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"table_comment", "githuburl":"" }, { "uri":"dli_08_0048.html", "node_id":"dli_08_0048.xml", "product_code":"dli", "code":"638", "des":"NoneTable name, which cannot exceed 128 bytes. The string type and \"$\" symbol are supported.", "doc_type":"sqlreference", "kw":"table_name,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"table_name", "githuburl":"" }, { "uri":"dli_08_0049.html", "node_id":"dli_08_0049.xml", "product_code":"dli", "code":"639", "des":"None.Table property list, which is expressed by using key=value pairs. key represents property_name, and value represents property_value. If there is more than one key=va", "doc_type":"sqlreference", "kw":"table_properties,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"table_properties", "githuburl":"" }, { "uri":"dli_08_0050.html", "node_id":"dli_08_0050.xml", "product_code":"dli", "code":"640", "des":"None.Table or view name, which must be STRING type. It can also be a subquery. If it is subquery, an alias must also be provided.", "doc_type":"sqlreference", "kw":"table_reference,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"table_reference", "githuburl":"" }, { "uri":"dli_08_0053.html", "node_id":"dli_08_0053.xml", "product_code":"dli", "code":"641", "des":"None.When expression of the CASE WHEN statement. It is used for matching with the input expression.", "doc_type":"sqlreference", "kw":"when_expression,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"when_expression", "githuburl":"" }, { "uri":"dli_08_0054.html", "node_id":"dli_08_0054.xml", "product_code":"dli", "code":"642", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"where_condition,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"where_condition", "githuburl":"" }, { "uri":"dli_08_0055.html", "node_id":"dli_08_0055.xml", "product_code":"dli", "code":"643", "des":"NoneAnalysis window function.", "doc_type":"sqlreference", "kw":"window_function,Identifiers,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"window_function", "githuburl":"" }, { "uri":"dli_08_0060.html", "node_id":"dli_08_0060.xml", "product_code":"dli", "code":"644", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Operators", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Operators", "githuburl":"" }, { "uri":"dli_08_0061.html", "node_id":"dli_08_0061.xml", "product_code":"dli", "code":"645", "des":"All data types can be compared by using relational operators and the result is returned as a BOOLEAN value.Relationship operators are binary operators. Two compared data ", "doc_type":"sqlreference", "kw":"Relational Operators,Operators,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Relational Operators", "githuburl":"" }, { "uri":"dli_08_0062.html", "node_id":"dli_08_0062.xml", "product_code":"dli", "code":"646", "des":"Arithmetic operators include binary operators and unary operators. For both types of operators, the returned results are numbers. Table 1 lists the arithmetic operators s", "doc_type":"sqlreference", "kw":"Arithmetic Operators,Operators,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Arithmetic Operators", "githuburl":"" }, { "uri":"dli_08_0063.html", "node_id":"dli_08_0063.xml", "product_code":"dli", "code":"647", "des":"Common logical operators include AND, OR, and NOT. The operation result can be TRUE, FALSE, or NULL (which means unknown). The priorities of the operators are as follows:", "doc_type":"sqlreference", "kw":"Logical Operators,Operators,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "opensource":"true", "IsBot":"Yes" } ], "title":"Logical Operators", "githuburl":"" }, { "uri":"dli_08_00005.html", "node_id":"dli_08_00005.xml", "product_code":"dli", "code":"648", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"sqlreference", "kw":"Change History,SQL Syntax Reference", "search_title":"", "metedata":[ { "prodname":"dli", "documenttype":"sqlreference", "IsBot":"Yes", "opensource":"true" } ], "title":"Change History", "githuburl":"" } ]