{
  "expectation_type": "expect_column_to_exist",
  "datasets": [{
    "data": {
      "c1": [4, 5, 6, 7],
      "c2": ["a", "b", "c", "d"],
      "c3": [null, null, null, null]
    },
    "schemas": {
      "spark": {
        "c1": "IntegerType",
        "c2": "StringType",
        "c3": "StringType"
      }
    },
    "tests": [{
      "title": "Basic positive test",
      "exact_match_out": false,
      "in": {
        "column": "c1"
      },
      "out": {
        "success": true
      }
    }, {
      "title": "Basic negative test",
      "exact_match_out": false,
      "in": {
        "column": "covfefe"
      },
      "out": {
        "success": false
      }
    }, {
      "title": "Positive test with column order",
      "exact_match_out": false,
      "in": {
        "column": "c2",
        "column_index": 1
      },
      "out": {
        "success": true
      }
    }, {
      "title": "Column exists but wrong index",
      "exact_match_out": false,
      "in": {
        "column": "c3",
        "column_index": 4
      },
      "out": {
        "success": false
      }
    }]
  }]
}
