-
Notifications
You must be signed in to change notification settings - Fork 57
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
Deprecate "to_timestamp" function #285
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.
Overall this looks good. Just wanted to note that we also generally check the Vector regression tests for any usage of the deprecated function and replace those, but I don't see any so you should be good there.
src/compiler/compiler.rs
Outdated
) { | ||
if func.ident == "to_timestamp" { | ||
self.diagnostics.push(Box::new( | ||
DeprecationWarning::new(format!("the `{}` function", func.ident).as_str()) |
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.
Not really a big deal here, but the func.indent
can be inlined since it's always to_timestamp
Forgot to mention: please add a changelog entry for this. |
Should we remove this https://github.com/vectordotdev/vrl/blob/main/LICENSE-3rdparty.csv#L91? |
I had noticed this as well in #288 . I opened #290 to update the license file. |
closes: #188