You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2025/07/06 10:59:56 UTC

(asterixdb) branch master updated: [NO ISSUE][*DB][STO] Return null from readAllBytes() in no-op client

This is an automated email from the ASF dual-hosted git repository.

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 51b4f16287 [NO ISSUE][*DB][STO] Return null from readAllBytes() in no-op client
51b4f16287 is described below

commit 51b4f1628763a24c55fe0ba4c91cd65b57b33533
Author: Michael Blow <mi...@couchbase.com>
AuthorDate: Sat Jun 28 13:11:55 2025 -0400

    [NO ISSUE][*DB][STO] Return null from readAllBytes() in no-op client
    
    Ext-ref: MB-65877
    Change-Id: I9642b1d32beb4ab93b0914a20c38ad1476abbab0
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20006
    Reviewed-by: Michael Blow <mb...@apache.org>
    Reviewed-by: Murtadha Hubail <mh...@apache.org>
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Michael Blow <mb...@apache.org>
    Contrib: Michael Blow <mb...@apache.org>
---
 .../src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
index 8f37191b44..45dabeb221 100644
--- a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
+++ b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
@@ -76,7 +76,7 @@ public class NoopCloudClient implements ICloudClient {
 
     @Override
     public byte[] readAllBytes(String bucket, String path) throws HyracksDataException {
-        return new byte[0];
+        return null;
     }
 
     @Override