zstan commented on code in PR #13770:
URL: https://github.com/apache/ignite/pull/13770#discussion_r4755836021
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryHandler.java:
##########
@@ -1734,16 +1735,22 @@ private CacheContinuousQueryEntry
transformToEntry(IgniteClosure<CacheEntryEvent
oldVal = null;
}
+ // The transformer result is not a cache value, so the keep binary
flag of the cache does not apply to it.
+ // Keep it binary only if the transformer returned a BinaryObject, as
on the local node.
+ boolean keepBinary = transVal instanceof BinaryObject;
Review Comment:
i\`m going with your steps and can reproduce it locally :
Seems test is flaky
first run ok
`[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
2.457 s -- in
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousWithTransformerKeepBinaryTest`
second run not ok
```
[ERROR] Failures:
[ERROR]
CacheContinuousWithTransformerKeepBinaryTest.testNonBinaryResultArrivesAsIs:108->JUnitAssertAware.assertTrue:30
Unexpected class:
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousWithTransformerKeepBinaryTest$PersonId
```
--
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]