-
Notifications
You must be signed in to change notification settings - Fork 594
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
chore(toolchain): bump to 2022-12-12 #6159
Conversation
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This reverts commit ea98e26.
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Codecov Report
@@ Coverage Diff @@
## main #6159 +/- ##
=======================================
Coverage 73.24% 73.24%
=======================================
Files 1032 1031 -1
Lines 164648 164587 -61
=======================================
- Hits 120598 120555 -43
+ Misses 44050 44032 -18
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
@huangjw806 Could you please help to test whether building the docker image under release profile finishes in a reasonable time, under this branch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sure. |
It cannot compile with debug assertions on. |
I tested the docker build of this branch, it was successful and fast. |
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
In #6613, we only wrap the previous |
I guess compiling with release profile under Linux can reproduce this, just like what we do when building image on CI. Line 35 in 353837d
|
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
rust-lang/rust#105009 has been fixed and I've successfully bumped the toolchain to 12-12. Seems that everything is working well. cc @wenym1 There's no need to do anything with #6613 now. :) |
@@ -43,7 +43,7 @@ pub enum MemTableError { | |||
}, | |||
} | |||
|
|||
type Result<T> = std::result::Result<T, MemTableError>; | |||
type Result<T> = std::result::Result<T, Box<MemTableError>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error is also large.
#[for_await] | ||
for row_and_degree in zipped_iter { | ||
let (row, degree): (Cow<'_, Row>, Cow<'_, Row>) = row_and_degree?; | ||
for (row, degree) in table_iter.zip(degree_table_iter) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @yuhao-su Am I correct here?
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
…wave into bz/bump-to-11-01
@@ -5,9 +5,11 @@ statement ok | |||
SET QUERY_MODE TO distributed; | |||
|
|||
# Create tpch tables | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this change? (& sqllogctest master preserves newline now 🤪
@@ -16,21 +16,21 @@ where c_state like 'A%' | |||
group by ol_o_id, ol_w_id, ol_d_id, o_entry_d | |||
order by revenue desc, o_entry_d; | |||
---- | |||
2111 1 4 21 2015-11-22 00:00:00 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
order by revenue desc, o_entry_d
seems not enough to be deterministic..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Will keep rowsort
here.
@@ -10,26 +10,25 @@ where c_id = o_c_id | |||
and o_entry_d >= '2007-01-02 00:00:00.000000' | |||
and o_entry_d <= ol_delivery_d | |||
and n_nationkey = ascii(substr(c_state,1,1)) - 48 | |||
group by c_id, c_last, c_city, c_phone, n_name | |||
order by revenue desc; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why to remove the order by
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think order by
makes no sense under rowsort
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, I will revert this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding order by
can test sort executor produces results.. 🤪🤪🤪
fn infer_type_name<'a, 'b>( | ||
fn infer_type_name<'a>( | ||
sig_map: &'a FuncSigMap, | ||
func_type: ExprType, | ||
inputs: &'b [Option<DataTypeName>], | ||
inputs: &[Option<DataTypeName>], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change really correct? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes
Each elided lifetime in input position becomes a distinct lifetime parameter.
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
@@ -28,7 +28,7 @@ RUN rustup component add rustfmt llvm-tools-preview clippy | |||
|
|||
# install build tools | |||
RUN cargo install cargo-llvm-cov cargo-nextest cargo-udeps cargo-hakari cargo-sort cargo-make cargo-cache \ | |||
&& cargo install --git https://github.com/risinglightdb/sqllogictest-rs --bin sqllogictest \ | |||
&& cargo install --git https://github.com/risinglightdb/sqllogictest-rs --rev 65b122f --bin sqllogictest \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to specify the revision to make the bump of sqllogictest more explicit. 😄 It's the lastest revision on main
now. cc @xxchan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very good
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Bump the toolchain to 2022-12-12, which should contain the fix to rust-lang/rust#103423. We're now able to revert some workarounds, as explained in #6103.
This is mainly to fix the excessively slow compilation speed under release profile, like https://buildkite.com/risingwavelabs/docker/builds/13181.
Checklist
./risedev check
(or alias,./risedev c
)Refer to a related PR or issue link (optional)