Skip to content

Commit 471b5f4

Browse files
committed
adding kinesis documentation for ceil/floor syntax
1 parent 4648951 commit 471b5f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ast/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,13 @@ pub enum ExtractSyntax {
494494
}
495495

496496
/// The syntax used in a CEIL or FLOOR expression.
497+
///
498+
/// The `CEIL/FLOOR(<datetime value expression> TO <time unit>)` is an Amazon Kinesis Data Analytics extension.
499+
/// See <https://docs.aws.amazon.com/kinesisanalytics/latest/sqlref/sql-reference-ceil.html> for
500+
/// details.
501+
///
502+
/// Other dialects either support `CEIL/FLOOR( <expr> [, <scale>])` format or just
503+
/// `CEIL/FLOOR(<expr>)`.
497504
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
498505
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
499506
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]

0 commit comments

Comments
 (0)