aliehsaeedii commented on code in PR #21643:
URL: https://github.com/apache/kafka/pull/21643#discussion_r2895843921


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBTimestampedStoreWithHeaders.java:
##########
@@ -152,11 +148,4 @@ private void verifyAndCloseEmptyDefaultColumnFamily(final 
ColumnFamilyHandle col
         }
     }
 
-    @Override
-    public <R> QueryResult<R> query(final Query<R> query,
-                                    final PositionBound positionBound,
-                                    final QueryConfig config) {
-        throw new UnsupportedOperationException("Queries (IQv2) are not 
supported for timestamped key-value stores with headers yet.");
-    }

Review Comment:
   So that would be the implementation
   ```@Override
       public <R> QueryResult<R> query(final Query<R> query,
                                       final PositionBound positionBound,
                                       final QueryConfig config) {
           return StoreQueryUtils.handleBasicQueries(
               query,
               positionBound,
               config,
               this,
               position,
               context
           );
       }
   ```
   which is identical to the super class. So Better to remove it.



-- 
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]

Reply via email to