Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
1122964
initial
Dec 9, 2025
6e31f88
fix
Dec 9, 2025
6e9a0af
fix
Dec 9, 2025
b71819d
fix
Dec 9, 2025
30f0245
fix
Dec 9, 2025
7f9cf2d
stat store params
Dec 10, 2025
edc7117
fix
Dec 10, 2025
b069fa9
interm
Dec 11, 2025
c92bebb
join wip
Dec 11, 2025
6a5db92
fix
Dec 11, 2025
f16421e
fix
Dec 11, 2025
bbead82
fix
Dec 11, 2025
b7d6a8f
fix
Dec 12, 2025
2856d54
fix
Dec 12, 2025
7d5c478
fix
Dec 12, 2025
f1ae4b8
fix
Dec 12, 2025
7d19fb5
fix
Dec 12, 2025
6a39da0
fix
Dec 15, 2025
5adf3bb
fix
Dec 15, 2025
7d74437
fix
Dec 15, 2025
4f117e8
fix
Dec 15, 2025
c2a53bf
fix
Dec 15, 2025
4c839fb
fix
Dec 16, 2025
a099e0d
fix
Dec 16, 2025
aa4bb55
fix
Dec 16, 2025
aa1d610
fix
Dec 16, 2025
d64cc36
fix mass imports
Dec 17, 2025
00aa65f
fix
Dec 17, 2025
8d4d04f
fix
Dec 18, 2025
bbe5d5a
fix
Dec 18, 2025
601faa6
fix
Dec 18, 2025
c5d5f06
fix
Dec 18, 2025
443ff40
fix
Dec 18, 2025
505a791
fix
Dec 18, 2025
8c38046
fix
Dec 19, 2025
2d25bf8
fix
Dec 20, 2025
514334e
fix
Dec 20, 2025
3c80653
fix
Dec 20, 2025
606a440
fix
Dec 21, 2025
e5ae334
fix
Dec 22, 2025
bee05f7
fix
Dec 22, 2025
096c9df
fix
Dec 22, 2025
a374510
fix
Jan 5, 2026
12bc753
fix
Jan 5, 2026
a50febf
fix
Jan 6, 2026
a5bb5e8
fix
Jan 8, 2026
b3d6355
fix
Jan 9, 2026
de4389a
fix
Jan 9, 2026
56d28ac
fix
Jan 9, 2026
6bb0fb4
fix
Jan 12, 2026
817bf67
fix
Jan 13, 2026
94538d3
wip
Jan 24, 2026
6e36fe9
wip
Jan 24, 2026
15fe45f
wip
Jan 25, 2026
51bb029
wip
Jan 25, 2026
9cf3783
fix
Jan 31, 2026
2202217
fix
Jan 31, 2026
1b31d59
wip
Feb 1, 2026
c56e782
wip
Feb 2, 2026
852237c
wip
Feb 3, 2026
eac1089
wip
Feb 3, 2026
e229225
wip
Feb 3, 2026
2e8176c
fix
Feb 5, 2026
e3cdcbd
interm
Mar 21, 2026
d7a94bc
interm
Mar 21, 2026
4b4ebec
interm
Mar 29, 2026
0ef4939
interm
Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@
import org.apache.ignite.examples.ComputeScheduleExampleMultiNodeSelfTest;
import org.apache.ignite.examples.ComputeScheduleExampleSelfTest;
import org.apache.ignite.testframework.GridTestUtils;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.jupiter.api.BeforeAll;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.platform.suite.api.Suite;

import static org.apache.ignite.IgniteSystemProperties.IGNITE_OVERRIDE_MCAST_GRP;

/**
* Examples test suite. <p> Contains only Spring ignite examples tests.
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
@Suite
@SelectClasses({
ComputeScheduleExampleSelfTest.class,

// Multi-node.
ComputeScheduleExampleMultiNodeSelfTest.class
})
public class IgniteLgplExamplesSelfTestSuite {
/** */
@BeforeClass
@BeforeAll
public static void init() {
System.setProperty(IGNITE_OVERRIDE_MCAST_GRP,
GridTestUtils.getNextMulticastGroup(IgniteLgplExamplesSelfTestSuite.class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
* <p>
* Contains all Ignite examples tests.</p>
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
@Suite
@SelectClasses({
CacheExamplesSelfTest.class,
SqlExamplesSelfTest.class,
BasicExamplesSelfTest.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.apache.ignite.configuration.SqlConfiguration;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/** */
public class QueryEntityValueColumnAliasTest extends GridCommonAbstractTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@

package org.apache.ignite.internal.processors.cache;

import java.util.ArrayList;
import java.util.List;
import org.apache.ignite.Ignite;
import org.apache.ignite.cache.CacheAtomicityMode;
import org.apache.ignite.cache.query.SqlFieldsQuery;
import org.apache.ignite.cache.query.annotations.QuerySqlFunction;
import org.apache.ignite.calcite.CalciteQueryEngineConfiguration;
Expand All @@ -33,40 +31,17 @@
import org.apache.ignite.session.SessionContext;
import org.apache.ignite.session.SessionContextProvider;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

/** */
@RunWith(Parameterized.class)
public class SessionContextSqlFunctionTest extends GridCommonAbstractTest {
/** */
private static final String SESSION_ID = "sessionId";

/** */
private Ignite ign;

/** */
@Parameterized.Parameter
public CacheAtomicityMode mode;

/** */
@Parameterized.Parameter(1)
public boolean isClnNode;

/** */
@Parameterized.Parameters(name = "mode={0}, isClnNode={1}")
public static List<Object[]> parameters() {
List<Object[]> params = new ArrayList<>();

for (CacheAtomicityMode m: CacheAtomicityMode.values()) {
params.add(new Object[] {m, false});
params.add(new Object[] {m, true});
}

return params;
}

/** */
@Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
Expand All @@ -85,11 +60,6 @@ public static List<Object[]> parameters() {
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
ign = startGrids(3);

if (isClnNode)
ign = startClientGrid(3);

query(ign, "create table PUBLIC.MYTABLE(id int primary key, sessionId varchar);");
}

/** {@inheritDoc} */
Expand All @@ -98,8 +68,14 @@ public static List<Object[]> parameters() {
}

/** */
@Test
public void testWhereClause() {
@ParameterizedTest(name = "client={0}")
@ValueSource(booleans = {true, false})
public void testWhereClause(boolean isClnNode) throws Exception {
if (isClnNode)
ign = startClientGrid(3);

query(ign, "create table PUBLIC.MYTABLE(id int primary key, sessionId varchar);");

for (int i = 0; i < 100; i++) {
String sesId = i % 2 == 0 ? "1" : "2";

Expand All @@ -122,8 +98,14 @@ public void testWhereClause() {
}

/** */
@Test
public void testInsertClause() {
@ParameterizedTest(name = "client={0}")
@ValueSource(booleans = {true, false})
public void testInsertClause(boolean isClnNode) throws Exception {
if (isClnNode)
ign = startClientGrid(3);

query(ign, "create table PUBLIC.MYTABLE(id int primary key, sessionId varchar);");

for (int i = 0; i < 100; i++) {
String sesId = i % 2 == 0 ? "1" : "2";

Expand All @@ -142,8 +124,14 @@ public void testInsertClause() {
}

/** */
@Test
public void testNestedQuery() {
@ParameterizedTest(name = "client={0}")
@ValueSource(booleans = {true, false})
public void testNestedQuery(boolean isClnNode) throws Exception {
if (isClnNode)
ign = startClientGrid(3);

query(ign, "create table PUBLIC.MYTABLE(id int primary key, sessionId varchar);");

for (int i = 0; i < 100; i++) {
String sesId = i % 2 == 0 ? "1" : "2";

Expand All @@ -170,8 +158,14 @@ public void testNestedQuery() {
}

/** */
@Test
public void testOverwriteApplicationAttributes() {
@ParameterizedTest(name = "client={0}")
@ValueSource(booleans = {true, false})
public void testOverwriteApplicationAttributes(boolean isClnNode) throws Exception {
if (isClnNode)
ign = startClientGrid(3);

query(ign, "create table PUBLIC.MYTABLE(id int primary key, sessionId varchar);");

Ignite ignApp = ign;

for (int i = 0; i < 100; i++) {
Expand All @@ -192,8 +186,14 @@ public void testOverwriteApplicationAttributes() {
}

/** */
@Test
public void testMultithreadApplication() throws Exception {
@ParameterizedTest(name = "client={0}")
@ValueSource(booleans = {true, false})
public void testMultithreadApplication(boolean isClnNode) throws Exception {
if (isClnNode)
ign = startClientGrid(3);

query(ign, "create table PUBLIC.MYTABLE(id int primary key, sessionId varchar);");

String sesId = "1";

Ignite ignApp = ign.withApplicationAttributes(F.asMap(SESSION_ID, sesId));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
import org.apache.ignite.testframework.junits.WithSystemProperty;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.hamcrest.CoreMatchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static org.apache.ignite.internal.processors.query.calcite.QueryChecker.awaitReservationsRelease;
import static org.apache.ignite.internal.processors.query.calcite.QueryChecker.containsIndexScan;
Expand All @@ -69,7 +69,7 @@
import static org.apache.ignite.testframework.GridTestUtils.waitForCondition;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
import static org.hamcrest.MatcherAssert.assertThat;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@
import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Assert;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static java.util.Collections.singletonList;
import static org.apache.ignite.cache.query.QueryCancelledException.ERR_MSG;
import static org.apache.ignite.internal.processors.query.calcite.QueryChecker.awaitReservationsRelease;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

/**
* Cancel query test.
Expand Down Expand Up @@ -148,7 +149,7 @@ public void testNotOriginatorNodeStop() throws Exception {
fail("Unexpected exception: " + ex);
}

Assert.assertTrue(GridTestUtils.waitForCondition(
assertTrue(GridTestUtils.waitForCondition(
() -> engine.runningQueries().isEmpty(), 10_000));

awaitReservationsRelease(grid(0), "TEST");
Expand All @@ -175,7 +176,7 @@ public void testOriginatorNodeStop() throws Exception {
CalciteQueryProcessor engine1 = (CalciteQueryProcessor)Commons.lookupComponent(
grid(1).context(), QueryEngine.class);

Assert.assertTrue(GridTestUtils.waitForCondition(
assertTrue(GridTestUtils.waitForCondition(
() -> engine1.runningQueries().isEmpty(), 10_000));

awaitReservationsRelease(grid(1), "TEST");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,7 @@
import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.transactions.Transaction;
import org.hamcrest.CoreMatchers;
import org.hamcrest.CustomTypeSafeMatcher;
import org.hamcrest.Matcher;
import org.hamcrest.core.SubstringMatcher;

import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;

/**
* Query checker.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

package org.apache.ignite.internal.processors.query.calcite;

import org.junit.jupiter.api.Test;
import org.hamcrest.Matcher;
import org.junit.Test;

import static org.apache.ignite.internal.processors.query.calcite.QueryChecker.containsResultRowCount;
import static org.apache.ignite.internal.processors.query.calcite.QueryChecker.matchesOnce;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

/** Query checker tests. */
public class QueryCheckerTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.apache.ignite.internal.util.typedef.G;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.AfterClass;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static java.util.Collections.singletonList;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

/**
*
Expand All @@ -44,16 +44,16 @@ public class ClosableIteratorsHolderTest extends GridCommonAbstractTest {
private ClosableIteratorsHolder holder;

/** */
@Before
@BeforeEach
public void setup() throws Exception {
iterators = Collections.newSetFromMap(new ConcurrentHashMap<>());
holder = new ClosableIteratorsHolder(log());
holder.init();
}

/** */
@After
public void tearDown() throws Exception {
@AfterEach
public void tearDown() {
holder.tearDown();

holder = null;
Expand Down Expand Up @@ -101,7 +101,7 @@ private ClosableIterator() {
}

/** {@inheritDoc} */
@Override public void close() throws Exception {
@Override public void close() {
Optional.ofNullable(iterators)
.ifPresent(set -> set.remove(this));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
import org.apache.ignite.internal.processors.cache.version.GridCacheVersion;
import org.apache.ignite.internal.util.lang.GridCursor;
import org.apache.ignite.internal.util.typedef.internal.CU;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

/** */
public class KeyFilteringCursorTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static org.apache.calcite.tools.Frameworks.createRootSchema;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import org.apache.ignite.internal.processors.query.calcite.type.IgniteTypeFactory;
import org.apache.ignite.internal.processors.query.calcite.type.IgniteTypeSystem;
import org.apache.ignite.internal.processors.query.calcite.util.Commons;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

/** Test for numeric types precisions. */
public class NumericTypesPrecisionsTest {
Expand Down Expand Up @@ -196,7 +196,7 @@ private static void doTestExpectedLeastRestrictive(RelDataType testType, RelData
for (int i = 0; i < TEST_SUITE.length; ++i) {
RelDataType actualType = TYPE_FACTORY.leastRestrictive(Arrays.asList(testType, TEST_SUITE[i]));

assertEquals("leastRestrictive(" + testType + ", " + TEST_SUITE[i] + ")", expectedLeast[i], actualType);
assertEquals(expectedLeast[i], actualType, "leastRestrictive(" + testType + ", " + TEST_SUITE[i] + ")");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import org.apache.ignite.internal.processors.query.calcite.util.TypeUtils;
import org.apache.ignite.internal.util.lang.GridCursor;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
*
Expand Down
Loading
Loading