This is an automated email from the ASF dual-hosted git repository.

nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-python-thin-client.git


The following commit(s) were added to refs/heads/master by this push:
     new d2be395  IGNITE-29117 Fix test to forcefully use H2 engine, because of 
Calcite default (#68)
d2be395 is described below

commit d2be395525d26aa73dc8b024a24ac649ba1923d2
Author: Nikolay <[email protected]>
AuthorDate: Tue Oct 20 15:00:19 2026 +0300

    IGNITE-29117 Fix test to forcefully use H2 engine, because of Calcite 
default (#68)
---
 .github/workflows/pr_check.yml        |  6 ++++--
 tests/config/ignite-config.xml.jinja2 | 13 +++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml
index f9f5f98..ac09212 100644
--- a/.github/workflows/pr_check.yml
+++ b/.github/workflows/pr_check.yml
@@ -46,10 +46,12 @@ jobs:
           python-version: ${{ matrix.cfg.python}}
       - name: Install Apache Ignite
         run: |
-          curl -L 
https://archive.apache.org/dist/ignite/${IGNITE_VERSION}/apache-ignite-slim-${IGNITE_VERSION}-bin.zip
 > ignite.zip
+          curl -L 
https://archive.apache.org/dist/ignite/${IGNITE_VERSION}/apache-ignite-${IGNITE_VERSION}-bin.zip
 > ignite.zip
           unzip ignite.zip -d /opt
-          mv /opt/apache-ignite-slim-${IGNITE_VERSION}-bin /opt/ignite
+          mv /opt/apache-ignite-${IGNITE_VERSION}-bin /opt/ignite
           mv /opt/ignite/libs/optional/ignite-log4j2 /opt/ignite/libs/
+          # The test configuration references both SQL engines: the Calcite 
module is optional before Ignite 2.19.
+          mv /opt/ignite/libs/optional/ignite-calcite /opt/ignite/libs/
 
       - name: Install tox
         run: |
diff --git a/tests/config/ignite-config.xml.jinja2 
b/tests/config/ignite-config.xml.jinja2
index 22b103e..399bdd9 100644
--- a/tests/config/ignite-config.xml.jinja2
+++ b/tests/config/ignite-config.xml.jinja2
@@ -27,6 +27,19 @@
         http://www.springframework.org/schema/util/spring-util.xsd";>
 
     <bean id="grid.cfg" 
class="org.apache.ignite.configuration.IgniteConfiguration">
+        <property name="sqlConfiguration">
+            <bean class="org.apache.ignite.configuration.SqlConfiguration">
+                <property name="queryEnginesConfiguration">
+                    <list>
+                        <bean 
class="org.apache.ignite.indexing.IndexingQueryEngineConfiguration">
+                            <property name="default" value="true"/>
+                        </bean>
+                        <bean 
class="org.apache.ignite.calcite.CalciteQueryEngineConfiguration"/>
+                    </list>
+                </property>
+            </bean>
+        </property>
+
         <property name="dataStorageConfiguration">
             <bean 
class="org.apache.ignite.configuration.DataStorageConfiguration">
                 <property name="defaultDataRegionConfiguration">

Reply via email to