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

test create_external_table_with_timestamps failed locally #1262

Closed
xudong963 opened this issue Nov 7, 2021 · 2 comments · Fixed by #1265 or #1275
Closed

test create_external_table_with_timestamps failed locally #1262

xudong963 opened this issue Nov 7, 2021 · 2 comments · Fixed by #1265 or #1275
Labels
bug Something isn't working

Comments

@xudong963
Copy link
Member

xudong963 commented Nov 7, 2021

Describe the bug
create_external_table_with_timestamps and group_by_date_trunc failed locally, but CI seems normal.

To Reproduce
Steps to reproduce the behavior:

Expected behavior

expected:

[
    "+--------+-------------------------+",
    "| name   | ts                      |",
    "+--------+-------------------------+",
    "| Andrew | 2018-11-13 17:11:10.011 |",
    "| Jorge  | 2018-12-13 12:12:10.011 |",
    "+--------+-------------------------+",
]
actual:

[
    "+--------+-------------------------+",
    "| name   | ts                      |",
    "+--------+-------------------------+",
    "| Andrew | 2018-11-13 09:11:10.011 |",
    "| Jorge  | 2018-12-13 04:12:10.011 |",
    "+--------+-------------------------+",
]
expected:

[
    "+---------------------+--------------+",
    "| week                | SUM(test.c2) |",
    "+---------------------+--------------+",
    "| 2020-12-07 00:00:00 | 24           |",
    "| 2020-12-14 00:00:00 | 156          |",
    "+---------------------+--------------+",
]
actual:

[
    "+---------------------+--------------+",
    "| week                | SUM(test.c2) |",
    "+---------------------+--------------+",
    "| 2020-12-07 00:00:00 | 40           |",
    "| 2020-12-14 00:00:00 | 140          |",
    "+---------------------+--------------+",
]

Additional context
It seems a zone question, I'm in east 8th.

@xudong963 xudong963 added the bug Something isn't working label Nov 7, 2021
@xudong963
Copy link
Member Author

xudong963 commented Nov 7, 2021

FYI, yesterday, the test was normal locally. Today, I rebased master and it failed, there are two new commits, #1243, #1255. I guess maybe arrow-rs 6.1.0 caused it. I had a quick look at arrow-rs 6.1.0 and found a suspicious PR about zone: apache/arrow-rs@d4bf0b6

@alamb
Copy link
Contributor

alamb commented Nov 8, 2021

I think it may be related to apache/arrow-rs#832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants