def format_default_value(default: Any) -> str:
    """
    Formats the default value for SQL.

    Args:
        default (Any): The default value to format.

    Returns:
        str: The formatted default value suitable for SQL.

    Examples:
        >>> format_default_value(None)
        'NULL'
        >>> format_default_value("default")
        "'default'"
        >>> format_default_value(42)
        '42'
    """

    if default is None:
        return "NULL"
    elif isinstance(default, str):
        return f"'{default}'"
    else:
        return str(default)

    Formats the default value for SQL.

    Args:
        default (Any): The default value to format.

    Returns:
        str: The formatted default value suitable for SQL.

    Examples:
        >>> format_default_value(None)
        'NULL'
        >>> format_default_value("default")
        "'default'"
        >>> format_default_value(42)
        '42'
    
ai/core/src/unitycatalog/ai/core/utils/callable_utils.py