[ https://issues.apache.org/jira/browse/IGNITE-13336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233139#comment-17233139 ]
Ignite TC Bot commented on IGNITE-13336: ---------------------------------------- {panel:title=Branch: [pull/8459/head] Base: [master] : Possible Blockers (51)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1} {color:#d04437}Cache 6{color} [[tests 5 Out Of Memory Error |https://ci.ignite.apache.org/viewLog.html?buildId=5738544]] * org.apache.ignite.testsuites.IgniteCacheTestSuite6: org.apache.ignite.internal.processors.cache.distributed.IgnitePessimisticTxSuspendResumeTest. - History for base branch is absent. * IgniteCacheTestSuite6: CacheExchangeMergeTest.testMergeAndNewCoordinator - Test has low fail rate in base branch 0,0% and is not flaky * IgniteCacheTestSuite6: CacheExchangeMergeTest.testStartCacheOnJoinAndJoinMerge_4_nodes - Test has low fail rate in base branch 0,0% and is not flaky * IgniteCacheTestSuite6: GridCachePartitionEvictionDuringReadThroughSelfTest.testPartitionRent - Test has low fail rate in base branch 0,0% and is not flaky * org.apache.ignite.testsuites.IgniteCacheTestSuite6: org.apache.ignite.internal.processors.cache.distributed.IgniteOptimisticTxSuspendResumeTest. - History for base branch is absent. {color:#d04437}Control Utility (Zookeeper){color} [[tests 0 TIMEOUT , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5738594]] {color:#d04437}Cache (Expiry Policy){color} [[tests 0 Out Of Memory Error |https://ci.ignite.apache.org/viewLog.html?buildId=5738529]] {color:#d04437}Basic 1{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5738519]] * IgniteBasicTestSuite: MarshallerContextLockingSelfTest.testMultithreadedUpdate - Test has low fail rate in base branch 0,0% and is not flaky {color:#d04437}Cache 9{color} [[tests 2 Out Of Memory Error |https://ci.ignite.apache.org/viewLog.html?buildId=5738547]] * IgniteCacheTestSuite9: IgniteTxCacheWriteSynchronizationModesMultithreadedTest.testMultithreadedPrimarySyncRestart - Test has low fail rate in base branch 0,0% and is not flaky * IgniteCacheTestSuite9: IgniteTxCacheWriteSynchronizationModesMultithreadedTest.testMultithreadedFullSyncRestart - Test has low fail rate in base branch 0,0% and is not flaky {color:#d04437}Platform .NET{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=5738560]] * exe: CancellationTest.TestClosures - Test has low fail rate in base branch 0,0% and is not flaky * exe: ComputeClientTests.TestExecuteJavaTaskWithTimeout - Test has low fail rate in base branch 0,8% and is not flaky {color:#d04437}Platform C++ CMake (Win x64 / Release){color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5738595]] * IgniteCoreTest: CacheTestSuiteNativePersistence: TestWal - Test has low fail rate in base branch 0,0% and is not flaky {color:#d04437}Thin client: Node.js{color} [[tests 35 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5738518]] * cache configuration operations test suite >: create cache - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: create cache twice - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: get or create cache - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: get cache names - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: destroy cache - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: create cache with configuration - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: create cache with wrong args - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: get or create cache with wrong args - Test has low fail rate in base branch 0,0% and is not flaky * cache configuration operations test suite >: get cache with wrong args - Test has low fail rate in base branch 0,0% and is not flaky * sql fields query test suite >: get all with page size lazy false - Test has low fail rate in base branch 0,0% and is not flaky * scan query test suite >: get all - Test has low fail rate in base branch 0,0% and is not flaky ... and 24 tests blockers {panel} {panel:title=Branch: [pull/8459/head] Base: [master] : New Tests (8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1} {color:#00008b}Cache 6{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=5738544]] * {color:#8b0000}org.apache.ignite.testsuites.IgniteCacheTestSuite6: org.apache.ignite.internal.processors.cache.distributed.IgnitePessimisticTxSuspendResumeTest. - FAILED{color} * {color:#8b0000}org.apache.ignite.testsuites.IgniteCacheTestSuite6: org.apache.ignite.internal.processors.cache.distributed.IgniteOptimisticTxSuspendResumeTest. - FAILED{color} {color:#00008b}Platform .NET (Core Linux){color} [[tests 3|https://ci.ignite.apache.org/viewLog.html?buildId=5738561]] * {color:#013220}dll: CacheLinqTest.TestInvokeThrowsNotSupportedException - PASSED{color} * {color:#013220}dll: CacheLinqTestSqlEscapeAll.TestInvokeThrowsNotSupportedException - PASSED{color} * {color:#013220}dll: CacheLinqTestSimpleName.TestInvokeThrowsNotSupportedException - PASSED{color} {color:#00008b}Platform .NET{color} [[tests 3|https://ci.ignite.apache.org/viewLog.html?buildId=5738560]] * {color:#013220}exe: CacheLinqTest.TestInvokeThrowsNotSupportedException - PASSED{color} * {color:#013220}exe: CacheLinqTest.TestInvokeThrowsNotSupportedException - PASSED{color} * {color:#013220}exe: CacheLinqTest.TestInvokeThrowsNotSupportedException - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5738596&buildTypeId=IgniteTests24Java8_RunAll] > .NET: Misleading LINQ exception when expression can't be translated > ------------------------------------------------------------------- > > Key: IGNITE-13336 > URL: https://issues.apache.org/jira/browse/IGNITE-13336 > Project: Ignite > Issue Type: Bug > Components: platforms > Affects Versions: 2.8.1 > Reporter: Pavel Tupitsyn > Assignee: Sergey Stronchinskiy > Priority: Minor > Labels: .NET > Fix For: 2.10 > > Time Spent: 10m > Remaining Estimate: 0h > > The following program results in a cryptic exception, when the problem is > simply lack of Expression<> wrapper around the query filter: > {code} > class Program > { > private static readonly IIgnite Ignite = Ignition.Start(); > static void Main(string[] args) > { > var cache = GetCache<Foo>(); > cache["1"] = new Foo(); > var res = Where2<Foo>(e => e.Value.X == 0); > Console.WriteLine(res); > } > public static ICache<string, T> GetCache<T>() > { > var cacheName = typeof(T).Name; > var cfg = new CacheConfiguration(cacheName, new > QueryEntity(typeof(T))); > return Ignite.GetOrCreateCache<string, T>(cfg); > } > public static List<T> Where2<T>(Func<ICacheEntry<string, T>, bool> > query) > { > var queryResult = GetCache<T>().AsCacheQueryable().Where(x => > query(x)); > return queryResult.Select(x => x.Value).ToList(); > } > } > public class Foo > { > [QuerySqlField] public int X { get; set; } > } > {code} > We should throw a better exception that says "LINQ expression can't be > translated to SQL because of ..." -- This message was sent by Atlassian Jira (v8.3.4#803005)