File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/query/service/tests/it/storages/fuse/operations/mutation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ async fn test_delete_by_block_name() -> Result<()> {
7979 . await ?
8080 . try_collect :: < Vec < _ > > ( )
8181 . await ?;
82- let block_name = match blocks. get ( 0 ) . and_then ( |b| b. get_by_offset ( 0 ) . index ( 0 ) ) {
82+ let block_name = match blocks. first ( ) . and_then ( |b| b. get_by_offset ( 0 ) . index ( 0 ) ) {
8383 Some ( ScalarRef :: String ( s) ) => s. to_string ( ) ,
8484 Some ( other) => {
8585 return Err ( ErrorCode :: Internal ( format ! (
@@ -105,7 +105,7 @@ async fn test_delete_by_block_name() -> Result<()> {
105105 . try_collect :: < Vec < _ > > ( )
106106 . await ?;
107107 let count = match count_blocks
108- . get ( 0 )
108+ . first ( )
109109 . and_then ( |b| b. get_by_offset ( 0 ) . index ( 0 ) )
110110 {
111111 Some ( ScalarRef :: Number ( NumberScalar :: UInt64 ( v) ) ) => v,
You can’t perform that action at this time.
0 commit comments