{
  "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.",
  "type" : "scalar",
  "name" : "split",
  "description" : "Split a single valued string into multiple strings.",
  "signatures" : [
    {
      "params" : [
        {
          "name" : "string",
          "type" : "keyword",
          "optional" : false,
          "description" : "String expression. If `null`, the function returns `null`."
        },
        {
          "name" : "delim",
          "type" : "keyword",
          "optional" : false,
          "description" : "Delimiter. Only single byte delimiters are currently supported."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    },
    {
      "params" : [
        {
          "name" : "string",
          "type" : "keyword",
          "optional" : false,
          "description" : "String expression. If `null`, the function returns `null`."
        },
        {
          "name" : "delim",
          "type" : "text",
          "optional" : false,
          "description" : "Delimiter. Only single byte delimiters are currently supported."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    },
    {
      "params" : [
        {
          "name" : "string",
          "type" : "text",
          "optional" : false,
          "description" : "String expression. If `null`, the function returns `null`."
        },
        {
          "name" : "delim",
          "type" : "keyword",
          "optional" : false,
          "description" : "Delimiter. Only single byte delimiters are currently supported."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    },
    {
      "params" : [
        {
          "name" : "string",
          "type" : "text",
          "optional" : false,
          "description" : "String expression. If `null`, the function returns `null`."
        },
        {
          "name" : "delim",
          "type" : "text",
          "optional" : false,
          "description" : "Delimiter. Only single byte delimiters are currently supported."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    }
  ],
  "examples" : [
    "ROW words=\"foo;bar;baz;qux;quux;corge\"\n| EVAL word = SPLIT(words, \";\")"
  ],
  "preview" : false,
  "snapshot_only" : false
}
