apache / apache/datafusion

Update data in SQL tests to have necessary precision for tests

Open
#1,151 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

In 'datafusion/sql/tests/sql.rs' there are some tests that check for milli/micro/etc precision but the underlying data doesnt go to that level of precision. The data for tests should be at the necessary level of precision for whatever level of precision the test is for.

_Originally posted by @alamb in https://github.com/apache/arrow-datafusion/pull/1126#discussion_r730396112_

Contributor guide

Open the contributing guide

Research direction

Open datafusion/sql/tests/sql.rs and locate the tests that check milli-, micro-, or other timestamp precision. Compare each test's expected precision with its underlying data, update the data to reach the required level, and run the SQL tests to verify they pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
data-engineering, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.