kou opened a new issue, #52:
URL: https://github.com/apache/arrow-swift/issues/52

   ### Describe the enhancement requested
   
   
https://github.com/apache/arrow-swift/actions/runs/15823513743/job/44597963573#step:6:83
   
   ```text
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:261:35: error: 'as' 
test is always true
     259 |                     offset += Int(message.bodyLength + Int64(length))
     260 |                     length = getUInt32(input, offset: offset)
     261 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     262 |                     return .failure(error)
     263 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:346:35: error: 'as' 
test is always true
     344 |                         messageEndOffset: messageEndOffset).get()
     345 |                     result.batches.append(recordBatch)
     346 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     347 |                     return .failure(error)
     348 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:408:31: error: 'as' 
test is always true
     406 |                 result.batches.append(recordBatch)
         |                               `- error: 'as' test is always true
     409 |                 return .failure(error)
     410 |             } catch {
     [10/78] Compiling Arrow ArrowReaderHelper.swift
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:261:35: error: 'as' 
test is always true
     259 |                     offset += Int(message.bodyLength + Int64(length))
     260 |                     length = getUInt32(input, offset: offset)
     261 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     262 |                     return .failure(error)
     263 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:346:35: error: 'as' 
test is always true
     344 |                         messageEndOffset: messageEndOffset).get()
     345 |                     result.batches.append(recordBatch)
     346 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     347 |                     return .failure(error)
     348 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:408:31: error: 'as' 
test is always true
     406 |                 result.batches.append(recordBatch)
     407 |                 return .success(())
     408 |             } catch let error as ArrowError {
         |                               `- error: 'as' test is always true
     409 |                 return .failure(error)
     410 |             } catch {
     [11/78] Compiling Arrow ArrowSchema.swift
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:261:35: error: 'as' 
test is always true
     259 |                     offset += Int(message.bodyLength + Int64(length))
     260 |                     length = getUInt32(input, offset: offset)
     261 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     262 |                     return .failure(error)
     263 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:346:35: error: 'as' 
test is always true
     344 |                         messageEndOffset: messageEndOffset).get()
     345 |                     result.batches.append(recordBatch)
     346 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     347 |                     return .failure(error)
     348 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:408:31: error: 'as' 
test is always true
     406 |                 result.batches.append(recordBatch)
     407 |                 return .success(())
     408 |             } catch let error as ArrowError {
         |                               `- error: 'as' test is always true
     409 |                 return .failure(error)
     410 |             } catch {
     [12/78] Compiling Arrow ArrowTable.swift
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:261:35: error: 'as' 
test is always true
     259 |                     offset += Int(message.bodyLength + Int64(length))
     260 |                     length = getUInt32(input, offset: offset)
     261 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     262 |                     return .failure(error)
     263 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:346:35: error: 'as' 
test is always true
     344 |                         messageEndOffset: messageEndOffset).get()
     345 |                     result.batches.append(recordBatch)
     346 |                 } catch let error as ArrowError {
         |                                   `- error: 'as' test is always true
     347 |                     return .failure(error)
     348 |                 } catch {
     
     /build/source/Arrow/Sources/Arrow/ArrowReader.swift:408:31: error: 'as' 
test is always true
     406 |                 result.batches.append(recordBatch)
     407 |                 return .success(())
     408 |             } catch let error as ArrowError {
         |                               `- error: 'as' test is always true
     409 |                 return .failure(error)
     410 |             } catch {
   ```


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to