We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
WriteInserts.GetRecords()
1 parent ef222df commit 05e1eddCopy full SHA for 05e1edd
message/write_message.go
@@ -86,6 +86,14 @@ func (m WriteInserts) Exists(tableName string) bool {
86
})
87
}
88
89
+func (m WriteInserts) GetRecords() []arrow.Record {
90
+ res := make([]arrow.Record, len(m))
91
+ for i := range m {
92
+ res[i] = m[i].Record
93
+ }
94
+ return res
95
+}
96
+
97
func (m WriteInserts) GetRecordsForTable(table *schema.Table) []arrow.Record {
98
res := make([]arrow.Record, 0, len(m))
99
for _, insert := range m {
0 commit comments