{
  "expectation_type" : "expect_column_pair_values_to_be_equal",
  "datasets" : [{
    "data" : {
      "w" : [1, 2, 3, 4, 5, 6, 7, 8, 9, null],
      "x" : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
      "y" : [1, 2, 3, 4, 5, 6, 7, 8, 9, "abc"],
      "z" : [1, 2, 3, 4, 5, null, null, null, null, null]
    },
    "schemas": {
      "spark": {
        "w": "IntegerType",
        "x": "IntegerType",
        "y": "StringType",
        "z": "IntegerType"
      }
    },
    "tests" : [{
      "title" : "trivial_case:_x__x",
      "exact_match_out" : false,
      "in": {
        "column_A": "x",
        "column_B": "x"
      },
      "out": {
        "unexpected_list": [],
        "unexpected_index_list": [],
        "success": true
      }
    },{
      "title" : "basic_negative_example",
      "exact_match_out" : false,
      "in": {
        "column_A": "x",
        "column_B": "y"
      },
      "out" : {
        "unexpected_list": [
          [10, "abc"]
        ],
        "success": false
      }
    }, {
      "title" : "positive_example_with_mostly",
      "exact_match_out" : false,
      "in": {
        "column_A": "x",
        "column_B": "y",
        "mostly": 0.9
      },
      "out" : {
        "unexpected_list": [
          [10, "abc"]
        ],
        "success": true
      }
    }, {
      "title" : "positive_example_with_mismatched_null_values_and_ignore_row_if__either_value_is_missing",
      "exact_match_out" : false,
      "in": {
        "column_A": "y",
        "column_B": "z",
        "ignore_row_if": "either_value_is_missing"
      },
      "out" : {
        "unexpected_list": [],
        "success": true
      }
    }, {
      "title" : "a_negative_example_with_mismatched_null_values_and_ignore_row_if__both_values_are_missing_set_explicitly",
      "exact_match_out" : false,
      "in": {
        "column_A": "w",
        "column_B": "z",
        "ignore_row_if": "both_values_are_missing"
      },
      "out" : {
        "unexpected_list": [
          [6.0,null], [7.0,null], [8.0,null], [9.0,null]
        ],
        "success": false
      }
    }, {
      "title" : "a_negative_example_with_mismatched_null_values_and_ignore_row_if__both_values_are_missing_set_by_default",
      "exact_match_out" : false,
      "in": {
        "column_A": "w",
        "column_B": "z"
      },
      "out" : {
        "unexpected_list": [
          [6.0,null], [7.0,null], [8.0,null], [9.0,null]
        ],
        "success": false
      }
    }, {
      "title" : "a_negative_example",
      "exact_match_out" : false,
      "in": {
        "column_A": "w",
        "column_B": "z"
      },
      "out" : {
        "unexpected_list": [
          [6.0,null], [7.0,null], [8.0,null], [9.0,null]
        ],
        "success": false
      }
    }, {
      "title" : "a_positive_example_with_mostly",
      "exact_match_out" : false,
      "in": {
        "column_A": "w",
        "column_B": "z",
        "mostly": 0.5
      },
      "out" : {
        "unexpected_list": [
          [6.0,null], [7.0,null], [8.0,null], [9.0,null]
        ],
        "success": true
      }
    }, {
      "title" : "a_positive_example_with_ignore_row_if__either_value_is_missing",
      "exact_match_out" : false,
      "in": {
        "column_A": "w",
        "column_B": "z",
        "ignore_row_if": "either_value_is_missing"
      },
      "out" : {
        "unexpected_list": [],
        "success": true
      }
    }]
  }]
}
