Skip to content

Commit

Permalink
Merge branch 'main' into feat/switch-sim-integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yezizp2012 committed Sep 29, 2024
2 parents 51c79fc + d492843 commit d1a8c5e
Show file tree
Hide file tree
Showing 209 changed files with 2,788 additions and 2,061 deletions.
72 changes: 39 additions & 33 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions ci/scripts/e2e-sink-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ sqllogictest -p 4566 -d dev './e2e_test/sink/create_sink_as.slt'
sqllogictest -p 4566 -d dev './e2e_test/sink/blackhole_sink.slt'
sqllogictest -p 4566 -d dev './e2e_test/sink/remote/types.slt'
sqllogictest -p 4566 -d dev './e2e_test/sink/sink_into_table/*.slt'
sqllogictest -p 4566 -d dev './e2e_test/sink/file_sink.slt'
sleep 1

echo "--- testing remote sinks"
Expand Down
6 changes: 3 additions & 3 deletions ci/scripts/run-backfill-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ echo "--- Configuring cluster profiles"
if [[ -n "${BUILDKITE:-}" ]]; then
echo "Running in buildkite"
RUNTIME_CLUSTER_PROFILE='ci-3cn-1fe'
MINIO_RATE_LIMIT_CLUSTER_PROFILE='ci-3cn-1fe-with-minio-rate-limit'
MINIO_RATE_LIMIT_CLUSTER_PROFILE='ci-backfill-3cn-1fe-with-minio-rate-limit'
else
echo "Running locally"
RUNTIME_CLUSTER_PROFILE='ci-3cn-1fe-with-monitoring'
MINIO_RATE_LIMIT_CLUSTER_PROFILE='ci-3cn-1fe-with-monitoring-and-minio-rate-limit'
RUNTIME_CLUSTER_PROFILE='ci-backfill-3cn-1fe-with-monitoring'
MINIO_RATE_LIMIT_CLUSTER_PROFILE='ci-backfill-3cn-1fe-with-monitoring-and-minio-rate-limit'
fi
export RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \

Expand Down
2 changes: 1 addition & 1 deletion docker/dashboards/risingwave-dev-dashboard.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docker/docker-compose-distributed-etcd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
version: "3"
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
compactor-0:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-distributed.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
compactor-0:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-etcd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
version: "3"
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-azblob.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-gcs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-local-fs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-obs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-oss.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-s3.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-with-sqlite.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
x-image: &image
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.0}
image: ${RW_IMAGE:-risingwavelabs/risingwave:v2.0.1}
services:
risingwave-standalone:
<<: *image
Expand Down
1 change: 1 addition & 0 deletions e2e_test/batch/catalog/pg_settings.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ user sink_decouple
user source_rate_limit
user standard_conforming_strings
user statement_timeout
user streaming_max_parallelism
user streaming_parallelism
user streaming_use_arrangement_backfill
user streaming_use_snapshot_backfill
Expand Down
20 changes: 20 additions & 0 deletions e2e_test/sink/file_sink.slt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
statement ok
CREATE TABLE t (v1 int, v2 int);

statement error
CREATE table s3_4(
v1 int,
v2 int,
)
WITH (
connector = 's3',
match_pattern = '*.parquet',
s3.region_name = 'custom',
s3.bucket_name = 'hummock001',
s3.credentials.access = 'wrong_access',
s3.credentials.secret = 'wrong_secret',
s3.endpoint_url = 'http://hummock001.127.0.0.1:9301',
) FORMAT PLAIN ENCODE PARQUET;

statement ok
DROP TABLE t;
4 changes: 2 additions & 2 deletions e2e_test/streaming/on_conflict.slt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ statement ok
SET RW_IMPLICIT_FLUSH TO true;

statement ok
create table t1 (v1 int, v2 int, v3 int, primary key(v1)) APPEND ONLY on conflict ignore;
create table t1 (v1 int, v2 int, v3 int, primary key(v1)) APPEND ONLY on conflict do nothing;

statement ok
insert into t1 values (1,4,2), (2,3,3);
Expand Down Expand Up @@ -30,7 +30,7 @@ statement error
create table t2 (v1 int, v2 int, v3 int, primary key(v1)) APPEND ONLY on conflict overwrite;

statement ok
create table t2 (v1 int, v2 int, v3 int, primary key(v1)) on conflict overwrite;
create table t2 (v1 int, v2 int, v3 int, primary key(v1)) on conflict do update full;

statement ok
insert into t2 values (1,4,2), (2,3,3);
Expand Down
4 changes: 2 additions & 2 deletions e2e_test/streaming/with_version_column.slt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ statement error
create table t0 (v1 int, v2 int, v3 int, v4 bool, primary key(v1)) on conflict do update if not null with version column v4;

statement error
create table t0 (v1 int, v2 int, v3 int, v4 int, primary key(v1)) on conflict ignore with version column(v4);
create table t0 (v1 int, v2 int, v3 int, v4 int, primary key(v1)) on conflict do nothing with version column(v4);

statement ok
create table t1 (v1 int, v2 int, v3 int, v4 int, primary key(v1)) on conflict do update if not null with version column(v4);
Expand Down Expand Up @@ -62,7 +62,7 @@ statement ok
SET RW_IMPLICIT_FLUSH TO true;

statement ok
create table t2 (v1 int, v2 int, v3 int, v4 int, primary key(v1)) on conflict overwrite with version column(v4);
create table t2 (v1 int, v2 int, v3 int, v4 int, primary key(v1)) on conflict do update full with version column(v4);

statement ok
insert into t2 values (1,null,2, 4), (2,3,null, 1);
Expand Down
Loading

0 comments on commit d1a8c5e

Please sign in to comment.