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

chore: Switch to stable Rust #505

Merged
merged 17 commits into from
Jun 4, 2024
Merged

chore: Switch to stable Rust #505

merged 17 commits into from
Jun 4, 2024

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Jun 3, 2024

Which issue does this PR close?

Closes #142

Rationale for this change

Continues the work started by @sunchao in #373

What changes are included in this PR?

How are these changes tested?

rust-toolchain Outdated
@@ -1 +1 @@
nightly-2023-09-05
1.77
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will file a separate issue for upgrading to 1.78. We will need to fix some assumptions in our unsafe code first.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I filed #507

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this use 1.77.2 automatically? Looks like there are few fixes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated this to 1.77.2

@andygrove
Copy link
Member Author

@sunchao @viirya please review when you can

Copy link
Contributor

@kazuyukitanimura kazuyukitanimura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

rust-toolchain Outdated
@@ -1 +1 @@
nightly-2023-09-05
1.77
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this use 1.77.2 automatically? Looks like there are few fixes


/// A mutable vector that can be re-used across batches.
#[derive(Debug)]
pub struct MutableVector {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sunchao Removed this in the original PR that I forked from.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we don't need this anymore. It was created originally to facilitate Comet specific data types, vectors and kernels (for instance leveraging array view), but we've decided to fully use DataFusion now.

Copy link
Member

@sunchao sunchao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @andygrove for taking this over!

Copy link
Contributor

@advancedxy advancedxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for taking this over. I was about to ask chao if he is still working on the #373.

It looks like the CI is still failed, you may take a look at that:

- unary negative integer overflow test *** FAILED *** (817 milliseconds)
  "[ARITHMETIC_OVERFLOW] short overflow. If necessary set "spark.sql.ansi.enabled" to "false" to bypass this error. SQLSTATE: 22003" did not contain " caused overflow" (CometExpressionSuite.scala:1563)

@andygrove
Copy link
Member Author

LGTM. Thanks for taking this over. I was about to ask chao if he is still working on the #373.

It looks like the CI is still failed, you may take a look at that:


- unary negative integer overflow test *** FAILED *** (817 milliseconds)

  "[ARITHMETIC_OVERFLOW] short overflow. If necessary set "spark.sql.ansi.enabled" to "false" to bypass this error. SQLSTATE: 22003" did not contain " caused overflow" (CometExpressionSuite.scala:1563)

It looks like the unary minus tests are failing in main as well for Spark 4. I think there was a conflict between two PRs that were merged yesterday.

@andygrove andygrove merged commit 6565229 into apache:main Jun 4, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to stable Rust
5 participants