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

Support for AS OF joins #22511

Closed
kzk2000 opened this issue Apr 26, 2023 · 5 comments
Closed

Support for AS OF joins #22511

kzk2000 opened this issue Apr 26, 2023 · 5 comments

Comments

@kzk2000
Copy link

kzk2000 commented Apr 26, 2023

Feature request

Please support AS OF JOIN, similar to what kdb, QuestDB, and ClickHouse already offer. It’s a critical feature for financial use cases such as matching trades & quotes, for instance, or IoT use cases where different time-series streams don’t have matching time stamps.

Describe the solution you'd like
I don’t know what AS OF join implementation works best. QuestDb code is Apache v2 open-source, so that might be a good start.

Alternatively, I found this pure Postgres SQL solution that was posted on a TimeScaleDB thread that might be a good starting point as well: timescale/timescaledb#271 (comment)

Additional context
Per this thread on Starrocks Slack, this feature has been requested by others before as well: https://starrocks.slack.com/archives/C02FACZSNJV/p1682199052128039

@kzk2000
Copy link
Author

kzk2000 commented Aug 10, 2023

here are a few references for DBs that support this:

Copy link

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!

@kzk2000
Copy link
Author

kzk2000 commented Feb 12, 2024

Please keep it active, still waiting for this to compare Starrocks vs Clickhouse

@kzk2000
Copy link
Author

kzk2000 commented May 23, 2024

Snowflake added AS OF JOINS too by now: https://docs.snowflake.com/en/sql-reference/constructs/asof-join

Copy link

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant