Unsupported Features and Limitations

Unsupported Features

Unsupported Operators

Unsupported Functions

The compute layer of DDM does not support the following functions:

SQL Syntax

SELECT

SORT and LIMIT

Aggregation

Function asc or desc cannot be used in the GROUP BY statement to sort out results.
  • DDM automatically ignores keyword asc or desc after GROUP BY.
  • In MySQL versions earlier than 8.0.13, function asc or desc can be used in the GROUP BY statement to sort out results. In MySQL 8.0.13 or later, a syntax error is reported if you use function asc or desc this way. ORDER BY is recommended for sorting.

Subqueries

LOAD DATA

INSERT and REPLACE

UPDATE and DELETE

DDL

Indexes

Table Recycle Bins

Transactions

Permissions

Database Management Statements

INFORMATION_SCHEMA

Broadcast Tables

If a broadcast table is used, do not use any function that has different results returned each time it is executed. Otherwise, data inconsistency will occur between different shards. If such functions are indeed required, calculate their results, write the results to your SQL statements, and then execute the SQL statements on the broadcast table. Functions of this type include but are not limited to the following: