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

[#1380] Add Literals class for managing the Literal helper methods #1381

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Jan 8, 2024

What changes were proposed in this pull request?

  • Add a Literals class for managing the Literal helper methods
  • Make the old Literal API deprecated

Why are the changes needed?

Fix: #1380

Does this PR introduce any user-facing change?

Yes, make the old Literal API deprecated

How was this patch tested?

existing tests

@mchades mchades requested a review from jerryshao January 8, 2024 10:59
@mchades mchades self-assigned this Jan 8, 2024
@qqqttt123
Copy link
Contributor

You should modify the document, too.

*/
@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you deprecate the class, not just the method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In fact, I have moved this class from package com.datastrato.gravitino.rel.expressions to com.datastrato.gravitino.rel.expressions.literals, and I want users to use the new class.

@mchades
Copy link
Contributor Author

mchades commented Jan 8, 2024

You should modify the document, too.

user doc will modify in another subtask, see task list of #1379.

@mchades mchades requested review from jerryshao and FANNG1 January 8, 2024 13:38
Copy link
Contributor

@jerryshao jerryshao left a comment

Choose a reason for hiding this comment

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

LGTM.

@jerryshao jerryshao merged commit ad6e2b9 into apache:main Jan 8, 2024
11 checks passed
@mchades mchades deleted the literals branch November 22, 2024 03:38
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.

[Subtask] Add Literals class for managing the Literal helper methods
3 participants