Skip to content

Commit fdd3907

Browse files
msathisandygrove
authored andcommitted
ARROW-12380: [Rust] [Ballista] Basic scheduler ui
I have placed it in the `ui/scheduler` directory. You can run it using `yarn && yarn start` from within that directory. Closes #10026 from msathis/ARROW-12380-scheduler-ui Authored-by: Sathis Kumar <[email protected]> Signed-off-by: Andy Grove <[email protected]>
1 parent b1d3f59 commit fdd3907

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

dev/release/rat_exclude_files.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ csharp/src/Apache.Arrow.Flight.AspNetCore/Apache.Arrow.Flight.AspNetCore.csproj
169169
*.sgml
170170
*.css
171171
*.png
172+
*.ico
172173
*.svg
173174
*.devhelp2
174175
*.scss
@@ -203,3 +204,4 @@ julia/Arrow/docs/src/manual.md
203204
julia/Arrow/docs/src/reference.md
204205
rust/ballista/rust/benchmarks/tpch/queries/q*.sql
205206
rust/ballista/rust/scheduler/testdata/*
207+
rust/ballista/ui/scheduler/yarn.lock

rust/arrow-flight/src/arrow.flight.protocol.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ pub mod flight_service_server {
499499
#[async_trait]
500500
pub trait FlightService: Send + Sync + 'static {
501501
#[doc = "Server streaming response type for the Handshake method."]
502-
type HandshakeStream: Stream<Item = Result<super::HandshakeResponse, tonic::Status>>
502+
type HandshakeStream: futures_core::Stream<Item = Result<super::HandshakeResponse, tonic::Status>>
503503
+ Send
504504
+ Sync
505505
+ 'static;
@@ -513,7 +513,7 @@ pub mod flight_service_server {
513513
request: tonic::Request<tonic::Streaming<super::HandshakeRequest>>,
514514
) -> Result<tonic::Response<Self::HandshakeStream>, tonic::Status>;
515515
#[doc = "Server streaming response type for the ListFlights method."]
516-
type ListFlightsStream: Stream<Item = Result<super::FlightInfo, tonic::Status>>
516+
type ListFlightsStream: futures_core::Stream<Item = Result<super::FlightInfo, tonic::Status>>
517517
+ Send
518518
+ Sync
519519
+ 'static;
@@ -553,7 +553,7 @@ pub mod flight_service_server {
553553
request: tonic::Request<super::FlightDescriptor>,
554554
) -> Result<tonic::Response<super::SchemaResult>, tonic::Status>;
555555
#[doc = "Server streaming response type for the DoGet method."]
556-
type DoGetStream: Stream<Item = Result<super::FlightData, tonic::Status>>
556+
type DoGetStream: futures_core::Stream<Item = Result<super::FlightData, tonic::Status>>
557557
+ Send
558558
+ Sync
559559
+ 'static;
@@ -567,7 +567,7 @@ pub mod flight_service_server {
567567
request: tonic::Request<super::Ticket>,
568568
) -> Result<tonic::Response<Self::DoGetStream>, tonic::Status>;
569569
#[doc = "Server streaming response type for the DoPut method."]
570-
type DoPutStream: Stream<Item = Result<super::PutResult, tonic::Status>>
570+
type DoPutStream: futures_core::Stream<Item = Result<super::PutResult, tonic::Status>>
571571
+ Send
572572
+ Sync
573573
+ 'static;
@@ -583,7 +583,7 @@ pub mod flight_service_server {
583583
request: tonic::Request<tonic::Streaming<super::FlightData>>,
584584
) -> Result<tonic::Response<Self::DoPutStream>, tonic::Status>;
585585
#[doc = "Server streaming response type for the DoExchange method."]
586-
type DoExchangeStream: Stream<Item = Result<super::FlightData, tonic::Status>>
586+
type DoExchangeStream: futures_core::Stream<Item = Result<super::FlightData, tonic::Status>>
587587
+ Send
588588
+ Sync
589589
+ 'static;
@@ -598,7 +598,7 @@ pub mod flight_service_server {
598598
request: tonic::Request<tonic::Streaming<super::FlightData>>,
599599
) -> Result<tonic::Response<Self::DoExchangeStream>, tonic::Status>;
600600
#[doc = "Server streaming response type for the DoAction method."]
601-
type DoActionStream: Stream<Item = Result<super::Result, tonic::Status>>
601+
type DoActionStream: futures_core::Stream<Item = Result<super::Result, tonic::Status>>
602602
+ Send
603603
+ Sync
604604
+ 'static;
@@ -614,7 +614,7 @@ pub mod flight_service_server {
614614
request: tonic::Request<super::Action>,
615615
) -> Result<tonic::Response<Self::DoActionStream>, tonic::Status>;
616616
#[doc = "Server streaming response type for the ListActions method."]
617-
type ListActionsStream: Stream<Item = Result<super::ActionType, tonic::Status>>
617+
type ListActionsStream: futures_core::Stream<Item = Result<super::ActionType, tonic::Status>>
618618
+ Send
619619
+ Sync
620620
+ 'static;

0 commit comments

Comments
 (0)