-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-35788: [Swift] bug fixes and change reader/writer to user Result type #35774
Conversation
Could you open a new issue for this because this is not a MINOR change? See also: https://github.com/apache/arrow/blob/main/CONTRIBUTING.md#minor-fixes |
I see :). I will open an issue, thank you! |
|
public let type: ArrowType.Info | ||
public let length: UInt | ||
public let nullCount: UInt | ||
public let holder: Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about renaming this to array
?
public let holder: Any | |
public let array: Any |
I feel that ArrowArrayHolder.holder
is strange.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, yeah, good catch, I will update.
public static func makeArrowColumn(_ field: ArrowField, holders: [ArrowArrayHolder]) -> Result<ArrowColumn, ArrowError> { | ||
do { | ||
return .success(try holders[0].getArrowColumn(field, holders)) | ||
}catch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}catch { | |
} catch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update.
recordBatchs.append(recordBatch) | ||
do { | ||
let recordBatch = try loadRecordBatch(message, schema: footer.schema!, | ||
data: fileData, messageEndOffset: messageEndOffset).get() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data: fileData, messageEndOffset: messageEndOffset).get() | |
data: fileData, messageEndOffset: messageEndOffset).get() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Benchmark runs are scheduled for baseline = 130f9e9 and contender = d14b42a. d14b42a is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
['Python', 'R'] benchmarks have high level of regressions. |
Changes: