-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Comments
here are a few references for DBs that support this:
|
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! |
Please keep it active, still waiting for this to compare Starrocks vs Clickhouse |
Snowflake added AS OF JOINS too by now: https://docs.snowflake.com/en/sql-reference/constructs/asof-join |
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! |
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
The text was updated successfully, but these errors were encountered: