You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/08/17 21:20:12 UTC

[arrow-datafusion] branch master updated: update docs related to protoc optional (#902)

This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 7503bfc  update docs related to protoc optional (#902)
7503bfc is described below

commit 7503bfc48c7d6161670856c8da854a1bd40f5cbc
Author: Jiayu Liu <Ji...@users.noreply.github.com>
AuthorDate: Wed Aug 18 05:20:08 2021 +0800

    update docs related to protoc optional (#902)
---
 ballista/rust/core/proto/ballista.proto | 6 +++---
 datafusion-cli/Cargo.toml               | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ballista/rust/core/proto/ballista.proto b/ballista/rust/core/proto/ballista.proto
index 12a27ba..c184de3 100644
--- a/ballista/rust/core/proto/ballista.proto
+++ b/ballista/rust/core/proto/ballista.proto
@@ -355,7 +355,7 @@ enum WindowFrameUnits {
 message WindowFrame {
   WindowFrameUnits window_frame_units = 1;
   WindowFrameBound start_bound = 2;
-  // "optional" keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/danburkert/prost/issues/430)
+  // "optional" keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/tokio-rs/prost/issues/430 and https://github.com/tokio-rs/prost/pull/455)
   // this syntax is ugly but is binary compatible with the "optional" keyword (see https://stackoverflow.com/questions/42622015/how-to-define-an-optional-field-in-protobuf-3)
   oneof end_bound {
     WindowFrameBound bound = 3;
@@ -370,7 +370,7 @@ enum WindowFrameBoundType {
 
 message WindowFrameBound {
   WindowFrameBoundType window_frame_bound_type = 1;
-  // "optional" keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/danburkert/prost/issues/430)
+  // "optional" keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/tokio-rs/prost/issues/430 and https://github.com/tokio-rs/prost/pull/455)
   // this syntax is ugly but is binary compatible with the "optional" keyword (see https://stackoverflow.com/questions/42622015/how-to-define-an-optional-field-in-protobuf-3)
   oneof bound_value {
     uint64 value = 2;
@@ -782,7 +782,7 @@ message ExecutorMetadata {
 
 message ExecutorRegistration {
   string id = 1;
-  // "optional" keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/danburkert/prost/issues/430)
+  // "optional" keyword is stable in protoc 3.15 but prost is still on 3.14 (see https://github.com/tokio-rs/prost/issues/430 and https://github.com/tokio-rs/prost/pull/455)
   // this syntax is ugly but is binary compatible with the "optional" keyword (see https://stackoverflow.com/questions/42622015/how-to-define-an-optional-field-in-protobuf-3)
   oneof optional_host {
     string host = 2;
diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.toml
index 9d40276..e9e3300 100644
--- a/datafusion-cli/Cargo.toml
+++ b/datafusion-cli/Cargo.toml
@@ -32,4 +32,4 @@ rustyline = "8.0"
 tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync"] }
 datafusion = { path = "../datafusion", version = "5.1.0" }
 ballista = { path = "../ballista/rust/client", version = "0.6.0" }
-arrow = { version = "5.0"  }
\ No newline at end of file
+arrow = { version = "5.0"  }