alex-plekhanov commented on code in PR #10002:
URL: https://github.com/apache/ignite/pull/10002#discussion_r861497524


##########
docs/_docs/SQL/sql-calcite.adoc:
##########
@@ -0,0 +1,251 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+= Calcite-based SQL engine
+
+Apache Ignite since 2.13 version includes the new SQL engine based on the 
Apache Calcite framework.
+
+Apache Calcite is a dynamic data management framework, which mainly serves for 
mediating between applications and one or more data storage locations and data 
processing engines. For more information on Apache Calcite, please see the 
link:https://calcite.apache.org/docs[product documentation, window=_blank].
+
+Current H2-based SQL engine has some fundamental limitations of query 
execution in distributed environment. To address these limitations the new SQL 
engine was developed. The new engine uses tools, provided by Apache Calcite, 
for parsing and planning queries, and has a new query execution flow.
+
+CAUTION: The Calcite-based query engine is currently in beta status.
+
+== Calcite module libraries
+
+To use Calcite-based engine Calcite module libraries should be in a classpath.
+
+CAUTION: At now some logic from `ignite-indexing` module is reused, this means 
`ignite-indexing` module also has to be present at classpath.
+
+=== Standalone mode
+
+When starting a standalone node, move `optional/ignite-calcite` and 
`optional/ignite-slf4j` folders to `libs` folder before running 
`ignite.{sh|bat}` script. The content of the module folder will be added to 
classpath in this case.
+
+=== Maven configuration
+
+If you are using Maven to manage dependencies of your project, you can add 
Calcite module dependency like this (replace `${ignite.version}` with the 
actual Apache Ignite version you are interested in):
+
+[tabs]
+--
+tab:XML[]
+[source,xml]
+----
+<dependency>
+    <groupId>org.apache.ignite</groupId>
+    <artifactId>ignite-calcite</artifactId>
+    <version>${ignite.version}</version>
+</dependency>
+----
+--
+
+== Configuring query engines
+
+To enable engine for queries explicit `CalciteQueryEngineConfiguration` 
instance should be added to `SqlConfiguration.QueryEnginesConfiguration` 
property.

Review Comment:
   Sounds a little bit strange for me. We enable or disable engines by 
configuring property. Perhaps, just "To enable engine, add the explicit ..." 
will be better, WDYT?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to