Skip to content

Commit

Permalink
Merge branch 'main' into XJ-feat-tstz-at-time-zone
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 25, 2022
2 parents 933a4c2 + 6cdabc6 commit 9024ca1
Show file tree
Hide file tree
Showing 164 changed files with 4,326 additions and 4,711 deletions.
49 changes: 8 additions & 41 deletions Cargo.lock

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

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ members = [
"src/storage/compactor",
"src/storage/hummock_sdk",
"src/storage/hummock_test",
"src/storage/hummock_test/sync_point_unit_test",
"src/stream",
"src/test_runner",
"src/tests/regress",
"src/tests/simulation",
"src/tests/simulation_scale",
"src/tests/sqlsmith",
"src/tests/sync_point",
"src/tracing",
"src/utils/async_stack_trace",
"src/utils/local_stats_alloc",
Expand Down Expand Up @@ -78,6 +76,12 @@ inherits = "dev"
incremental = false
[profile.ci-dev.package."*"] # external dependencies
opt-level = 1
[profile.ci-dev.package."tokio"]
opt-level = 3
[profile.ci-dev.package."async_stack_trace"]
opt-level = 3
[profile.ci-dev.package."indextree"]
opt-level = 3

# The profile used for deterministic simulation tests in CI.
# The simulator can only run single-threaded, so optimization is required to make the running time
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
[![Build status](https://badge.buildkite.com/9394d2bca0f87e2e97aa78b25f765c92d4207c0b65e7f6648f.svg)](https://buildkite.com/singularity-data/main)
[![codecov](https://codecov.io/gh/risingwavelabs/risingwave/branch/main/graph/badge.svg?token=EB44K9K38B)](https://codecov.io/gh/risingwavelabs/risingwave)

**RisingWave is now ready for production! Curious about the use cases? More details coming soon!**

RisingWave is a cloud-native streaming database that uses SQL as the interface language. It is designed to reduce the complexity and cost of building real-time applications. RisingWave consumes streaming data, performs continuous queries, and updates results dynamically. As a database system, RisingWave maintains results inside its own storage and allows users to access data efficiently.

RisingWave ingests data from sources like Apache Kafka, Apache Pulsar, Amazon Kinesis, Redpanda, and materialized CDC sources.
Expand Down
5 changes: 0 additions & 5 deletions ci/plugins/benchmark/hooks/pre-command

This file was deleted.

135 changes: 0 additions & 135 deletions ci/scripts/benchmark.sh

This file was deleted.

2 changes: 1 addition & 1 deletion ci/scripts/pre-unit-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -euo pipefail
source ci/scripts/common.env.sh

echo "--- Run clippy check"
cargo clippy --all-targets --features failpoints --locked -- -D warnings
cargo clippy --all-targets --features failpoints,sync_point --locked -- -D warnings

echo "--- Build documentation"
cargo doc --document-private-items --no-deps
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/run-unit-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set -euo pipefail

echo "+++ Run unit tests with coverage"
# use tee to disable progress bar
NEXTEST_PROFILE=ci cargo llvm-cov nextest --lcov --output-path lcov.info --features failpoints 2> >(tee);
NEXTEST_PROFILE=ci cargo llvm-cov nextest --lcov --output-path lcov.info --features failpoints,sync_point 2> >(tee);
if [[ "$RUN_SQLSMITH" -eq "1" ]]; then
NEXTEST_PROFILE=ci cargo nextest run run_sqlsmith_on_frontend --features "failpoints enable_sqlsmith_unit_test" 2> >(tee);
NEXTEST_PROFILE=ci cargo nextest run run_sqlsmith_on_frontend --features "failpoints sync_point enable_sqlsmith_unit_test" 2> >(tee);
fi

echo "--- Codecov upload coverage reports"
Expand Down
22 changes: 0 additions & 22 deletions ci/workflows/benchmark.yml

This file was deleted.

10 changes: 10 additions & 0 deletions e2e_test/batch/types/decimal.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,13 @@ query T
values(round(42, 1));
----
42

query R
select ' +inFInity'::decimal;
----
Infinity

query R
select ' -inF '::decimal;
----
-Infinity
4 changes: 2 additions & 2 deletions e2e_test/streaming/basic.slt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ query IR rowsort
select * from mv4
----
1 NaN
1 +Inf
1 -Inf
1 Infinity
1 -Infinity

statement ok
drop materialized view mv1
Expand Down
3 changes: 3 additions & 0 deletions e2e_test/streaming/demo/ad_ctr.slt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ SELECT ad_id, ROUND(ctr, 2), window_end FROM ad_ctr_5min;
7 0.33 2022-06-10 12:21:00
8 1 2022-06-10 12:21:00

statement ok
delete from ad_impression;

statement ok
DROP MATERIALIZED VIEW ad_ctr;

Expand Down
Loading

0 comments on commit 9024ca1

Please sign in to comment.