-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add RuntimeEnv::try_new
and deprecate RuntimeEnv::new
#12566
Conversation
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.
Thank you @OussamaSaoudi -- I have kicked off the CI tests for this one
@@ -66,8 +66,12 @@ impl Debug for RuntimeEnv { | |||
} | |||
|
|||
impl RuntimeEnv { | |||
/// Create env based on configuration | |||
#[deprecated(note = "please use `try_new` instead")] |
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.
❤️
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 nice @OussamaSaoudi -- looks great to me.
I am surprised this didn't cause any other changes
RuntimeEnv::try_new
and deprecate RuntimeEnv::new
Thanks again @OussamaSaoudi |
Thanks for the clear and beginner friendly issues @alamb! This was a great way to get introduced to the code, and I'm looking forward to contributing more :D |
You are welcome -- and I am glad the tickets fulfilled their intended purpose |
* patch datafusion deps * migrate from deprecated RuntimeEnv::new to RuntimeEnv::try_new Ref: apache/datafusion#12566 * remove Arc from create_udf call Ref: apache/datafusion#12489 * doc typo * migrage new UnnestOptions API Ref: https://github.com/apache/datafusion/pull/12836/files * update API for logical expr Limit Ref: apache/datafusion#12836 * remove logical expr CrossJoin It was removed upstream. Ref: apache/datafusion#13076 * update PyWindowUDF Ref: apache/datafusion#12803 * migrate window functions lead and lag to udwf Ref: apache/datafusion#12802 * migrate window functions rank, dense_rank, and percent_rank to udwf Ref: apache/datafusion#12648 * convert window function cume_dist to udwf Ref: apache/datafusion#12695 * convert window function ntile to udwf Ref: apache/datafusion#12694 * clean up functions_window invocation * Only one column was being passed to udwf * Update to DF 43.0.0 * Update tests to look for string_view type * String view is now the default type for strings * Making a variety of adjustments in wrappers and unit tests to account for the switch from string to string_view as default * Resolve errors in doc building --------- Co-authored-by: Tim Saucer <[email protected]>
Which issue does this PR close?
Closes #12554
What changes are included in this PR?
RuntimeEnv::new
toRuntimeEnv::try_new
RuntimeEnv::new
in code and documentation to useRuntimeEnv::try_new
Are these changes tested?
No extra tests required. Ensured that compilation, existing tests, and doc tests pass.
Are there any user-facing changes?
None.