Class DataMetricFunctions

java.lang.Object
dev.frostlake.metastore.DataMetricFunctions

public final class DataMetricFunctions extends Object
The system DATA METRIC FUNCTIONS, which all live in SNOWFLAKE.CORE — read off a live account, so an attachment naming something else is refused the way live refuses it.

Most take ONE column; the table-level ones take none. A metric may appear in both lists, as DUPLICATE_COUNT and FRESHNESS do.

  • Field Details

    • SYSTEM_SCHEMA

      public static final String SYSTEM_SCHEMA
      Where every system metric lives; a name qualified any other way does not resolve.
      See Also:
  • Method Details

    • exists

      public static boolean exists(String qualifiedName)
      Whether a fully qualified name is a system metric. A bare or otherwise-qualified name is not: live answers Function 'NULL_COUNT' does not exist or not authorized. to the bare form.
    • bareName

      public static String bareName(String qualifiedName)
      The metric's bare name, for the sentences that spell it without its schema.