Skip to content

[Bug]: data-expire obtained upperbound time is 8 hours later than the data time. #3617

@Aireed

Description

@Aireed

What happened?

id	name	ts	dt
3	name-3	2023-12-22 14:30:45	2023-12-22
4	name-4	2023-12-22 14:30:45	2023-12-22
5	name-5	2023-12-22 14:30:45	2023-12-22
2	name-1	2023-12-22 14:30:45	2023-12-22
6	name-6	2023-12-22 14:30:45	2023-12-22
Time taken: 0.474 seconds, Fetched 5 row(s)

Image

upperbounds of file: 2023-12-22T22:30:45+08:00, real timestamp is 2023-12-22 14:30:45
Image

Affects Versions

master

What table formats are you seeing the problem on?

Mixed-Hive

What engines are you seeing the problem on?

AMS

How to reproduce

1、create a mixed_hive table with data-expire properties like below
Image
2、use spark engine to insert into records with ts which less than 1 minute from the current time
3、restart ams , and check the data whether is expire

Relevant log output

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions