zeroshade commented on code in PR #38385:
URL: https://github.com/apache/arrow/pull/38385#discussion_r1370570483
##########
go/arrow/internal/flight_integration/scenario.go:
##########
@@ -2635,3 +2638,140 @@ func (m *flightSqlExtensionScenarioTester)
ValidateTransactions(client *flightsq
return txn.Rollback(ctx)
}
+
+type flightSqlIngestionScenarioTester struct {
+ flightsql.BaseServer
+}
+
+func (m *flightSqlIngestionScenarioTester) flightInfoForCommand(desc
*flight.FlightDescriptor, schema *arrow.Schema) *flight.FlightInfo {
+ return &flight.FlightInfo{
+ Endpoint: []*flight.FlightEndpoint{
+ {Ticket: &flight.Ticket{Ticket: desc.Cmd}},
+ },
+ Schema: flight.SerializeSchema(schema,
memory.DefaultAllocator),
+ FlightDescriptor: desc,
+ TotalRecords: -1,
+ TotalBytes: -1,
+ }
+}
Review Comment:
this isn't actually being used anywhere, that's why the CI is failing
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]