Constraints
Operator Acceleration Constraints
- Currently, the UDF plugin supports only simple UDFs. It is used to execute UDFs compiled based on the Hive UDF framework.
- Currently, 64-bit and 128-bit Decimal data types are supported. If the Decimal data exceeds 128 bits, an exception is thrown or null is returned. In this case, an issue that does not match native behaviors of the engine may occur. For example, during SUM or AVG aggregation, if the intermediate result exceeds Decimal 128 bits, the engine native behaviors are normal, but OmniOperator throws an exception or returns null based on the configuration. If AVG calculation is required for a field and the accumulated result may be too large, use other storage types such as Double.
- Different loads require different memory configurations. For example, for a TPC-DS 3 TB dataset, the recommended SparkExtension configuration requires that off-heap memory be greater than or equal to 30 GB so that all the 99 SQL statements can be successfully executed. During the execution, "MEM_CAP_EXCEEDED" may be reported in logs, but the execution result is not affected. If the off-heap memory is insufficient, the SQL execution result may be incorrect.
Scenarios Where Rewriting Is Not Supported or Materialized Views Cannot Be Extracted
For the Spark engine, the scenarios and rules are listed in Table 1.
For the ClickHouse engine, the scenarios and rules are listed in Table 2.
Scenario |
Rule |
Description |
|---|---|---|
Rewriting is not supported. |
Basic rules |
|
Rewriting is not supported. |
Join rules |
|
Rewriting is not supported. |
Aggregate rules |
|
Materialized views cannot be extracted. |
The query logic is too simple or complex. |
|
Scenario |
Rule |
Description |
|---|---|---|
Rewriting is not supported. |
Engine-defined rules |
|
Materialized views cannot be extracted. |
The query logic is too simple or complex. |
A subquery for which Projection can be created must be a subquery on a single table. That is, the FROM clause contains only one table and must contain the group by clause. In other scenarios, Projection cannot be extracted. |
Parent topic: Feature Description