feat(sql): period sample by interval syntax for materialized views#6428
feat(sql): period sample by interval syntax for materialized views#6428bluestreak01 merged 6 commits intomasterfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
[PR Coverage check]😍 pass : 140 / 147 (95.24%) file detail
|
Introduces new
PERIOD (SAMPLE BY INTERVAL)syntax for period materialized views:The above SQL is an easier way to write
PERIOD (LENGTH 1d TIME ZONE 'Europe/London').Other than that, period materialized views now support second unit (
's') for the length and delay intervals. Prior to this change, the only supported units were minutes ('m'), hours ('h'), and days ('d').Limitations:
SAMPLE BY ... WITH OFFSET ...can't be combined withPERIOD (SAMPLE BY INTERVAL).