Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@TennyZhuang
Copy link
Contributor

No description provided.

pyiceberg/expressions/literals.py Outdated Show resolved Hide resolved
Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks like theres a CI issue, Fokko's suggestion might help resolve it.

Could you also add a test for this change? heres an example for TimestampLiteral

def test_literal_from_datetime() -> None:
assert isinstance(literal(datetime.datetime.now()), TimestampLiteral)

TennyZhuang and others added 2 commits February 7, 2025 20:20
Co-authored-by: Fokko Driesprong <fokko@apache.org>
@Fokko
Copy link
Contributor

Fokko commented Feb 7, 2025

@TennyZhuang Can you run make lint? There seems to be a formatting issue

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

aside from the lint issue, LGTM!

@TennyZhuang
Copy link
Contributor Author

I have no idea why the CI failed again.

@Fokko
Copy link
Contributor

Fokko commented Feb 8, 2025

@TennyZhuang That looks unrelated to your PR, I've restarted the job

@Fokko Fokko merged commit 7596dc5 into apache:main Feb 8, 2025
7 checks passed
@Fokko
Copy link
Contributor

Fokko commented Feb 8, 2025

Thanks @TennyZhuang for adding this, and thanks @kevinjqliu for the review 🙌

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.