-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Restore DocBuilder::new()
to avoid breaking API change
#13870
base: main
Are you sure you want to change the base?
Conversation
DocBuilder::new()
to avoid API changeDocBuilder::new()
to avoid breaking API change
datafusion/sql/src/statement.rs
Outdated
@@ -62,8 +62,8 @@ use sqlparser::ast::{ | |||
Assignment, AssignmentTarget, ColumnDef, CreateIndex, CreateTable, | |||
CreateTableOptions, Delete, DescribeAlias, Expr as SQLExpr, FromTable, Ident, Insert, | |||
ObjectName, ObjectType, OneOrManyWithParens, Query, SchemaName, SetExpr, | |||
ShowCreateObject, Statement, TableConstraint, TableFactor, TableWithJoins, | |||
TransactionMode, UnaryOperator, Value, | |||
ShowCreateObject, ShowStatementFilter, Statement, TableConstraint, TableFactor, |
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.
cargo fmt drive by change?
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 it was something I needed to to do iix the build. I'll merge up and it should go away
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
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 thanks @alamb
Which issue does this PR close?
DocBuilder
migration in44.0.0
easier #13764Rationale for this change
I would like to help people upgrade DataFusion versions with as much help as possible. This means following the deprecation guidelines
Changes to
DocBuilder
introduced a breaking API change that could be confusing to some during upgraderelated_udf
,alternative_syntax
#13575What changes are included in this PR?
DocumentationBuilder::new
, and mark it `#[deprecated]``, following the deprecation guidelinesDocumentationBuilder::new_with_defaults
new to help users find the new APIDefault
forDocSection
to make it easier for users to bash out their own docsAre these changes tested?
Are there any user-facing changes?