Apache Calcite is introduced in the backend to support query limits.
Tests
CustomSqlParserTest.
FlinkSqlGatewayExecutorTest
API and Format
/**
* Executes an SQL statement.
*
* @param statement The SQL statement to be executed.
* @param maxRows The maximum number of rows to return in the result set.
* @return SubmitResult containing information about the execution result.
* @throws Exception if there is an error executing the SQL statement.
*/
ExecutionResult executeSql(String statement, int maxRows) throws Exception;
close: https://github.com/apache/paimon-webui/issues/501
Purpose
Apache Calcite is introduced in the backend to support query limits.
Tests
CustomSqlParserTest
.FlinkSqlGatewayExecutorTest
API and Format