{
  "version" : "6.0.0",
  "timestamp" : 1589910888564,
  "path" : "query-validation-tests/project-filter.json",
  "schemas" : {
    "CSAS_S1_0.KsqlTopic.Source" : {
      "schema" : "`K` STRING KEY, `C1` BIGINT, `C2` INTEGER, `C3` STRING",
      "serdeOptions" : [ ]
    },
    "CSAS_S1_0.S1" : {
      "schema" : "`K` STRING KEY, `C1` BIGINT, `C2` INTEGER, `C3` STRING",
      "serdeOptions" : [ ]
    }
  },
  "testCase" : {
    "name" : "Filter on long literal",
    "inputs" : [ {
      "topic" : "test_topic",
      "key" : "0",
      "value" : "123,456,foo"
    }, {
      "topic" : "test_topic",
      "key" : "0",
      "value" : "4294967296,456,foo"
    } ],
    "outputs" : [ {
      "topic" : "S1",
      "key" : "0",
      "value" : "4294967296,456,foo"
    } ],
    "topics" : [ {
      "name" : "test_topic",
      "replicas" : 1,
      "numPartitions" : 4
    }, {
      "name" : "S1",
      "replicas" : 1,
      "numPartitions" : 4
    } ],
    "statements" : [ "CREATE STREAM TEST (K STRING KEY, C1 BIGINT, C2 INTEGER, C3 STRING) WITH (KAFKA_TOPIC='test_topic', value_format='DELIMITED');", "CREATE STREAM S1 AS SELECT * FROM TEST WHERE C1 = 4294967296;" ],
    "post" : {
      "sources" : [ {
        "name" : "TEST",
        "type" : "STREAM",
        "schema" : "`K` STRING KEY, `C1` BIGINT, `C2` INTEGER, `C3` STRING",
        "keyFormat" : {
          "format" : "KAFKA"
        },
        "serdeOptions" : [ ]
      }, {
        "name" : "S1",
        "type" : "STREAM",
        "schema" : "`K` STRING KEY, `C1` BIGINT, `C2` INTEGER, `C3` STRING",
        "keyFormat" : {
          "format" : "KAFKA"
        },
        "serdeOptions" : [ ]
      } ],
      "topics" : {
        "topics" : [ {
          "name" : "S1",
          "keyFormat" : {
            "formatInfo" : {
              "format" : "KAFKA"
            }
          },
          "valueFormat" : {
            "format" : "DELIMITED"
          },
          "partitions" : 4
        }, {
          "name" : "test_topic",
          "keyFormat" : {
            "formatInfo" : {
              "format" : "KAFKA"
            }
          },
          "valueFormat" : {
            "format" : "DELIMITED"
          },
          "partitions" : 4
        } ]
      }
    }
  }
}