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

Fix duplicated time in result set bug #14782

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

JackieTien97
Copy link
Contributor

To replay you can use the following sqls (remember to disable cross_space_compaction)

create database db;
use db;
create table table1(id1 tag, s1 string);
insert into table1 values(0, 'd1', null), (1,'d1', 1);
flush;
insert into table1 values(0, 'd1', 0);
flush;
select * from table1;

previously, you will get duplicate timestamp 0

+-----------------------------+---+----+
|                         time|id1|  s1|
+-----------------------------+---+----+
|1970-01-01T08:00:00.000+08:00| d1|   0|
|1970-01-01T08:00:00.000+08:00| d1|null|
|1970-01-01T08:00:00.001+08:00| d1|   1|
+-----------------------------+---+----+

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.

1 participant