You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[GLib] Use "column_builder" in GArrowRecordBatchBuilder #15935
Yosuke Shiro / @shiro615: @kou
I thought about the name again in #3360 (comment).
How about array_builders? Because get_field(i) return array_builder.
So I think it is better to change the followings in this ticket.
・[GLib] Change garrow_record_batch_builder_get_field() to garrow_record_batch_builder_get_array_builders() in GArrowRecordBatchBuilder
・[Ruby] Change column_builders to array_builders in RecordBatchBuilder
Kouhei Sutou / @kou:
We use "column" in GArrowRecordBatch for methods that return GArrowArray.
I think that we should use the same word in both GArrowRecordBatch and GArrowRecordBatchBuilder.
I think that "column" is better than "array" for them. Because it's just a GArrowArray but it's used for a column of a record batch. What do you think about this?
GArrowColumn is consists of a field and chunked arrays. GArrowTable represents a logical table from different size physical arrays (GArrowChunkedArray s). A record batch represents a physical table from the same size physical arrays (GArrowArray s).
Activity
asfimport commentedon Jan 11, 2019
Kouhei Sutou / @kou:
@shiro615 Could you work on this?
asfimport commentedon Jan 11, 2019
Yosuke Shiro / @shiro615:
Sure! I'll work on this.
asfimport commentedon Jan 31, 2019
Yosuke Shiro / @shiro615:
@kou
I thought about the name again in #3360 (comment).
How about
array_builders? Becauseget_field(i)returnarray_builder.So I think it is better to change the followings in this ticket.
・[GLib] Change garrow_record_batch_builder_get_field() to garrow_record_batch_builder_get_array_builders() in GArrowRecordBatchBuilder
・[Ruby] Change column_builders to array_builders in RecordBatchBuilder
asfimport commentedon Jan 31, 2019
Kouhei Sutou / @kou:
We use "column" in
GArrowRecordBatchfor methods that returnGArrowArray.I think that we should use the same word in both
GArrowRecordBatchandGArrowRecordBatchBuilder.I think that "column" is better than "array" for them. Because it's just a
GArrowArraybut it's used for a column of a record batch. What do you think about this?asfimport commentedon Feb 1, 2019
Yosuke Shiro / @shiro615:
It sounds good. I'll work on this today.
I created https://issues.apache.org/jira/browse/ARROW-4438 to change "columns" to "arrays", but I'll close it.
asfimport commentedon Feb 1, 2019
Kouhei Sutou / @kou:
OK. Let's use "column" instead of "array".
GArrowColumnis consists of a field and chunked arrays.GArrowTablerepresents a logical table from different size physical arrays (GArrowChunkedArrays). A record batch represents a physical table from the same size physical arrays (GArrowArrays).asfimport commentedon Feb 1, 2019
Kouhei Sutou / @kou:
Issue resolved by pull request 3540
#3540