Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump rand from 0.8.4 to 0.8.5 #445

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 41 additions & 30 deletions .github/ISSUE_TEMPLATE/07-optimization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,55 +7,66 @@
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0.

name: "Internal - Proposed Optimization"
name: "Internal: proposed optimization"
description: A proposal for a new query optimization. Contributor use only.
labels: ["A-optimization", "needs-discussion"]
labels: ["A-optimization", "C-feature", "needs-discussion"]
body:
- type: textarea
attributes:
label: Elevator pitch
description: Each question should be answered comprehensively but using as
few sentences as possible.
description: |
Each question should be answered comprehensively but using as few sentences as possible. This is the only mandatory section needed for the issue to be discussed in a refinement session.
value: |
1. What does the transformation do? Give a representative SQL query.
2. Why should we add it?
3. When would it be good to have?
4. When would it be ineffectual?
5. When would be bad to have?
6. In the worst case, how would it degrade performance?
### What does the transformation do?
<!-- Give a representative SQL query. -->

### Why should we add it?

### When would it be good to have?

### When would it be ineffectual?

### When would be bad to have?

### In the worst case, how would it degrade performance?
validations:
required: true
- type: textarea
attributes:
label: List real life instances where this transformation would help.
label: Customer impact
description: |
List real life instances where this transformation would help.
- type: textarea
attributes:
label: Cost Model
label: Cost model
description: |
If both the implementation and cost model are simple, this section can
be skipped if the implementation section is filled in.
If both the implementation and cost model are simple, this section can be skipped if the implementation section is filled in.

Each subsection is meant to be answered with formulae. Take into account
memory, CPU, liveness, and skew. Approximations are ok if it is not
possible to calculate exact numbers.
Each subsection is meant to be answered with formulae. Take into account memory, CPU, liveness, and skew. Approximations are ok if it is not possible to calculate exact numbers.

If the transformation is always good to have, you only have to fill out
the first subsection.
If the transformation is always good to have, you only have to fill out the first subsection.
value: |
1. What is the benefit of the transformation?
2. What is the overhead?
3. When would the transformation be worthwhile? Intuitively, this should
be when benefit > overhead, but sometimes a benefit with regards to X
comes at a cost with regards to Y, and it would be worthwhile to discuss
when it is worthwhile to sacrifice Y to gain a benefit in X.
### What is the benefit of the transformation?

### What is the overhead?

### When would the transformation be worthwhile?
<!-- Intuitively, this should be when benefit > overhead, but sometimes a benefit with regards to X comes at a cost with regards to Y, and it would be worthwhile to discuss when it is worthwhile to sacrifice Y to gain a benefit in X. -->
- type: textarea
attributes:
label: List any knobs that we may need to tune or expose to the user.
label: User-facing changes
description: |
List any knobs that we may need to be tuned by or exposed to the user.
- type: textarea
attributes:
label: Proposed implementation
description: |
Implementation details can be filled in only after the proposal was approved during a refinement session (in general this decision should be informed by the accompanying cost model).
value: |
1. Describe the implementation.
2. Which queries will do better with the given implementation?
3. Which queries will do worse?
4. Break the implementation down into stages.
### Describe the implementation.

### Which queries will do better with the given implementation?

### Which queries will do worse?

### Break the implementation down into stages.
14 changes: 2 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/billing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ore = { path = "../../src/ore", features = ["task"] }
postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres", branch = "mz-0.7.2" }
prost = "0.9.0"
prost-types = "0.9.0"
rand = "0.8.4"
rand = "0.8.5"
rand_distr = "0.4.3"
test-util = { path = "../../test/test-util" }
tokio = "1.16.1"
Expand Down
2 changes: 1 addition & 1 deletion src/avro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ enum-kinds = "0.5.1"
flate2 = "1.0.22"
itertools = "0.10.3"
tracing = "0.1.29"
rand = "0.8.4"
rand = "0.8.5"
regex = "1.5.4"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.78"
Expand Down
2 changes: 1 addition & 1 deletion src/coord/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres", bran
postgres-util = { path = "../postgres-util" }
prometheus = { git = "https://github.com/MaterializeInc/rust-prometheus.git", default-features = false }
protobuf-native = "0.2.1"
rand = "0.8.4"
rand = "0.8.5"
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "libz-static"] }
regex = "1.5.4"
repr = { path = "../repr" }
Expand Down
2 changes: 1 addition & 1 deletion src/dataflow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ postgres-util = { path = "../postgres-util" }
prometheus = { git = "https://github.com/MaterializeInc/rust-prometheus.git", default-features = false }
prost = "0.9.0"
pubnub-hyper = { git = "https://github.com/MaterializeInc/pubnub-rust", default-features = false }
rand = "0.8.4"
rand = "0.8.5"
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "ssl-vendored", "gssapi-vendored", "libz-static", "zstd"] }
regex = "1.5.4"
repr = { path = "../repr" }
Expand Down
2 changes: 1 addition & 1 deletion src/kafka-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ futures = "0.3.21"
mz-avro = { path = "../avro" }
num_cpus = "1.13.1"
ore = { path = "../ore", features = ["network"] }
rand = "0.8.4"
rand = "0.8.5"
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "libz-static"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.78"
Expand Down
2 changes: 1 addition & 1 deletion src/materialized/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ postgres-openssl = { git = "https://github.com/MaterializeInc/rust-postgres", br
postgres-protocol = { git = "https://github.com/MaterializeInc/rust-postgres", branch = "mz-0.7.2" }
postgres_array = { git = "https://github.com/MaterializeInc/rust-postgres-array", branch = "mz-0.7.2" }
predicates = "2.1.1"
rand = "0.8.4"
rand = "0.8.5"
repr = { path = "../repr" }
reqwest = { version = "0.11.9", features = ["blocking"] }
serde_json = "1.0.78"
Expand Down
2 changes: 1 addition & 1 deletion src/persist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ prost-build = "0.9.1"
[dev-dependencies]
criterion = { git = "https://github.com/MaterializeInc/criterion.rs.git", features = ["html_reports"] }
ore = { path = "../ore", default-features = false, features = ["test"] }
rand = { version = "0.8.4", features = [ "small_rng" ] }
rand = { version = "0.8.5", features = [ "small_rng" ] }
tempfile = "3.2.0"
serde_json = "1.0.78"
2 changes: 1 addition & 1 deletion src/repr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ prost-build = "0.9.1"
[dev-dependencies]
criterion = { git = "https://github.com/MaterializeInc/criterion.rs.git" }
proptest = { version = "1.0.0", default-features = false, features = ["std"] }
rand = "0.8.4"
rand = "0.8.5"
2 changes: 1 addition & 1 deletion src/testdrive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ postgres_array = { git = "https://github.com/MaterializeInc/rust-postgres-array"
prost = "0.9.0"
prost-reflect = { version = "0.5.3", features = ["serde"] }
protobuf-src = "1.0.4"
rand = "0.8.4"
rand = "0.8.5"
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "libz-static"] }
regex = "1.5.4"
repr = { path = "../repr" }
Expand Down
2 changes: 1 addition & 1 deletion test/perf-kinesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ futures-channel = "0.3.16"
tracing = "0.1.29"
mz-aws-util = { path = "../../src/aws-util", features = ["kinesis"] }
ore = { path = "../../src/ore", features = ["task"] }
rand = "0.8.4"
rand = "0.8.5"
test-util = { path = "../test-util" }
tokio = "1.16.1"
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres", branch = "mz-0.7.2" }
2 changes: 1 addition & 1 deletion test/test-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ chrono = { version = "0.4.0", default-features = false, features = ["clock", "st
kafka-util = { path = "../../src/kafka-util" }
tracing = "0.1.29"
ore = { path = "../../src/ore", features = ["task"] }
rand = "0.8.4"
rand = "0.8.5"
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "libz-static"] }
tokio = "1.16.1"
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres", branch = "mz-0.7.2" }