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

[CALCITE-6754] Remove deprecated method calling in Driver #4112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ILuffZhe
Copy link
Contributor

No description provided.

@caicancai
Copy link
Member

caicancai commented Dec 24, 2024

Now calcite does not support the MINOR keyword. You can try to modify the commit message

@ILuffZhe ILuffZhe changed the title [MINOR] Remove deprecated method calling in Driver Remove deprecated method calling in Driver Dec 25, 2024
@ILuffZhe
Copy link
Contributor Author

Now calcite does not support the MINOR keyword. You can try to modify the commit message

Thanks for your reminder.

@caicancai
Copy link
Member

Just a comment, I think this PR is worth creating a jira

@ILuffZhe
Copy link
Contributor Author

Just a comment, I think this PR is worth creating a jira

Sure, I'll do it later this day.

@ILuffZhe ILuffZhe changed the title Remove deprecated method calling in Driver [CALCITE-6754] Remove deprecated method calling in Driver Dec 31, 2024
@ILuffZhe
Copy link
Contributor Author

@caicancai Hi, I've changed the commit info and filed a JIRA ticket, please take a look when you have time.

}

/** Returns a factory with which to create a {@link CalcitePrepare}.
*
* <p>Now deprecated; if you wish to use a custom prepare, overrides of this
* method will still work, but we prefer that you call
* <p>Now deprecated; if you wish to use a custom prepare, please call
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we override this method now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we can override createPrepare() to achieve the same goal.
Since createPrepareFactory() is deprecated, maybe we shouldn't call or override it any more.

Copy link
Member

@caicancai caicancai left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants