gurustron commented on code in PR #7933:
URL: https://github.com/apache/ignite-3/pull/7933#discussion_r3035605197
##########
modules/platforms/dotnet/Apache.Ignite.Tests/Linq/LinqSqlGenerationTests.cs:
##########
@@ -158,6 +158,14 @@ public void TestSelectOrderByOffsetLimit() =>
.Take(3)
.ToList());
+ [Test]
+ public void TestContains() =>
+ AssertSql("select (_T0.KEY IN (?, ?)) from PUBLIC.TBL1 as _T0", q =>
+ {
+ var keys = new long[] { 4, 2 };
+ return q.Select(x => keys.Contains(x.Key)).ToList();
+ });
Review Comment:
Yes, I know, nothing can be done here since it will require casting to span
in an expression tree which is not possible
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]