Commits

Andrew Lamb authored d0fab65e961
ARROW-10710: [Rust] Revert tokio upgrade, go back to 0.2 ## Changes This PR backs out the version upgrade to tokio done in https://github.com/apache/arrow/pull/8697 and also partly by @andygrove in #8734 (see comment https://github.com/apache/arrow/pull/8697#issuecomment-732936572 by @rdettai for more details). ## Rationale: It seems as if the new version of tokio (0.3) has some fairly substantial changes, and some of the higher level libraries built on top of tokio that are used in the flight implementation do not yet support version 0.3 of tokio. This results in parts of the code (flight server) using the older version of tokio and parts of the code (datafusion) using newer versions of tokio which causes ... issues. This issue can be seen in the flight example linked in https://issues.apache.org/jira/browse/ARROW-10710 and I saw it when I tried to upgrade to latest arrow in https://github.com/influxdata/influxdb_iox For example, https://crates.io/crates/tonic appears to require tokio < 0.3 <img width="350" alt="Screen Shot 2020-11-25 at 7 10 21 AM" src="https://user-images.githubusercontent.com/490673/100227458-2eabbb00-2eef-11eb-82a8-eb11dad03bc2.png"> cc @Dandandan and @nevi-me Closes #8769 from alamb/alamb/ARROW-10710-fix-fligh Authored-by: Andrew Lamb <andrew@nerdnetworks.org> Signed-off-by: Andrew Lamb <andrew@nerdnetworks.org>