-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into peng/remove-pu-all
- Loading branch information
Showing
62 changed files
with
1,859 additions
and
758 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,14 +70,14 @@ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse | |
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash | ||
RUN cargo binstall -y --no-symlinks cargo-llvm-cov cargo-nextest cargo-hakari cargo-sort cargo-cache cargo-audit \ | ||
[email protected] \ | ||
[email protected].4 \ | ||
[email protected].6 \ | ||
[email protected] \ | ||
&& cargo cache -a \ | ||
&& rm -rf "/root/.cargo/registry/index" \ | ||
&& rm -rf "/root/.cargo/registry/cache" \ | ||
&& rm -rf "/root/.cargo/git/db" | ||
RUN cargo install [email protected] [email protected] | ||
RUN cargo uninstall cargo-binstall cargo-cache | ||
RUN cargo uninstall cargo-cache | ||
|
||
# install risedev | ||
COPY <<EOF /root/.cargo/bin/risedev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
statement ok | ||
create table t (v1 int, v2 varchar) APPEND ONLY with ( | ||
connector = 'kafka', | ||
topic = 'kafka_1_partition_topic', | ||
properties.bootstrap.server = 'message_queue:29092', | ||
scan.startup.mode = 'earliest', | ||
retention_seconds = 5 | ||
) FORMAT PLAIN ENCODE JSON; | ||
|
||
statement ok | ||
flush; | ||
|
||
# Wait enough time to ensure SourceExecutor consumes all Kafka data. | ||
sleep 1s | ||
|
||
query IT rowsort | ||
select * from t | ||
---- | ||
1 1 | ||
2 22 | ||
3 333 | ||
4 4444 | ||
|
||
statement ok | ||
select pg_sleep(10); | ||
|
||
query I | ||
select * from t; | ||
---- | ||
|
||
statement ok | ||
drop table t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.