Package dev.frostlake.executor.commands
Class TargetLag
java.lang.Object
dev.frostlake.executor.commands.TargetLag
How Snowflake stores a dynamic table's TARGET_LAG: the input is canonicalized, not echoed.
Live-verified —
'1 minutes' reads back 1 minute, '90 seconds' reads
back 1 minute, 30 seconds, '2 hours' stays 2 hours, and any lag under
sixty seconds is refused outright, quoting the input as written.-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcanonicalize(String input) static booleanWhether a lag is written as<count> <unit>, the only form an ALTER takes (live-verified).
-
Method Details
-
parses
Whether a lag is written as<count> <unit>, the only form an ALTER takes (live-verified). -
canonicalize
-