def METHOD_NAME(context: AssertionContext) -> AssertionResult:
    table = context.table
    column = context.column
    metrics = context.profiler_result
    column_metrics = metrics.get('tables', {}).get(table, {}).get('columns', {}).get(column)
    if not column_metrics:
        return context.result.fail_with_metric_not_found_error(context.table, context.column)
    # Check assertion input
    assert_schema_type = context.asserts.get('schema_type').upper()
    if not assert_schema_type:
        return context.result.fail_with_assertion_error('Expect a SQL schema type')
    context.result.expected = assert_schema_type
    schema_type = column_metrics.get('schema_type')
    context.result.actual = schema_type
    if schema_type == assert_schema_type:
        return context.result.success()
    return context.result.fail()