Class TargetLag

java.lang.Object
dev.frostlake.executor.commands.TargetLag

public final class TargetLag extends Object
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 Details

    • parses

      public static boolean parses(String input)
      Whether a lag is written as <count> <unit>, the only form an ALTER takes (live-verified).
    • canonicalize

      public static String canonicalize(String input)