Skip to content

[C++] Future as-of-join-node hangs on distant times #34391

@rtpsw

Description

@rtpsw

Describe the bug, including details regarding any error messages, version, and platform.

Future as-of-join-node goes into an infinite loop when right-table times are distant. A specific test case reproducing this is:

/*l*/ {R"([[0, 1, 1]])", R"([[1000, 2, 2]])", R"([[2000, 1, 3]])"},
/*r0*/ {R"([[0, 1, 10], [1500, 1, 11], [2500, 1, 12]])"},
/*r1*/ {R"([[0, 1, 100], [1500, 1, 101], [2500, 1, 102]])"},
/*exp_nokey*/ {R"([[0, 0, 1, 10, 100], [1000, 0, 2, 11, 101], [2000, 0, 3, 12, 102]])"},
/*exp_emptykey*/ {R"([[0, 1, 1, 10, 100], [1000, 2, 2, 11, 101], [2000, 1, 3, 12, 102]])"},
/*exp*/ {R"([[0, 1, 1, 10, 100], [1000, 2, 2, null, null], [2000, 1, 3, 12, 102]])"}, 1000);

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions