Skip to content

Conversation

@sarahyurick
Copy link
Collaborator

To do SELECT TIME '08:08:00.091' AS "T", we just need to add logic for Time64. Since Time32 is also an Arrow Data Type, I added that too.

Copy link
Collaborator

@ayushdg ayushdg 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 this! Changes generally look good to me.

Could you also add an implementation for getTime32Value similar to time64 and potentially add a test case for time32 if possible

@sarahyurick
Copy link
Collaborator Author

Thanks for this! Changes generally look good to me.

Could you also add an implementation for getTime32Value similar to time64 and potentially add a test case for time32 if possible

Upon further inspection, I don't think much is needed in terms of Time32/Time64 stuff, and we can just use the existing SqlTypeName::TIME. Since DataFusion doesn't support ScalarValue::Time32, I don't think getTime32Value is necessary and can't be tested.

After @andygrove 's PR (#825) is merged, I think this PR will be very small.

@sarahyurick sarahyurick changed the title Resolve test_literals() [BLOCKED] Resolve test_literals() Oct 5, 2022
Copy link
Contributor

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

LGTM

@sarahyurick sarahyurick changed the title [BLOCKED] Resolve test_literals() Resolve test_literals() Oct 10, 2022
Co-authored-by: Andy Grove <andygrove73@gmail.com>
@ayushdg ayushdg merged commit 09320b3 into dask-contrib:main Oct 10, 2022
@sarahyurick sarahyurick deleted the test_literals branch May 26, 2023 22:14
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