timoninmaxim commented on code in PR #12376:
URL: https://github.com/apache/ignite/pull/12376#discussion_r2391265647
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java:
##########
@@ -646,29 +644,18 @@ private QueryResult<K, V> executeQuery(CacheQuery<?> qry,
*
* @param qry Query.
* @param args Arguments.
- * @param loc Local query or not.
* @param taskName Task name.
* @param rcpt ID of the recipient.
* @return Collection of found keys.
* @throws IgniteCheckedException In case of error.
*/
private FieldsResult executeFieldsQuery(CacheQuery<?> qry, @Nullable
Object[] args,
- boolean loc, @Nullable String taskName, Object rcpt) throws
IgniteCheckedException {
+ @Nullable String taskName, Object
rcpt) throws IgniteCheckedException {
assert qry != null;
+ assert qry.type() == SQL_FIELDS : "Unexpected query type: " +
qry.type();
FieldsResult res;
- T2<String, List<Object>> resKey = null;
-
- if (qry.clause() == null && qry.type() != SPI) {
Review Comment:
Why did you remove this code?
--
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]