blob: 5667d21c2931a9373ff38159afbdcd0a435c1d4b [file] [log] [blame]
<!DOCTYPE html>
<html >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Error classes in PySpark &#8212; PySpark 4.0.0-preview1 documentation</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
</script>
<!-- Loaded before other Sphinx assets -->
<link href="../_static/styles/theme.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="../_static/styles/bootstrap.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="../_static/vendor/fontawesome/6.1.2/css/all.min.css?digest=e353d410970836974a52" rel="stylesheet" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="../_static/css/pyspark.css" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=e353d410970836974a52" />
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52" />
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script>DOCUMENTATION_OPTIONS.pagename = 'development/errors';</script>
<link rel="canonical" href="https://spark.apache.org/docs/latest/api/python/development/errors.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Migration Guides" href="../migration_guide/index.html" />
<link rel="prev" title="Setting up IDEs" href="setting_ide.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="None">
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://analytics.apache.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '40']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
<a class="skip-link" href="#main-content">Skip to main content</a>
<input type="checkbox"
class="sidebar-toggle"
name="__primary"
id="__primary"/>
<label class="overlay overlay-primary" for="__primary"></label>
<input type="checkbox"
class="sidebar-toggle"
name="__secondary"
id="__secondary"/>
<label class="overlay overlay-secondary" for="__secondary"></label>
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
action="../search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
id="search-input"
placeholder="Search the docs ..."
aria-label="Search the docs ..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
</div>
<nav class="bd-header navbar navbar-expand-lg bd-navbar">
<div class="bd-header__inner bd-page-width">
<label class="sidebar-toggle primary-toggle" for="__primary">
<span class="fa-solid fa-bars"></span>
</label>
<div class="navbar-header-items__start">
<div class="navbar-item">
<a class="navbar-brand logo" href="../index.html">
<img src="../_static/spark-logo-light.png" class="logo__image only-light" alt="Logo image"/>
<script>document.write(`<img src="../_static/spark-logo-dark.png" class="logo__image only-dark" alt="Logo image"/>`);</script>
</a></div>
</div>
<div class="col-lg-9 navbar-header-items">
<div class="me-auto navbar-header-items__center">
<div class="navbar-item"><nav class="navbar-nav">
<p class="sidebar-header-items__title"
role="heading"
aria-level="1"
aria-label="Site Navigation">
Site Navigation
</p>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="../index.html">
Overview
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../getting_started/index.html">
Getting Started
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../user_guide/index.html">
User Guides
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../reference/index.html">
API Reference
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="index.html">
Development
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../migration_guide/index.html">
Migration Guides
</a>
</li>
</ul>
</nav></div>
</div>
<div class="navbar-header-items__end">
<div class="navbar-item navbar-persistent--container">
<script>
document.write(`
<button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
`);
</script>
</div>
<div class="navbar-item"><!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id="version-button" class="dropdown">
<button type="button" class="btn btn-secondary btn-sm navbar-btn dropdown-toggle" id="version_switcher_button" data-toggle="dropdown">
4.0.0-preview1
<span class="caret"></span>
</button>
<div id="version_switcher" class="dropdown-menu list-group-flush py-0" aria-labelledby="version_switcher_button">
<!-- dropdown will be populated by javascript on page load -->
</div>
</div>
<script type="text/javascript">
// Function to construct the target URL from the JSON components
function buildURL(entry) {
var template = "https://spark.apache.org/docs/{version}/api/python/index.html"; // supplied by jinja
template = template.replace("{version}", entry.version);
return template;
}
// Function to check if corresponding page path exists in other version of docs
// and, if so, go there instead of the homepage of the other docs version
function checkPageExistsAndRedirect(event) {
const currentFilePath = "development/errors.html",
otherDocsHomepage = event.target.getAttribute("href");
let tryUrl = `${otherDocsHomepage}${currentFilePath}`;
$.ajax({
type: 'HEAD',
url: tryUrl,
// if the page exists, go there
success: function() {
location.href = tryUrl;
}
}).fail(function() {
location.href = otherDocsHomepage;
});
return false;
}
// Function to populate the version switcher
(function () {
// get JSON config
$.getJSON("https://spark.apache.org/static/versions.json", function(data, textStatus, jqXHR) {
// create the nodes first (before AJAX calls) to ensure the order is
// correct (for now, links will go to doc version homepage)
$.each(data, function(index, entry) {
// if no custom name specified (e.g., "latest"), use version string
if (!("name" in entry)) {
entry.name = entry.version;
}
// construct the appropriate URL, and add it to the dropdown
entry.url = buildURL(entry);
const node = document.createElement("a");
node.setAttribute("class", "list-group-item list-group-item-action py-1");
node.setAttribute("href", `${entry.url}`);
node.textContent = `${entry.name}`;
node.onclick = checkPageExistsAndRedirect;
$("#version_switcher").append(node);
});
});
})();
</script></div>
<div class="navbar-item">
<script>
document.write(`
<button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
<span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
<span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
</button>
`);
</script></div>
<div class="navbar-item"><ul class="navbar-icon-links navbar-nav"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/apache/spark" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa-brands fa-github"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
<li class="nav-item">
<a href="https://pypi.org/project/pyspark" title="PyPI" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa-solid fa-box"></i></span>
<label class="sr-only">PyPI</label></a>
</li>
</ul></div>
</div>
</div>
<div class="navbar-persistent--mobile">
<script>
document.write(`
<button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
`);
</script>
</div>
<label class="sidebar-toggle secondary-toggle" for="__secondary">
<span class="fa-solid fa-outdent"></span>
</label>
</div>
</nav>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<div class="bd-sidebar-primary bd-sidebar">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-item"><nav class="navbar-nav">
<p class="sidebar-header-items__title"
role="heading"
aria-level="1"
aria-label="Site Navigation">
Site Navigation
</p>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="../index.html">
Overview
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../getting_started/index.html">
Getting Started
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../user_guide/index.html">
User Guides
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../reference/index.html">
API Reference
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="index.html">
Development
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../migration_guide/index.html">
Migration Guides
</a>
</li>
</ul>
</nav></div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-item"><!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id="version-button" class="dropdown">
<button type="button" class="btn btn-secondary btn-sm navbar-btn dropdown-toggle" id="version_switcher_button" data-toggle="dropdown">
4.0.0-preview1
<span class="caret"></span>
</button>
<div id="version_switcher" class="dropdown-menu list-group-flush py-0" aria-labelledby="version_switcher_button">
<!-- dropdown will be populated by javascript on page load -->
</div>
</div>
<script type="text/javascript">
// Function to construct the target URL from the JSON components
function buildURL(entry) {
var template = "https://spark.apache.org/docs/{version}/api/python/index.html"; // supplied by jinja
template = template.replace("{version}", entry.version);
return template;
}
// Function to check if corresponding page path exists in other version of docs
// and, if so, go there instead of the homepage of the other docs version
function checkPageExistsAndRedirect(event) {
const currentFilePath = "development/errors.html",
otherDocsHomepage = event.target.getAttribute("href");
let tryUrl = `${otherDocsHomepage}${currentFilePath}`;
$.ajax({
type: 'HEAD',
url: tryUrl,
// if the page exists, go there
success: function() {
location.href = tryUrl;
}
}).fail(function() {
location.href = otherDocsHomepage;
});
return false;
}
// Function to populate the version switcher
(function () {
// get JSON config
$.getJSON("https://spark.apache.org/static/versions.json", function(data, textStatus, jqXHR) {
// create the nodes first (before AJAX calls) to ensure the order is
// correct (for now, links will go to doc version homepage)
$.each(data, function(index, entry) {
// if no custom name specified (e.g., "latest"), use version string
if (!("name" in entry)) {
entry.name = entry.version;
}
// construct the appropriate URL, and add it to the dropdown
entry.url = buildURL(entry);
const node = document.createElement("a");
node.setAttribute("class", "list-group-item list-group-item-action py-1");
node.setAttribute("href", `${entry.url}`);
node.textContent = `${entry.name}`;
node.onclick = checkPageExistsAndRedirect;
$("#version_switcher").append(node);
});
});
})();
</script></div>
<div class="navbar-item">
<script>
document.write(`
<button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
<span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
<span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
</button>
`);
</script></div>
<div class="navbar-item"><ul class="navbar-icon-links navbar-nav"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/apache/spark" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa-brands fa-github"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
<li class="nav-item">
<a href="https://pypi.org/project/pyspark" title="PyPI" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa-solid fa-box"></i></span>
<label class="sr-only">PyPI</label></a>
</li>
</ul></div>
</div>
</div>
<div class="sidebar-primary-items__start sidebar-primary__section">
<div class="sidebar-primary-item"><nav class="bd-docs-nav bd-links"
aria-label="Section Navigation">
<p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p>
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to PySpark</a></li>
<li class="toctree-l1"><a class="reference internal" href="testing.html">Testing PySpark</a></li>
<li class="toctree-l1"><a class="reference internal" href="debugging.html">Debugging PySpark</a></li>
<li class="toctree-l1"><a class="reference internal" href="setting_ide.html">Setting up IDEs</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Error classes in PySpark</a></li>
</ul>
</div>
</nav></div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main">
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article">
<div class="header-article-items header-article__inner">
<div class="header-article-items__start">
<div class="header-article-item">
<nav aria-label="Breadcrumbs">
<ul class="bd-breadcrumbs" role="navigation" aria-label="Breadcrumb">
<li class="breadcrumb-item breadcrumb-home">
<a href="../index.html" class="nav-link" aria-label="Home">
<i class="fa-solid fa-home"></i>
</a>
</li>
<li class="breadcrumb-item"><a href="index.html" class="nav-link">Development</a></li>
<li class="breadcrumb-item active" aria-current="page">Error classes in PySpark</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article" role="main">
<section id="error-classes-in-pyspark">
<h1>Error classes in PySpark<a class="headerlink" href="#error-classes-in-pyspark" title="Permalink to this headline">#</a></h1>
<p>This is a list of common, named error classes returned by PySpark which are defined at <a class="reference external" href="https://github.com/apache/spark/blob/master/python/pyspark/errors/error-conditions.json">error-conditions.json</a>.</p>
<p>When writing PySpark errors, developers must use an error class from the list. If an appropriate error class is not available, add a new one into the list. For more information, please refer to <a class="reference internal" href="contributing.html#contributing-error-and-exception"><span class="std std-ref">Contributing Error and Exception</span></a>.</p>
<section id="application-name-not-set">
<h2>APPLICATION_NAME_NOT_SET<a class="headerlink" href="#application-name-not-set" title="Permalink to this headline">#</a></h2>
<p>An application name must be set in your configuration.</p>
</section>
<section id="argument-required">
<h2>ARGUMENT_REQUIRED<a class="headerlink" href="#argument-required" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> is required when &lt;condition&gt;.</p>
</section>
<section id="arrow-legacy-ipc-format">
<h2>ARROW_LEGACY_IPC_FORMAT<a class="headerlink" href="#arrow-legacy-ipc-format" title="Permalink to this headline">#</a></h2>
<p>Arrow legacy IPC format is not supported in PySpark, please unset ARROW_PRE_0_15_IPC_FORMAT.</p>
</section>
<section id="attribute-not-callable">
<h2>ATTRIBUTE_NOT_CALLABLE<a class="headerlink" href="#attribute-not-callable" title="Permalink to this headline">#</a></h2>
<p>Attribute <cite>&lt;attr_name&gt;</cite> in provided object <cite>&lt;obj_name&gt;</cite> is not callable.</p>
</section>
<section id="attribute-not-supported">
<h2>ATTRIBUTE_NOT_SUPPORTED<a class="headerlink" href="#attribute-not-supported" title="Permalink to this headline">#</a></h2>
<p>Attribute <cite>&lt;attr_name&gt;</cite> is not supported.</p>
</section>
<section id="axis-length-mismatch">
<h2>AXIS_LENGTH_MISMATCH<a class="headerlink" href="#axis-length-mismatch" title="Permalink to this headline">#</a></h2>
<p>Length mismatch: Expected axis has &lt;expected_length&gt; element, new values have &lt;actual_length&gt; elements.</p>
</section>
<section id="broadcast-variable-not-loaded">
<h2>BROADCAST_VARIABLE_NOT_LOADED<a class="headerlink" href="#broadcast-variable-not-loaded" title="Permalink to this headline">#</a></h2>
<p>Broadcast variable <cite>&lt;variable&gt;</cite> not loaded.</p>
</section>
<section id="call-before-initialize">
<h2>CALL_BEFORE_INITIALIZE<a class="headerlink" href="#call-before-initialize" title="Permalink to this headline">#</a></h2>
<p>Not supported to call <cite>&lt;func_name&gt;</cite> before initialize &lt;object&gt;.</p>
</section>
<section id="cannot-accept-object-in-type">
<h2>CANNOT_ACCEPT_OBJECT_IN_TYPE<a class="headerlink" href="#cannot-accept-object-in-type" title="Permalink to this headline">#</a></h2>
<p><cite>&lt;data_type&gt;</cite> can not accept object <cite>&lt;obj_name&gt;</cite> in type <cite>&lt;obj_type&gt;</cite>.</p>
</section>
<section id="cannot-access-to-dunder">
<h2>CANNOT_ACCESS_TO_DUNDER<a class="headerlink" href="#cannot-access-to-dunder" title="Permalink to this headline">#</a></h2>
<p>Dunder(double underscore) attribute is for internal use only.</p>
</section>
<section id="cannot-apply-in-for-column">
<h2>CANNOT_APPLY_IN_FOR_COLUMN<a class="headerlink" href="#cannot-apply-in-for-column" title="Permalink to this headline">#</a></h2>
<p>Cannot apply ‘in’ operator against a column: please use ‘contains’ in a string column or ‘array_contains’ function for an array column.</p>
</section>
<section id="cannot-be-empty">
<h2>CANNOT_BE_EMPTY<a class="headerlink" href="#cannot-be-empty" title="Permalink to this headline">#</a></h2>
<p>At least one &lt;item&gt; must be specified.</p>
</section>
<section id="cannot-be-none">
<h2>CANNOT_BE_NONE<a class="headerlink" href="#cannot-be-none" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> cannot be None.</p>
</section>
<section id="cannot-configure-spark-connect">
<h2>CANNOT_CONFIGURE_SPARK_CONNECT<a class="headerlink" href="#cannot-configure-spark-connect" title="Permalink to this headline">#</a></h2>
<p>Spark Connect server cannot be configured: Existing [&lt;existing_url&gt;], New [&lt;new_url&gt;].</p>
</section>
<section id="cannot-configure-spark-connect-master">
<h2>CANNOT_CONFIGURE_SPARK_CONNECT_MASTER<a class="headerlink" href="#cannot-configure-spark-connect-master" title="Permalink to this headline">#</a></h2>
<p>Spark Connect server and Spark master cannot be configured together: Spark master [&lt;master_url&gt;], Spark Connect [&lt;connect_url&gt;].</p>
</section>
<section id="cannot-convert-column-into-bool">
<h2>CANNOT_CONVERT_COLUMN_INTO_BOOL<a class="headerlink" href="#cannot-convert-column-into-bool" title="Permalink to this headline">#</a></h2>
<p>Cannot convert column into bool: please use ‘&amp;’ for ‘and’, ‘|’ for ‘or’, ‘~’ for ‘not’ when building DataFrame boolean expressions.</p>
</section>
<section id="cannot-convert-type">
<h2>CANNOT_CONVERT_TYPE<a class="headerlink" href="#cannot-convert-type" title="Permalink to this headline">#</a></h2>
<p>Cannot convert &lt;from_type&gt; into &lt;to_type&gt;.</p>
</section>
<section id="cannot-determine-type">
<h2>CANNOT_DETERMINE_TYPE<a class="headerlink" href="#cannot-determine-type" title="Permalink to this headline">#</a></h2>
<p>Some of types cannot be determined after inferring.</p>
</section>
<section id="cannot-get-batch-id">
<h2>CANNOT_GET_BATCH_ID<a class="headerlink" href="#cannot-get-batch-id" title="Permalink to this headline">#</a></h2>
<p>Could not get batch id from &lt;obj_name&gt;.</p>
</section>
<section id="cannot-infer-array-type">
<h2>CANNOT_INFER_ARRAY_TYPE<a class="headerlink" href="#cannot-infer-array-type" title="Permalink to this headline">#</a></h2>
<p>Can not infer Array Type from a list with None as the first element.</p>
</section>
<section id="cannot-infer-empty-schema">
<h2>CANNOT_INFER_EMPTY_SCHEMA<a class="headerlink" href="#cannot-infer-empty-schema" title="Permalink to this headline">#</a></h2>
<p>Can not infer schema from an empty dataset.</p>
</section>
<section id="cannot-infer-schema-for-type">
<h2>CANNOT_INFER_SCHEMA_FOR_TYPE<a class="headerlink" href="#cannot-infer-schema-for-type" title="Permalink to this headline">#</a></h2>
<p>Can not infer schema for type: <cite>&lt;data_type&gt;</cite>.</p>
</section>
<section id="cannot-infer-type-for-field">
<h2>CANNOT_INFER_TYPE_FOR_FIELD<a class="headerlink" href="#cannot-infer-type-for-field" title="Permalink to this headline">#</a></h2>
<p>Unable to infer the type of the field <cite>&lt;field_name&gt;</cite>.</p>
</section>
<section id="cannot-merge-type">
<h2>CANNOT_MERGE_TYPE<a class="headerlink" href="#cannot-merge-type" title="Permalink to this headline">#</a></h2>
<p>Can not merge type <cite>&lt;data_type1&gt;</cite> and <cite>&lt;data_type2&gt;</cite>.</p>
</section>
<section id="cannot-open-socket">
<h2>CANNOT_OPEN_SOCKET<a class="headerlink" href="#cannot-open-socket" title="Permalink to this headline">#</a></h2>
<p>Can not open socket: &lt;errors&gt;.</p>
</section>
<section id="cannot-parse-datatype">
<h2>CANNOT_PARSE_DATATYPE<a class="headerlink" href="#cannot-parse-datatype" title="Permalink to this headline">#</a></h2>
<p>Unable to parse datatype. &lt;msg&gt;.</p>
</section>
<section id="cannot-provide-metadata">
<h2>CANNOT_PROVIDE_METADATA<a class="headerlink" href="#cannot-provide-metadata" title="Permalink to this headline">#</a></h2>
<p>Metadata can only be provided for a single column.</p>
</section>
<section id="cannot-set-together">
<h2>CANNOT_SET_TOGETHER<a class="headerlink" href="#cannot-set-together" title="Permalink to this headline">#</a></h2>
<p>&lt;arg_list&gt; should not be set together.</p>
</section>
<section id="cannot-specify-return-type-for-udf">
<h2>CANNOT_SPECIFY_RETURN_TYPE_FOR_UDF<a class="headerlink" href="#cannot-specify-return-type-for-udf" title="Permalink to this headline">#</a></h2>
<p>returnType can not be specified when <cite>&lt;arg_name&gt;</cite> is a user-defined function, but got &lt;return_type&gt;.</p>
</section>
<section id="cannot-without">
<h2>CANNOT_WITHOUT<a class="headerlink" href="#cannot-without" title="Permalink to this headline">#</a></h2>
<p>Cannot &lt;condition1&gt; without &lt;condition2&gt;.</p>
</section>
<section id="collation-invalid-provider">
<h2>COLLATION_INVALID_PROVIDER<a class="headerlink" href="#collation-invalid-provider" title="Permalink to this headline">#</a></h2>
<p>The value &lt;provider&gt; does not represent a correct collation provider. Supported providers are: [&lt;supportedProviders&gt;].</p>
</section>
<section id="column-in-list">
<h2>COLUMN_IN_LIST<a class="headerlink" href="#column-in-list" title="Permalink to this headline">#</a></h2>
<p><cite>&lt;func_name&gt;</cite> does not allow a Column in a list.</p>
</section>
<section id="connect-url-already-defined">
<h2>CONNECT_URL_ALREADY_DEFINED<a class="headerlink" href="#connect-url-already-defined" title="Permalink to this headline">#</a></h2>
<p>Only one Spark Connect client URL can be set; however, got a different URL [&lt;new_url&gt;] from the existing [&lt;existing_url&gt;].</p>
</section>
<section id="connect-url-not-set">
<h2>CONNECT_URL_NOT_SET<a class="headerlink" href="#connect-url-not-set" title="Permalink to this headline">#</a></h2>
<p>Cannot create a Spark Connect session because the Spark Connect remote URL has not been set. Please define the remote URL by setting either the ‘spark.remote’ option or the ‘SPARK_REMOTE’ environment variable.</p>
</section>
<section id="context-only-valid-on-driver">
<h2>CONTEXT_ONLY_VALID_ON_DRIVER<a class="headerlink" href="#context-only-valid-on-driver" title="Permalink to this headline">#</a></h2>
<p>It appears that you are attempting to reference SparkContext from a broadcast variable, action, or transformation. SparkContext can only be used on the driver, not in code that it run on workers. For more information, see SPARK-5063.</p>
</section>
<section id="context-unavailable-for-remote-client">
<h2>CONTEXT_UNAVAILABLE_FOR_REMOTE_CLIENT<a class="headerlink" href="#context-unavailable-for-remote-client" title="Permalink to this headline">#</a></h2>
<p>Remote client cannot create a SparkContext. Create SparkSession instead.</p>
</section>
<section id="data-source-create-error">
<h2>DATA_SOURCE_CREATE_ERROR<a class="headerlink" href="#data-source-create-error" title="Permalink to this headline">#</a></h2>
<p>Failed to create python data source instance, error: &lt;error&gt;.</p>
</section>
<section id="data-source-invalid-return-type">
<h2>DATA_SOURCE_INVALID_RETURN_TYPE<a class="headerlink" href="#data-source-invalid-return-type" title="Permalink to this headline">#</a></h2>
<p>Unsupported return type (‘&lt;type&gt;’) from Python data source ‘&lt;name&gt;’. Expected types: &lt;supported_types&gt;.</p>
</section>
<section id="data-source-return-schema-mismatch">
<h2>DATA_SOURCE_RETURN_SCHEMA_MISMATCH<a class="headerlink" href="#data-source-return-schema-mismatch" title="Permalink to this headline">#</a></h2>
<p>Return schema mismatch in the result from ‘read’ method. Expected: &lt;expected&gt; columns, Found: &lt;actual&gt; columns. Make sure the returned values match the required output schema.</p>
</section>
<section id="data-source-type-mismatch">
<h2>DATA_SOURCE_TYPE_MISMATCH<a class="headerlink" href="#data-source-type-mismatch" title="Permalink to this headline">#</a></h2>
<p>Expected &lt;expected&gt;, but got &lt;actual&gt;.</p>
</section>
<section id="different-pandas-dataframe">
<h2>DIFFERENT_PANDAS_DATAFRAME<a class="headerlink" href="#different-pandas-dataframe" title="Permalink to this headline">#</a></h2>
<p>DataFrames are not almost equal:
Left:
&lt;left&gt;
&lt;left_dtype&gt;
Right:
&lt;right&gt;
&lt;right_dtype&gt;</p>
</section>
<section id="different-pandas-index">
<h2>DIFFERENT_PANDAS_INDEX<a class="headerlink" href="#different-pandas-index" title="Permalink to this headline">#</a></h2>
<p>Indices are not almost equal:
Left:
&lt;left&gt;
&lt;left_dtype&gt;
Right:
&lt;right&gt;
&lt;right_dtype&gt;</p>
</section>
<section id="different-pandas-multiindex">
<h2>DIFFERENT_PANDAS_MULTIINDEX<a class="headerlink" href="#different-pandas-multiindex" title="Permalink to this headline">#</a></h2>
<p>MultiIndices are not almost equal:
Left:
&lt;left&gt;
&lt;left_dtype&gt;
Right:
&lt;right&gt;
&lt;right_dtype&gt;</p>
</section>
<section id="different-pandas-series">
<h2>DIFFERENT_PANDAS_SERIES<a class="headerlink" href="#different-pandas-series" title="Permalink to this headline">#</a></h2>
<p>Series are not almost equal:
Left:
&lt;left&gt;
&lt;left_dtype&gt;
Right:
&lt;right&gt;
&lt;right_dtype&gt;</p>
</section>
<section id="different-rows">
<h2>DIFFERENT_ROWS<a class="headerlink" href="#different-rows" title="Permalink to this headline">#</a></h2>
<p>&lt;error_msg&gt;</p>
</section>
<section id="different-schema">
<h2>DIFFERENT_SCHEMA<a class="headerlink" href="#different-schema" title="Permalink to this headline">#</a></h2>
<p>Schemas do not match.
— actual
+++ expected
&lt;error_msg&gt;</p>
</section>
<section id="disallowed-type-for-container">
<h2>DISALLOWED_TYPE_FOR_CONTAINER<a class="headerlink" href="#disallowed-type-for-container" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite>(type: &lt;arg_type&gt;) should only contain a type in [&lt;allowed_types&gt;], got &lt;item_type&gt;</p>
</section>
<section id="duplicated-field-name-in-arrow-struct">
<h2>DUPLICATED_FIELD_NAME_IN_ARROW_STRUCT<a class="headerlink" href="#duplicated-field-name-in-arrow-struct" title="Permalink to this headline">#</a></h2>
<p>Duplicated field names in Arrow Struct are not allowed, got &lt;field_names&gt;</p>
</section>
<section id="error-occurred-while-calling">
<h2>ERROR_OCCURRED_WHILE_CALLING<a class="headerlink" href="#error-occurred-while-calling" title="Permalink to this headline">#</a></h2>
<p>An error occurred while calling &lt;func_name&gt;: &lt;error_msg&gt;.</p>
</section>
<section id="field-data-type-unacceptable">
<h2>FIELD_DATA_TYPE_UNACCEPTABLE<a class="headerlink" href="#field-data-type-unacceptable" title="Permalink to this headline">#</a></h2>
<p>&lt;data_type&gt; can not accept object &lt;obj&gt; in type &lt;obj_type&gt;.</p>
</section>
<section id="field-data-type-unacceptable-with-name">
<h2>FIELD_DATA_TYPE_UNACCEPTABLE_WITH_NAME<a class="headerlink" href="#field-data-type-unacceptable-with-name" title="Permalink to this headline">#</a></h2>
<p>&lt;field_name&gt;: &lt;data_type&gt; can not accept object &lt;obj&gt; in type &lt;obj_type&gt;.</p>
</section>
<section id="field-not-nullable">
<h2>FIELD_NOT_NULLABLE<a class="headerlink" href="#field-not-nullable" title="Permalink to this headline">#</a></h2>
<p>Field is not nullable, but got None.</p>
</section>
<section id="field-not-nullable-with-name">
<h2>FIELD_NOT_NULLABLE_WITH_NAME<a class="headerlink" href="#field-not-nullable-with-name" title="Permalink to this headline">#</a></h2>
<p>&lt;field_name&gt;: This field is not nullable, but got None.</p>
</section>
<section id="field-struct-length-mismatch">
<h2>FIELD_STRUCT_LENGTH_MISMATCH<a class="headerlink" href="#field-struct-length-mismatch" title="Permalink to this headline">#</a></h2>
<p>Length of object (&lt;object_length&gt;) does not match with length of fields (&lt;field_length&gt;).</p>
</section>
<section id="field-struct-length-mismatch-with-name">
<h2>FIELD_STRUCT_LENGTH_MISMATCH_WITH_NAME<a class="headerlink" href="#field-struct-length-mismatch-with-name" title="Permalink to this headline">#</a></h2>
<p>&lt;field_name&gt;: Length of object (&lt;object_length&gt;) does not match with length of fields (&lt;field_length&gt;).</p>
</section>
<section id="field-type-mismatch">
<h2>FIELD_TYPE_MISMATCH<a class="headerlink" href="#field-type-mismatch" title="Permalink to this headline">#</a></h2>
<p>&lt;obj&gt; is not an instance of type &lt;data_type&gt;.</p>
</section>
<section id="field-type-mismatch-with-name">
<h2>FIELD_TYPE_MISMATCH_WITH_NAME<a class="headerlink" href="#field-type-mismatch-with-name" title="Permalink to this headline">#</a></h2>
<p>&lt;field_name&gt;: &lt;obj&gt; is not an instance of type &lt;data_type&gt;.</p>
</section>
<section id="higher-order-function-should-return-column">
<h2>HIGHER_ORDER_FUNCTION_SHOULD_RETURN_COLUMN<a class="headerlink" href="#higher-order-function-should-return-column" title="Permalink to this headline">#</a></h2>
<p>Function <cite>&lt;func_name&gt;</cite> should return Column, got &lt;return_type&gt;.</p>
</section>
<section id="incorrect-conf-for-profile">
<h2>INCORRECT_CONF_FOR_PROFILE<a class="headerlink" href="#incorrect-conf-for-profile" title="Permalink to this headline">#</a></h2>
<dl class="simple">
<dt><cite>spark.python.profile</cite> or <cite>spark.python.profile.memory</cite> configuration</dt><dd><p>must be set to <cite>true</cite> to enable Python profile.</p>
</dd>
</dl>
</section>
<section id="index-not-positive">
<h2>INDEX_NOT_POSITIVE<a class="headerlink" href="#index-not-positive" title="Permalink to this headline">#</a></h2>
<p>Index must be positive, got ‘&lt;index&gt;’.</p>
</section>
<section id="index-out-of-range">
<h2>INDEX_OUT_OF_RANGE<a class="headerlink" href="#index-out-of-range" title="Permalink to this headline">#</a></h2>
<p>&lt;arg_name&gt; index out of range, got ‘&lt;index&gt;’.</p>
</section>
<section id="invalid-arrow-udtf-return-type">
<h2>INVALID_ARROW_UDTF_RETURN_TYPE<a class="headerlink" href="#invalid-arrow-udtf-return-type" title="Permalink to this headline">#</a></h2>
<p>The return type of the arrow-optimized Python UDTF should be of type ‘pandas.DataFrame’, but the ‘&lt;func&gt;’ method returned a value of type &lt;return_type&gt; with value: &lt;value&gt;.</p>
</section>
<section id="invalid-broadcast-operation">
<h2>INVALID_BROADCAST_OPERATION<a class="headerlink" href="#invalid-broadcast-operation" title="Permalink to this headline">#</a></h2>
<p>Broadcast can only be &lt;operation&gt; in driver.</p>
</section>
<section id="invalid-call-on-unresolved-object">
<h2>INVALID_CALL_ON_UNRESOLVED_OBJECT<a class="headerlink" href="#invalid-call-on-unresolved-object" title="Permalink to this headline">#</a></h2>
<p>Invalid call to <cite>&lt;func_name&gt;</cite> on unresolved object.</p>
</section>
<section id="invalid-connect-url">
<h2>INVALID_CONNECT_URL<a class="headerlink" href="#invalid-connect-url" title="Permalink to this headline">#</a></h2>
<p>Invalid URL for Spark Connect: &lt;detail&gt;</p>
</section>
<section id="invalid-interval-casting">
<h2>INVALID_INTERVAL_CASTING<a class="headerlink" href="#invalid-interval-casting" title="Permalink to this headline">#</a></h2>
<p>Interval &lt;start_field&gt; to &lt;end_field&gt; is invalid.</p>
</section>
<section id="invalid-item-for-container">
<h2>INVALID_ITEM_FOR_CONTAINER<a class="headerlink" href="#invalid-item-for-container" title="Permalink to this headline">#</a></h2>
<p>All items in <cite>&lt;arg_name&gt;</cite> should be in &lt;allowed_types&gt;, got &lt;item_type&gt;.</p>
</section>
<section id="invalid-json-data-type-for-collations">
<h2>INVALID_JSON_DATA_TYPE_FOR_COLLATIONS<a class="headerlink" href="#invalid-json-data-type-for-collations" title="Permalink to this headline">#</a></h2>
<p>Collations can only be applied to string types, but the JSON data type is &lt;jsonType&gt;.</p>
</section>
<section id="invalid-multiple-argument-conditions">
<h2>INVALID_MULTIPLE_ARGUMENT_CONDITIONS<a class="headerlink" href="#invalid-multiple-argument-conditions" title="Permalink to this headline">#</a></h2>
<p>[{arg_names}] cannot be &lt;condition&gt;.</p>
</section>
<section id="invalid-ndarray-dimension">
<h2>INVALID_NDARRAY_DIMENSION<a class="headerlink" href="#invalid-ndarray-dimension" title="Permalink to this headline">#</a></h2>
<p>NumPy array input should be of &lt;dimensions&gt; dimensions.</p>
</section>
<section id="invalid-number-of-dataframes-in-group">
<h2>INVALID_NUMBER_OF_DATAFRAMES_IN_GROUP<a class="headerlink" href="#invalid-number-of-dataframes-in-group" title="Permalink to this headline">#</a></h2>
<p>Invalid number of dataframes in group &lt;dataframes_in_group&gt;.</p>
</section>
<section id="invalid-pandas-udf">
<h2>INVALID_PANDAS_UDF<a class="headerlink" href="#invalid-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>Invalid function: &lt;detail&gt;</p>
</section>
<section id="invalid-pandas-udf-type">
<h2>INVALID_PANDAS_UDF_TYPE<a class="headerlink" href="#invalid-pandas-udf-type" title="Permalink to this headline">#</a></h2>
<p><cite>&lt;arg_name&gt;</cite> should be one of the values from PandasUDFType, got &lt;arg_type&gt;</p>
</section>
<section id="invalid-return-type-for-arrow-udf">
<h2>INVALID_RETURN_TYPE_FOR_ARROW_UDF<a class="headerlink" href="#invalid-return-type-for-arrow-udf" title="Permalink to this headline">#</a></h2>
<p>Grouped and Cogrouped map Arrow UDF should return StructType for &lt;eval_type&gt;, got &lt;return_type&gt;.</p>
</section>
<section id="invalid-return-type-for-pandas-udf">
<h2>INVALID_RETURN_TYPE_FOR_PANDAS_UDF<a class="headerlink" href="#invalid-return-type-for-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>Pandas UDF should return StructType for &lt;eval_type&gt;, got &lt;return_type&gt;.</p>
</section>
<section id="invalid-session-uuid-id">
<h2>INVALID_SESSION_UUID_ID<a class="headerlink" href="#invalid-session-uuid-id" title="Permalink to this headline">#</a></h2>
<p>Parameter value &lt;arg_name&gt; must be a valid UUID format: &lt;origin&gt;</p>
</section>
<section id="invalid-timeout-timestamp">
<h2>INVALID_TIMEOUT_TIMESTAMP<a class="headerlink" href="#invalid-timeout-timestamp" title="Permalink to this headline">#</a></h2>
<p>Timeout timestamp (&lt;timestamp&gt;) cannot be earlier than the current watermark (&lt;watermark&gt;).</p>
</section>
<section id="invalid-type">
<h2>INVALID_TYPE<a class="headerlink" href="#invalid-type" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should not be a &lt;arg_type&gt;.</p>
</section>
<section id="invalid-typename-call">
<h2>INVALID_TYPENAME_CALL<a class="headerlink" href="#invalid-typename-call" title="Permalink to this headline">#</a></h2>
<p>StructField does not have typeName. Use typeName on its type explicitly instead.</p>
</section>
<section id="invalid-type-df-equality-arg">
<h2>INVALID_TYPE_DF_EQUALITY_ARG<a class="headerlink" href="#invalid-type-df-equality-arg" title="Permalink to this headline">#</a></h2>
<p>Expected type &lt;expected_type&gt; for <cite>&lt;arg_name&gt;</cite> but got type &lt;actual_type&gt;.</p>
</section>
<section id="invalid-udf-eval-type">
<h2>INVALID_UDF_EVAL_TYPE<a class="headerlink" href="#invalid-udf-eval-type" title="Permalink to this headline">#</a></h2>
<p>Eval type for UDF must be &lt;eval_type&gt;.</p>
</section>
<section id="invalid-udtf-both-return-type-and-analyze">
<h2>INVALID_UDTF_BOTH_RETURN_TYPE_AND_ANALYZE<a class="headerlink" href="#invalid-udtf-both-return-type-and-analyze" title="Permalink to this headline">#</a></h2>
<p>The UDTF ‘&lt;name&gt;’ is invalid. It has both its return type and an ‘analyze’ attribute. Please make it have one of either the return type or the ‘analyze’ static method in ‘&lt;name&gt;’ and try again.</p>
</section>
<section id="invalid-udtf-eval-type">
<h2>INVALID_UDTF_EVAL_TYPE<a class="headerlink" href="#invalid-udtf-eval-type" title="Permalink to this headline">#</a></h2>
<p>The eval type for the UDTF ‘&lt;name&gt;’ is invalid. It must be one of &lt;eval_type&gt;.</p>
</section>
<section id="invalid-udtf-handler-type">
<h2>INVALID_UDTF_HANDLER_TYPE<a class="headerlink" href="#invalid-udtf-handler-type" title="Permalink to this headline">#</a></h2>
<p>The UDTF is invalid. The function handler must be a class, but got ‘&lt;type&gt;’. Please provide a class as the function handler.</p>
</section>
<section id="invalid-udtf-no-eval">
<h2>INVALID_UDTF_NO_EVAL<a class="headerlink" href="#invalid-udtf-no-eval" title="Permalink to this headline">#</a></h2>
<p>The UDTF ‘&lt;name&gt;’ is invalid. It does not implement the required ‘eval’ method. Please implement the ‘eval’ method in ‘&lt;name&gt;’ and try again.</p>
</section>
<section id="invalid-udtf-return-type">
<h2>INVALID_UDTF_RETURN_TYPE<a class="headerlink" href="#invalid-udtf-return-type" title="Permalink to this headline">#</a></h2>
<p>The UDTF ‘&lt;name&gt;’ is invalid. It does not specify its return type or implement the required ‘analyze’ static method. Please specify the return type or implement the ‘analyze’ static method in ‘&lt;name&gt;’ and try again.</p>
</section>
<section id="invalid-when-usage">
<h2>INVALID_WHEN_USAGE<a class="headerlink" href="#invalid-when-usage" title="Permalink to this headline">#</a></h2>
<p>when() can only be applied on a Column previously generated by when() function, and cannot be applied once otherwise() is applied.</p>
</section>
<section id="invalid-window-bound-type">
<h2>INVALID_WINDOW_BOUND_TYPE<a class="headerlink" href="#invalid-window-bound-type" title="Permalink to this headline">#</a></h2>
<p>Invalid window bound type: &lt;window_bound_type&gt;.</p>
</section>
<section id="java-gateway-exited">
<h2>JAVA_GATEWAY_EXITED<a class="headerlink" href="#java-gateway-exited" title="Permalink to this headline">#</a></h2>
<p>Java gateway process exited before sending its port number.</p>
</section>
<section id="jvm-attribute-not-supported">
<h2>JVM_ATTRIBUTE_NOT_SUPPORTED<a class="headerlink" href="#jvm-attribute-not-supported" title="Permalink to this headline">#</a></h2>
<p>Attribute <cite>&lt;attr_name&gt;</cite> is not supported in Spark Connect as it depends on the JVM. If you need to use this attribute, do not use Spark Connect when creating your session. Visit <a class="reference external" href="https://spark.apache.org/docs/latest/sql-getting-started.html#starting-point-sparksession">https://spark.apache.org/docs/latest/sql-getting-started.html#starting-point-sparksession</a> for creating regular Spark Session in detail.</p>
</section>
<section id="key-not-exists">
<h2>KEY_NOT_EXISTS<a class="headerlink" href="#key-not-exists" title="Permalink to this headline">#</a></h2>
<p>Key <cite>&lt;key&gt;</cite> is not exists.</p>
</section>
<section id="key-value-pair-required">
<h2>KEY_VALUE_PAIR_REQUIRED<a class="headerlink" href="#key-value-pair-required" title="Permalink to this headline">#</a></h2>
<p>Key-value pair or a list of pairs is required.</p>
</section>
<section id="length-should-be-the-same">
<h2>LENGTH_SHOULD_BE_THE_SAME<a class="headerlink" href="#length-should-be-the-same" title="Permalink to this headline">#</a></h2>
<p>&lt;arg1&gt; and &lt;arg2&gt; should be of the same length, got &lt;arg1_length&gt; and &lt;arg2_length&gt;.</p>
</section>
<section id="malformed-variant">
<h2>MALFORMED_VARIANT<a class="headerlink" href="#malformed-variant" title="Permalink to this headline">#</a></h2>
<p>Variant binary is malformed. Please check the data source is valid.</p>
</section>
<section id="master-url-not-set">
<h2>MASTER_URL_NOT_SET<a class="headerlink" href="#master-url-not-set" title="Permalink to this headline">#</a></h2>
<p>A master URL must be set in your configuration.</p>
</section>
<section id="missing-library-for-profiler">
<h2>MISSING_LIBRARY_FOR_PROFILER<a class="headerlink" href="#missing-library-for-profiler" title="Permalink to this headline">#</a></h2>
<p>Install the ‘memory_profiler’ library in the cluster to enable memory profiling.</p>
</section>
<section id="missing-valid-plan">
<h2>MISSING_VALID_PLAN<a class="headerlink" href="#missing-valid-plan" title="Permalink to this headline">#</a></h2>
<p>Argument to &lt;operator&gt; does not contain a valid plan.</p>
</section>
<section id="mixed-type-replacement">
<h2>MIXED_TYPE_REPLACEMENT<a class="headerlink" href="#mixed-type-replacement" title="Permalink to this headline">#</a></h2>
<p>Mixed type replacements are not supported.</p>
</section>
<section id="negative-value">
<h2>NEGATIVE_VALUE<a class="headerlink" href="#negative-value" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be greater than or equal to 0, got ‘&lt;arg_value&gt;’.</p>
</section>
<section id="not-bool">
<h2>NOT_BOOL<a class="headerlink" href="#not-bool" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-dict-or-float-or-int-or-list-or-str-or-tuple">
<h2>NOT_BOOL_OR_DICT_OR_FLOAT_OR_INT_OR_LIST_OR_STR_OR_TUPLE<a class="headerlink" href="#not-bool-or-dict-or-float-or-int-or-list-or-str-or-tuple" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool, dict, float, int, str or tuple, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-dict-or-float-or-int-or-str">
<h2>NOT_BOOL_OR_DICT_OR_FLOAT_OR_INT_OR_STR<a class="headerlink" href="#not-bool-or-dict-or-float-or-int-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool, dict, float, int or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-float-or-int">
<h2>NOT_BOOL_OR_FLOAT_OR_INT<a class="headerlink" href="#not-bool-or-float-or-int" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool, float or int, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-float-or-int-or-list-or-none-or-str-or-tuple">
<h2>NOT_BOOL_OR_FLOAT_OR_INT_OR_LIST_OR_NONE_OR_STR_OR_TUPLE<a class="headerlink" href="#not-bool-or-float-or-int-or-list-or-none-or-str-or-tuple" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool, float, int, list, None, str or tuple, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-float-or-int-or-str">
<h2>NOT_BOOL_OR_FLOAT_OR_INT_OR_STR<a class="headerlink" href="#not-bool-or-float-or-int-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool, float, int or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-list">
<h2>NOT_BOOL_OR_LIST<a class="headerlink" href="#not-bool-or-list" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool or list, got &lt;arg_type&gt;.</p>
</section>
<section id="not-bool-or-str">
<h2>NOT_BOOL_OR_STR<a class="headerlink" href="#not-bool-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a bool or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-callable">
<h2>NOT_CALLABLE<a class="headerlink" href="#not-callable" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a callable, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column">
<h2>NOT_COLUMN<a class="headerlink" href="#not-column" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-datatype-or-str">
<h2>NOT_COLUMN_OR_DATATYPE_OR_STR<a class="headerlink" href="#not-column-or-datatype-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column, str or DataType, but got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-float-or-int-or-list-or-str">
<h2>NOT_COLUMN_OR_FLOAT_OR_INT_OR_LIST_OR_STR<a class="headerlink" href="#not-column-or-float-or-int-or-list-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column, float, integer, list or string, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-int">
<h2>NOT_COLUMN_OR_INT<a class="headerlink" href="#not-column-or-int" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column or int, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-int-or-list-or-str-or-tuple">
<h2>NOT_COLUMN_OR_INT_OR_LIST_OR_STR_OR_TUPLE<a class="headerlink" href="#not-column-or-int-or-list-or-str-or-tuple" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column, int, list, str or tuple, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-int-or-str">
<h2>NOT_COLUMN_OR_INT_OR_STR<a class="headerlink" href="#not-column-or-int-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column, int or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-list-or-str">
<h2>NOT_COLUMN_OR_LIST_OR_STR<a class="headerlink" href="#not-column-or-list-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column, list or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-str">
<h2>NOT_COLUMN_OR_STR<a class="headerlink" href="#not-column-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a Column or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-column-or-str-or-struct">
<h2>NOT_COLUMN_OR_STR_OR_STRUCT<a class="headerlink" href="#not-column-or-str-or-struct" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a StructType, Column or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-dataframe">
<h2>NOT_DATAFRAME<a class="headerlink" href="#not-dataframe" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a DataFrame, got &lt;arg_type&gt;.</p>
</section>
<section id="not-datatype-or-str">
<h2>NOT_DATATYPE_OR_STR<a class="headerlink" href="#not-datatype-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a DataType or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-dict">
<h2>NOT_DICT<a class="headerlink" href="#not-dict" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a dict, got &lt;arg_type&gt;.</p>
</section>
<section id="not-expression">
<h2>NOT_EXPRESSION<a class="headerlink" href="#not-expression" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be an Expression, got &lt;arg_type&gt;.</p>
</section>
<section id="not-float-or-int">
<h2>NOT_FLOAT_OR_INT<a class="headerlink" href="#not-float-or-int" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a float or int, got &lt;arg_type&gt;.</p>
</section>
<section id="not-float-or-int-or-list-or-str">
<h2>NOT_FLOAT_OR_INT_OR_LIST_OR_STR<a class="headerlink" href="#not-float-or-int-or-list-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a float, int, list or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-implemented">
<h2>NOT_IMPLEMENTED<a class="headerlink" href="#not-implemented" title="Permalink to this headline">#</a></h2>
<p>&lt;feature&gt; is not implemented.</p>
</section>
<section id="not-int">
<h2>NOT_INT<a class="headerlink" href="#not-int" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be an int, got &lt;arg_type&gt;.</p>
</section>
<section id="not-int-or-slice-or-str">
<h2>NOT_INT_OR_SLICE_OR_STR<a class="headerlink" href="#not-int-or-slice-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be an int, slice or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-in-barrier-stage">
<h2>NOT_IN_BARRIER_STAGE<a class="headerlink" href="#not-in-barrier-stage" title="Permalink to this headline">#</a></h2>
<p>It is not in a barrier stage.</p>
</section>
<section id="not-iterable">
<h2>NOT_ITERABLE<a class="headerlink" href="#not-iterable" title="Permalink to this headline">#</a></h2>
<p>&lt;objectName&gt; is not iterable.</p>
</section>
<section id="not-list">
<h2>NOT_LIST<a class="headerlink" href="#not-list" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list, got &lt;arg_type&gt;.</p>
</section>
<section id="not-list-of-column">
<h2>NOT_LIST_OF_COLUMN<a class="headerlink" href="#not-list-of-column" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list[Column].</p>
</section>
<section id="not-list-of-column-or-str">
<h2>NOT_LIST_OF_COLUMN_OR_STR<a class="headerlink" href="#not-list-of-column-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list[Column].</p>
</section>
<section id="not-list-of-float-or-int">
<h2>NOT_LIST_OF_FLOAT_OR_INT<a class="headerlink" href="#not-list-of-float-or-int" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list[float, int], got &lt;arg_type&gt;.</p>
</section>
<section id="not-list-of-str">
<h2>NOT_LIST_OF_STR<a class="headerlink" href="#not-list-of-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list[str], got &lt;arg_type&gt;.</p>
</section>
<section id="not-list-or-none-or-struct">
<h2>NOT_LIST_OR_NONE_OR_STRUCT<a class="headerlink" href="#not-list-or-none-or-struct" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list, None or StructType, got &lt;arg_type&gt;.</p>
</section>
<section id="not-list-or-str-or-tuple">
<h2>NOT_LIST_OR_STR_OR_TUPLE<a class="headerlink" href="#not-list-or-str-or-tuple" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list, str or tuple, got &lt;arg_type&gt;.</p>
</section>
<section id="not-list-or-tuple">
<h2>NOT_LIST_OR_TUPLE<a class="headerlink" href="#not-list-or-tuple" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a list or tuple, got &lt;arg_type&gt;.</p>
</section>
<section id="not-numeric-columns">
<h2>NOT_NUMERIC_COLUMNS<a class="headerlink" href="#not-numeric-columns" title="Permalink to this headline">#</a></h2>
<p>Numeric aggregation function can only be applied on numeric columns, got &lt;invalid_columns&gt;.</p>
</section>
<section id="not-observation-or-str">
<h2>NOT_OBSERVATION_OR_STR<a class="headerlink" href="#not-observation-or-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be an Observation or str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-same-type">
<h2>NOT_SAME_TYPE<a class="headerlink" href="#not-same-type" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name1&gt;</cite> and <cite>&lt;arg_name2&gt;</cite> should be the same type, got &lt;arg_type1&gt; and &lt;arg_type2&gt;.</p>
</section>
<section id="not-str">
<h2>NOT_STR<a class="headerlink" href="#not-str" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a str, got &lt;arg_type&gt;.</p>
</section>
<section id="not-struct">
<h2>NOT_STRUCT<a class="headerlink" href="#not-struct" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a struct type, got &lt;arg_type&gt;.</p>
</section>
<section id="not-str-or-list-of-rdd">
<h2>NOT_STR_OR_LIST_OF_RDD<a class="headerlink" href="#not-str-or-list-of-rdd" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a str or list[RDD], got &lt;arg_type&gt;.</p>
</section>
<section id="not-str-or-struct">
<h2>NOT_STR_OR_STRUCT<a class="headerlink" href="#not-str-or-struct" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a str or struct type, got &lt;arg_type&gt;.</p>
</section>
<section id="not-windowspec">
<h2>NOT_WINDOWSPEC<a class="headerlink" href="#not-windowspec" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> should be a WindowSpec, got &lt;arg_type&gt;.</p>
</section>
<section id="no-active-exception">
<h2>NO_ACTIVE_EXCEPTION<a class="headerlink" href="#no-active-exception" title="Permalink to this headline">#</a></h2>
<p>No active exception.</p>
</section>
<section id="no-active-or-default-session">
<h2>NO_ACTIVE_OR_DEFAULT_SESSION<a class="headerlink" href="#no-active-or-default-session" title="Permalink to this headline">#</a></h2>
<p>No active or default Spark session found. Please create a new Spark session before running the code.</p>
</section>
<section id="no-active-session">
<h2>NO_ACTIVE_SESSION<a class="headerlink" href="#no-active-session" title="Permalink to this headline">#</a></h2>
<p>No active Spark session found. Please create a new Spark session before running the code.</p>
</section>
<section id="no-observe-before-get">
<h2>NO_OBSERVE_BEFORE_GET<a class="headerlink" href="#no-observe-before-get" title="Permalink to this headline">#</a></h2>
<p>Should observe by calling <cite>DataFrame.observe</cite> before <cite>get</cite>.</p>
</section>
<section id="no-schema-and-driver-default-scheme">
<h2>NO_SCHEMA_AND_DRIVER_DEFAULT_SCHEME<a class="headerlink" href="#no-schema-and-driver-default-scheme" title="Permalink to this headline">#</a></h2>
<p>Only allows &lt;arg_name&gt; to be a path without scheme, and Spark Driver should use the default scheme to determine the destination file system.</p>
</section>
<section id="only-allowed-for-single-column">
<h2>ONLY_ALLOWED_FOR_SINGLE_COLUMN<a class="headerlink" href="#only-allowed-for-single-column" title="Permalink to this headline">#</a></h2>
<p>Argument <cite>&lt;arg_name&gt;</cite> can only be provided for a single column.</p>
</section>
<section id="only-allow-single-trigger">
<h2>ONLY_ALLOW_SINGLE_TRIGGER<a class="headerlink" href="#only-allow-single-trigger" title="Permalink to this headline">#</a></h2>
<p>Only a single trigger is allowed.</p>
</section>
<section id="only-supported-with-spark-connect">
<h2>ONLY_SUPPORTED_WITH_SPARK_CONNECT<a class="headerlink" href="#only-supported-with-spark-connect" title="Permalink to this headline">#</a></h2>
<p>&lt;feature&gt; is only supported with Spark Connect; however, the current Spark session does not use Spark Connect.</p>
</section>
<section id="package-not-installed">
<h2>PACKAGE_NOT_INSTALLED<a class="headerlink" href="#package-not-installed" title="Permalink to this headline">#</a></h2>
<p>&lt;package_name&gt; &gt;= &lt;minimum_version&gt; must be installed; however, it was not found.</p>
</section>
<section id="pipe-function-exited">
<h2>PIPE_FUNCTION_EXITED<a class="headerlink" href="#pipe-function-exited" title="Permalink to this headline">#</a></h2>
<p>Pipe function <cite>&lt;func_name&gt;</cite> exited with error code &lt;error_code&gt;.</p>
</section>
<section id="python-hash-seed-not-set">
<h2>PYTHON_HASH_SEED_NOT_SET<a class="headerlink" href="#python-hash-seed-not-set" title="Permalink to this headline">#</a></h2>
<p>Randomness of hash of string should be disabled via PYTHONHASHSEED.</p>
</section>
<section id="python-streaming-data-source-runtime-error">
<h2>PYTHON_STREAMING_DATA_SOURCE_RUNTIME_ERROR<a class="headerlink" href="#python-streaming-data-source-runtime-error" title="Permalink to this headline">#</a></h2>
<p>Failed when running Python streaming data source: &lt;msg&gt;</p>
</section>
<section id="python-version-mismatch">
<h2>PYTHON_VERSION_MISMATCH<a class="headerlink" href="#python-version-mismatch" title="Permalink to this headline">#</a></h2>
<p>Python in worker has different version: &lt;worker_version&gt; than that in driver: &lt;driver_version&gt;, PySpark cannot run with different minor versions.
Please check environment variables PYSPARK_PYTHON and PYSPARK_DRIVER_PYTHON are correctly set.</p>
</section>
<section id="rdd-transform-only-valid-on-driver">
<h2>RDD_TRANSFORM_ONLY_VALID_ON_DRIVER<a class="headerlink" href="#rdd-transform-only-valid-on-driver" title="Permalink to this headline">#</a></h2>
<p>It appears that you are attempting to broadcast an RDD or reference an RDD from an
action or transformation. RDD transformations and actions can only be invoked by the
driver, not inside of other transformations; for example,
rdd1.map(lambda x: rdd2.values.count() * x) is invalid because the values
transformation and count action cannot be performed inside of the rdd1.map
transformation. For more information, see SPARK-5063.</p>
</section>
<section id="read-only">
<h2>READ_ONLY<a class="headerlink" href="#read-only" title="Permalink to this headline">#</a></h2>
<p>&lt;object&gt; is read-only.</p>
</section>
<section id="response-already-received">
<h2>RESPONSE_ALREADY_RECEIVED<a class="headerlink" href="#response-already-received" title="Permalink to this headline">#</a></h2>
<p>OPERATION_NOT_FOUND on the server but responses were already received from it.</p>
</section>
<section id="result-columns-mismatch-for-arrow-udf">
<h2>RESULT_COLUMNS_MISMATCH_FOR_ARROW_UDF<a class="headerlink" href="#result-columns-mismatch-for-arrow-udf" title="Permalink to this headline">#</a></h2>
<p>Column names of the returned pyarrow.Table do not match specified schema.&lt;missing&gt;&lt;extra&gt;</p>
</section>
<section id="result-columns-mismatch-for-pandas-udf">
<h2>RESULT_COLUMNS_MISMATCH_FOR_PANDAS_UDF<a class="headerlink" href="#result-columns-mismatch-for-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>Column names of the returned pandas.DataFrame do not match specified schema.&lt;missing&gt;&lt;extra&gt;</p>
</section>
<section id="result-length-mismatch-for-pandas-udf">
<h2>RESULT_LENGTH_MISMATCH_FOR_PANDAS_UDF<a class="headerlink" href="#result-length-mismatch-for-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>Number of columns of the returned pandas.DataFrame doesn’t match specified schema. Expected: &lt;expected&gt; Actual: &lt;actual&gt;</p>
</section>
<section id="result-length-mismatch-for-scalar-iter-pandas-udf">
<h2>RESULT_LENGTH_MISMATCH_FOR_SCALAR_ITER_PANDAS_UDF<a class="headerlink" href="#result-length-mismatch-for-scalar-iter-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>The length of output in Scalar iterator pandas UDF should be the same with the input’s; however, the length of output was &lt;output_length&gt; and the length of input was &lt;input_length&gt;.</p>
</section>
<section id="result-type-mismatch-for-arrow-udf">
<h2>RESULT_TYPE_MISMATCH_FOR_ARROW_UDF<a class="headerlink" href="#result-type-mismatch-for-arrow-udf" title="Permalink to this headline">#</a></h2>
<p>Columns do not match in their data type: &lt;mismatch&gt;.</p>
</section>
<section id="retries-exceeded">
<h2>RETRIES_EXCEEDED<a class="headerlink" href="#retries-exceeded" title="Permalink to this headline">#</a></h2>
<p>The maximum number of retries has been exceeded.</p>
</section>
<section id="reuse-observation">
<h2>REUSE_OBSERVATION<a class="headerlink" href="#reuse-observation" title="Permalink to this headline">#</a></h2>
<p>An Observation can be used with a DataFrame only once.</p>
</section>
<section id="schema-mismatch-for-pandas-udf">
<h2>SCHEMA_MISMATCH_FOR_PANDAS_UDF<a class="headerlink" href="#schema-mismatch-for-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>Result vector from pandas_udf was not the required length: expected &lt;expected&gt;, got &lt;actual&gt;.</p>
</section>
<section id="session-already-exist">
<h2>SESSION_ALREADY_EXIST<a class="headerlink" href="#session-already-exist" title="Permalink to this headline">#</a></h2>
<p>Cannot start a remote Spark session because there is a regular Spark session already running.</p>
</section>
<section id="session-need-conn-str-or-builder">
<h2>SESSION_NEED_CONN_STR_OR_BUILDER<a class="headerlink" href="#session-need-conn-str-or-builder" title="Permalink to this headline">#</a></h2>
<p>Needs either connection string or channelBuilder (mutually exclusive) to create a new SparkSession.</p>
</section>
<section id="session-not-same">
<h2>SESSION_NOT_SAME<a class="headerlink" href="#session-not-same" title="Permalink to this headline">#</a></h2>
<p>Both Datasets must belong to the same SparkSession.</p>
</section>
<section id="session-or-context-exists">
<h2>SESSION_OR_CONTEXT_EXISTS<a class="headerlink" href="#session-or-context-exists" title="Permalink to this headline">#</a></h2>
<p>There should not be an existing Spark Session or Spark Context.</p>
</section>
<section id="session-or-context-not-exists">
<h2>SESSION_OR_CONTEXT_NOT_EXISTS<a class="headerlink" href="#session-or-context-not-exists" title="Permalink to this headline">#</a></h2>
<p>SparkContext or SparkSession should be created first.</p>
</section>
<section id="slice-with-step">
<h2>SLICE_WITH_STEP<a class="headerlink" href="#slice-with-step" title="Permalink to this headline">#</a></h2>
<p>Slice with step is not supported.</p>
</section>
<section id="state-not-exists">
<h2>STATE_NOT_EXISTS<a class="headerlink" href="#state-not-exists" title="Permalink to this headline">#</a></h2>
<p>State is either not defined or has already been removed.</p>
</section>
<section id="stop-iteration-occurred">
<h2>STOP_ITERATION_OCCURRED<a class="headerlink" href="#stop-iteration-occurred" title="Permalink to this headline">#</a></h2>
<p>Caught StopIteration thrown from user’s code; failing the task: &lt;exc&gt;</p>
</section>
<section id="stop-iteration-occurred-from-scalar-iter-pandas-udf">
<h2>STOP_ITERATION_OCCURRED_FROM_SCALAR_ITER_PANDAS_UDF<a class="headerlink" href="#stop-iteration-occurred-from-scalar-iter-pandas-udf" title="Permalink to this headline">#</a></h2>
<p>pandas iterator UDF should exhaust the input iterator.</p>
</section>
<section id="streaming-connect-serialization-error">
<h2>STREAMING_CONNECT_SERIALIZATION_ERROR<a class="headerlink" href="#streaming-connect-serialization-error" title="Permalink to this headline">#</a></h2>
<p>Cannot serialize the function <cite>&lt;name&gt;</cite>. If you accessed the Spark session, or a DataFrame defined outside of the function, or any object that contains a Spark session, please be aware that they are not allowed in Spark Connect. For <cite>foreachBatch</cite>, please access the Spark session using <cite>df.sparkSession</cite>, where <cite>df</cite> is the first parameter in your <cite>foreachBatch</cite> function. For <cite>StreamingQueryListener</cite>, please access the Spark session using <cite>self.spark</cite>. For details please check out the PySpark doc for <cite>foreachBatch</cite> and <cite>StreamingQueryListener</cite>.</p>
</section>
<section id="test-class-not-compiled">
<h2>TEST_CLASS_NOT_COMPILED<a class="headerlink" href="#test-class-not-compiled" title="Permalink to this headline">#</a></h2>
<p>&lt;test_class_path&gt; doesn’t exist. Spark sql test classes are not compiled.</p>
</section>
<section id="too-many-values">
<h2>TOO_MANY_VALUES<a class="headerlink" href="#too-many-values" title="Permalink to this headline">#</a></h2>
<p>Expected &lt;expected&gt; values for <cite>&lt;item&gt;</cite>, got &lt;actual&gt;.</p>
</section>
<section id="type-hint-should-be-specified">
<h2>TYPE_HINT_SHOULD_BE_SPECIFIED<a class="headerlink" href="#type-hint-should-be-specified" title="Permalink to this headline">#</a></h2>
<p>Type hints for &lt;target&gt; should be specified; however, got &lt;sig&gt;.</p>
</section>
<section id="udf-return-type">
<h2>UDF_RETURN_TYPE<a class="headerlink" href="#udf-return-type" title="Permalink to this headline">#</a></h2>
<p>Return type of the user-defined function should be &lt;expected&gt;, but is &lt;actual&gt;.</p>
</section>
<section id="udtf-arrow-type-cast-error">
<h2>UDTF_ARROW_TYPE_CAST_ERROR<a class="headerlink" href="#udtf-arrow-type-cast-error" title="Permalink to this headline">#</a></h2>
<p>Cannot convert the output value of the column ‘&lt;col_name&gt;’ with type ‘&lt;col_type&gt;’ to the specified return type of the column: ‘&lt;arrow_type&gt;’. Please check if the data types match and try again.</p>
</section>
<section id="udtf-constructor-invalid-implements-analyze-method">
<h2>UDTF_CONSTRUCTOR_INVALID_IMPLEMENTS_ANALYZE_METHOD<a class="headerlink" href="#udtf-constructor-invalid-implements-analyze-method" title="Permalink to this headline">#</a></h2>
<p>Failed to evaluate the user-defined table function ‘&lt;name&gt;’ because its constructor is invalid: the function implements the ‘analyze’ method, but its constructor has more than two arguments (including the ‘self’ reference). Please update the table function so that its constructor accepts exactly one ‘self’ argument, or one ‘self’ argument plus another argument for the result of the ‘analyze’ method, and try the query again.</p>
</section>
<section id="udtf-constructor-invalid-no-analyze-method">
<h2>UDTF_CONSTRUCTOR_INVALID_NO_ANALYZE_METHOD<a class="headerlink" href="#udtf-constructor-invalid-no-analyze-method" title="Permalink to this headline">#</a></h2>
<p>Failed to evaluate the user-defined table function ‘&lt;name&gt;’ because its constructor is invalid: the function does not implement the ‘analyze’ method, and its constructor has more than one argument (including the ‘self’ reference). Please update the table function so that its constructor accepts exactly one ‘self’ argument, and try the query again.</p>
</section>
<section id="udtf-eval-method-arguments-do-not-match-signature">
<h2>UDTF_EVAL_METHOD_ARGUMENTS_DO_NOT_MATCH_SIGNATURE<a class="headerlink" href="#udtf-eval-method-arguments-do-not-match-signature" title="Permalink to this headline">#</a></h2>
<p>Failed to evaluate the user-defined table function ‘&lt;name&gt;’ because the function arguments did not match the expected signature of the ‘eval’ method (&lt;reason&gt;). Please update the query so that this table function call provides arguments matching the expected signature, or else update the table function so that its ‘eval’ method accepts the provided arguments, and then try the query again.</p>
</section>
<section id="udtf-exec-error">
<h2>UDTF_EXEC_ERROR<a class="headerlink" href="#udtf-exec-error" title="Permalink to this headline">#</a></h2>
<p>User defined table function encountered an error in the ‘&lt;method_name&gt;’ method: &lt;error&gt;</p>
</section>
<section id="udtf-invalid-output-row-type">
<h2>UDTF_INVALID_OUTPUT_ROW_TYPE<a class="headerlink" href="#udtf-invalid-output-row-type" title="Permalink to this headline">#</a></h2>
<p>The type of an individual output row in the ‘&lt;func&gt;’ method of the UDTF is invalid. Each row should be a tuple, list, or dict, but got ‘&lt;type&gt;’. Please make sure that the output rows are of the correct type.</p>
</section>
<section id="udtf-return-not-iterable">
<h2>UDTF_RETURN_NOT_ITERABLE<a class="headerlink" href="#udtf-return-not-iterable" title="Permalink to this headline">#</a></h2>
<p>The return value of the ‘&lt;func&gt;’ method of the UDTF is invalid. It should be an iterable (e.g., generator or list), but got ‘&lt;type&gt;’. Please make sure that the UDTF returns one of these types.</p>
</section>
<section id="udtf-return-schema-mismatch">
<h2>UDTF_RETURN_SCHEMA_MISMATCH<a class="headerlink" href="#udtf-return-schema-mismatch" title="Permalink to this headline">#</a></h2>
<p>The number of columns in the result does not match the specified schema. Expected column count: &lt;expected&gt;, Actual column count: &lt;actual&gt;. Please make sure the values returned by the ‘&lt;func&gt;’ method have the same number of columns as specified in the output schema.</p>
</section>
<section id="udtf-return-type-mismatch">
<h2>UDTF_RETURN_TYPE_MISMATCH<a class="headerlink" href="#udtf-return-type-mismatch" title="Permalink to this headline">#</a></h2>
<p>Mismatch in return type for the UDTF ‘&lt;name&gt;’. Expected a ‘StructType’, but got ‘&lt;return_type&gt;’. Please ensure the return type is a correctly formatted StructType.</p>
</section>
<section id="udtf-serialization-error">
<h2>UDTF_SERIALIZATION_ERROR<a class="headerlink" href="#udtf-serialization-error" title="Permalink to this headline">#</a></h2>
<p>Cannot serialize the UDTF ‘&lt;name&gt;’: &lt;message&gt;</p>
</section>
<section id="unexpected-response-from-server">
<h2>UNEXPECTED_RESPONSE_FROM_SERVER<a class="headerlink" href="#unexpected-response-from-server" title="Permalink to this headline">#</a></h2>
<p>Unexpected response from iterator server.</p>
</section>
<section id="unexpected-tuple-with-struct">
<h2>UNEXPECTED_TUPLE_WITH_STRUCT<a class="headerlink" href="#unexpected-tuple-with-struct" title="Permalink to this headline">#</a></h2>
<p>Unexpected tuple &lt;tuple&gt; with StructType.</p>
</section>
<section id="unknown-explain-mode">
<h2>UNKNOWN_EXPLAIN_MODE<a class="headerlink" href="#unknown-explain-mode" title="Permalink to this headline">#</a></h2>
<p>Unknown explain mode: ‘&lt;explain_mode&gt;’. Accepted explain modes are ‘simple’, ‘extended’, ‘codegen’, ‘cost’, ‘formatted’.</p>
</section>
<section id="unknown-interrupt-type">
<h2>UNKNOWN_INTERRUPT_TYPE<a class="headerlink" href="#unknown-interrupt-type" title="Permalink to this headline">#</a></h2>
<p>Unknown interrupt type: ‘&lt;interrupt_type&gt;’. Accepted interrupt types are ‘all’.</p>
</section>
<section id="unknown-response">
<h2>UNKNOWN_RESPONSE<a class="headerlink" href="#unknown-response" title="Permalink to this headline">#</a></h2>
<p>Unknown response: &lt;response&gt;.</p>
</section>
<section id="unknown-value-for">
<h2>UNKNOWN_VALUE_FOR<a class="headerlink" href="#unknown-value-for" title="Permalink to this headline">#</a></h2>
<p>Unknown value for <cite>&lt;var&gt;</cite>.</p>
</section>
<section id="unsupported-data-type">
<h2>UNSUPPORTED_DATA_TYPE<a class="headerlink" href="#unsupported-data-type" title="Permalink to this headline">#</a></h2>
<p>Unsupported DataType <cite>&lt;data_type&gt;</cite>.</p>
</section>
<section id="unsupported-data-type-for-arrow">
<h2>UNSUPPORTED_DATA_TYPE_FOR_ARROW<a class="headerlink" href="#unsupported-data-type-for-arrow" title="Permalink to this headline">#</a></h2>
<p>Single data type &lt;data_type&gt; is not supported with Arrow.</p>
</section>
<section id="unsupported-data-type-for-arrow-conversion">
<h2>UNSUPPORTED_DATA_TYPE_FOR_ARROW_CONVERSION<a class="headerlink" href="#unsupported-data-type-for-arrow-conversion" title="Permalink to this headline">#</a></h2>
<p>&lt;data_type&gt; is not supported in conversion to Arrow.</p>
</section>
<section id="unsupported-data-type-for-arrow-version">
<h2>UNSUPPORTED_DATA_TYPE_FOR_ARROW_VERSION<a class="headerlink" href="#unsupported-data-type-for-arrow-version" title="Permalink to this headline">#</a></h2>
<p>&lt;data_type&gt; is only supported with pyarrow 2.0.0 and above.</p>
</section>
<section id="unsupported-join-type">
<h2>UNSUPPORTED_JOIN_TYPE<a class="headerlink" href="#unsupported-join-type" title="Permalink to this headline">#</a></h2>
<p>Unsupported join type: &lt;join_type&gt;. Supported join types include: ‘inner’, ‘outer’, ‘full’, ‘fullouter’, ‘full_outer’, ‘leftouter’, ‘left’, ‘left_outer’, ‘rightouter’, ‘right’, ‘right_outer’, ‘leftsemi’, ‘left_semi’, ‘semi’, ‘leftanti’, ‘left_anti’, ‘anti’, ‘cross’.</p>
</section>
<section id="unsupported-literal">
<h2>UNSUPPORTED_LITERAL<a class="headerlink" href="#unsupported-literal" title="Permalink to this headline">#</a></h2>
<p>Unsupported Literal ‘&lt;literal&gt;’.</p>
</section>
<section id="unsupported-local-connection-string">
<h2>UNSUPPORTED_LOCAL_CONNECTION_STRING<a class="headerlink" href="#unsupported-local-connection-string" title="Permalink to this headline">#</a></h2>
<p>Creating new SparkSessions with <cite>local</cite> connection string is not supported.</p>
</section>
<section id="unsupported-numpy-array-scalar">
<h2>UNSUPPORTED_NUMPY_ARRAY_SCALAR<a class="headerlink" href="#unsupported-numpy-array-scalar" title="Permalink to this headline">#</a></h2>
<p>The type of array scalar ‘&lt;dtype&gt;’ is not supported.</p>
</section>
<section id="unsupported-operation">
<h2>UNSUPPORTED_OPERATION<a class="headerlink" href="#unsupported-operation" title="Permalink to this headline">#</a></h2>
<p>&lt;operation&gt; is not supported.</p>
</section>
<section id="unsupported-package-version">
<h2>UNSUPPORTED_PACKAGE_VERSION<a class="headerlink" href="#unsupported-package-version" title="Permalink to this headline">#</a></h2>
<p>&lt;package_name&gt; &gt;= &lt;minimum_version&gt; must be installed; however, your version is &lt;current_version&gt;.</p>
</section>
<section id="unsupported-param-type-for-higher-order-function">
<h2>UNSUPPORTED_PARAM_TYPE_FOR_HIGHER_ORDER_FUNCTION<a class="headerlink" href="#unsupported-param-type-for-higher-order-function" title="Permalink to this headline">#</a></h2>
<p>Function <cite>&lt;func_name&gt;</cite> should use only POSITIONAL or POSITIONAL OR KEYWORD arguments.</p>
</section>
<section id="unsupported-signature">
<h2>UNSUPPORTED_SIGNATURE<a class="headerlink" href="#unsupported-signature" title="Permalink to this headline">#</a></h2>
<p>Unsupported signature: &lt;signature&gt;.</p>
</section>
<section id="unsupported-with-arrow-optimization">
<h2>UNSUPPORTED_WITH_ARROW_OPTIMIZATION<a class="headerlink" href="#unsupported-with-arrow-optimization" title="Permalink to this headline">#</a></h2>
<p>&lt;feature&gt; is not supported with Arrow optimization enabled in Python UDFs. Disable ‘spark.sql.execution.pythonUDF.arrow.enabled’ to workaround.</p>
</section>
<section id="value-allowed">
<h2>VALUE_ALLOWED<a class="headerlink" href="#value-allowed" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> does not allow &lt;disallowed_value&gt;.</p>
</section>
<section id="value-not-accessible">
<h2>VALUE_NOT_ACCESSIBLE<a class="headerlink" href="#value-not-accessible" title="Permalink to this headline">#</a></h2>
<p>Value <cite>&lt;value&gt;</cite> cannot be accessed inside tasks.</p>
</section>
<section id="value-not-allowed">
<h2>VALUE_NOT_ALLOWED<a class="headerlink" href="#value-not-allowed" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> has to be amongst the following values: &lt;allowed_values&gt;.</p>
</section>
<section id="value-not-any-or-all">
<h2>VALUE_NOT_ANY_OR_ALL<a class="headerlink" href="#value-not-any-or-all" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be ‘any’ or ‘all’, got ‘&lt;arg_value&gt;’.</p>
</section>
<section id="value-not-between">
<h2>VALUE_NOT_BETWEEN<a class="headerlink" href="#value-not-between" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be between &lt;min&gt; and &lt;max&gt;.</p>
</section>
<section id="value-not-non-empty-str">
<h2>VALUE_NOT_NON_EMPTY_STR<a class="headerlink" href="#value-not-non-empty-str" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be a non-empty string, got ‘&lt;arg_value&gt;’.</p>
</section>
<section id="value-not-pearson">
<h2>VALUE_NOT_PEARSON<a class="headerlink" href="#value-not-pearson" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> only supports the ‘pearson’, got ‘&lt;arg_value&gt;’.</p>
</section>
<section id="value-not-plain-column-reference">
<h2>VALUE_NOT_PLAIN_COLUMN_REFERENCE<a class="headerlink" href="#value-not-plain-column-reference" title="Permalink to this headline">#</a></h2>
<p>Value <cite>&lt;val&gt;</cite> in <cite>&lt;field_name&gt;</cite> should be a plain column reference such as <cite>df.col</cite> or <cite>col(‘column’)</cite>.</p>
</section>
<section id="value-not-positive">
<h2>VALUE_NOT_POSITIVE<a class="headerlink" href="#value-not-positive" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be positive, got ‘&lt;arg_value&gt;’.</p>
</section>
<section id="value-not-true">
<h2>VALUE_NOT_TRUE<a class="headerlink" href="#value-not-true" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be True, got ‘&lt;arg_value&gt;’.</p>
</section>
<section id="value-out-of-bounds">
<h2>VALUE_OUT_OF_BOUNDS<a class="headerlink" href="#value-out-of-bounds" title="Permalink to this headline">#</a></h2>
<p>Value for <cite>&lt;arg_name&gt;</cite> must be between &lt;lower_bound&gt; and &lt;upper_bound&gt; (inclusive), got &lt;actual&gt;</p>
</section>
<section id="wrong-num-args-for-higher-order-function">
<h2>WRONG_NUM_ARGS_FOR_HIGHER_ORDER_FUNCTION<a class="headerlink" href="#wrong-num-args-for-higher-order-function" title="Permalink to this headline">#</a></h2>
<p>Function <cite>&lt;func_name&gt;</cite> should take between 1 and 3 arguments, but the provided function takes &lt;num_args&gt;.</p>
</section>
<section id="wrong-num-columns">
<h2>WRONG_NUM_COLUMNS<a class="headerlink" href="#wrong-num-columns" title="Permalink to this headline">#</a></h2>
<p>Function <cite>&lt;func_name&gt;</cite> should take at least &lt;num_cols&gt; columns.</p>
</section>
<section id="zero-index">
<h2>ZERO_INDEX<a class="headerlink" href="#zero-index" title="Permalink to this headline">#</a></h2>
<p>Index must be non-zero.</p>
</section>
</section>
</article>
<footer class="bd-footer-article">
<div class="footer-article-items footer-article__inner">
<div class="footer-article-item"><!-- Previous / next buttons -->
<div class="prev-next-area">
<a class="left-prev"
href="setting_ide.html"
title="previous page">
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title">Setting up IDEs</p>
</div>
</a>
<a class="right-next"
href="../migration_guide/index.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Migration Guides</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
</div></div>
</div>
</footer>
</div>
<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
<div class="sidebar-secondary-item">
<div class="page-toc tocsection onthispage">
<i class="fa-solid fa-list"></i> On this page
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#application-name-not-set">APPLICATION_NAME_NOT_SET</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#argument-required">ARGUMENT_REQUIRED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#arrow-legacy-ipc-format">ARROW_LEGACY_IPC_FORMAT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#attribute-not-callable">ATTRIBUTE_NOT_CALLABLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#attribute-not-supported">ATTRIBUTE_NOT_SUPPORTED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#axis-length-mismatch">AXIS_LENGTH_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#broadcast-variable-not-loaded">BROADCAST_VARIABLE_NOT_LOADED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#call-before-initialize">CALL_BEFORE_INITIALIZE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-accept-object-in-type">CANNOT_ACCEPT_OBJECT_IN_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-access-to-dunder">CANNOT_ACCESS_TO_DUNDER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-apply-in-for-column">CANNOT_APPLY_IN_FOR_COLUMN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-be-empty">CANNOT_BE_EMPTY</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-be-none">CANNOT_BE_NONE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-configure-spark-connect">CANNOT_CONFIGURE_SPARK_CONNECT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-configure-spark-connect-master">CANNOT_CONFIGURE_SPARK_CONNECT_MASTER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-convert-column-into-bool">CANNOT_CONVERT_COLUMN_INTO_BOOL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-convert-type">CANNOT_CONVERT_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-determine-type">CANNOT_DETERMINE_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-get-batch-id">CANNOT_GET_BATCH_ID</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-infer-array-type">CANNOT_INFER_ARRAY_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-infer-empty-schema">CANNOT_INFER_EMPTY_SCHEMA</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-infer-schema-for-type">CANNOT_INFER_SCHEMA_FOR_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-infer-type-for-field">CANNOT_INFER_TYPE_FOR_FIELD</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-merge-type">CANNOT_MERGE_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-open-socket">CANNOT_OPEN_SOCKET</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-parse-datatype">CANNOT_PARSE_DATATYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-provide-metadata">CANNOT_PROVIDE_METADATA</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-set-together">CANNOT_SET_TOGETHER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-specify-return-type-for-udf">CANNOT_SPECIFY_RETURN_TYPE_FOR_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cannot-without">CANNOT_WITHOUT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#collation-invalid-provider">COLLATION_INVALID_PROVIDER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#column-in-list">COLUMN_IN_LIST</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#connect-url-already-defined">CONNECT_URL_ALREADY_DEFINED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#connect-url-not-set">CONNECT_URL_NOT_SET</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#context-only-valid-on-driver">CONTEXT_ONLY_VALID_ON_DRIVER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#context-unavailable-for-remote-client">CONTEXT_UNAVAILABLE_FOR_REMOTE_CLIENT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#data-source-create-error">DATA_SOURCE_CREATE_ERROR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#data-source-invalid-return-type">DATA_SOURCE_INVALID_RETURN_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#data-source-return-schema-mismatch">DATA_SOURCE_RETURN_SCHEMA_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#data-source-type-mismatch">DATA_SOURCE_TYPE_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#different-pandas-dataframe">DIFFERENT_PANDAS_DATAFRAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#different-pandas-index">DIFFERENT_PANDAS_INDEX</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#different-pandas-multiindex">DIFFERENT_PANDAS_MULTIINDEX</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#different-pandas-series">DIFFERENT_PANDAS_SERIES</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#different-rows">DIFFERENT_ROWS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#different-schema">DIFFERENT_SCHEMA</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#disallowed-type-for-container">DISALLOWED_TYPE_FOR_CONTAINER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#duplicated-field-name-in-arrow-struct">DUPLICATED_FIELD_NAME_IN_ARROW_STRUCT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#error-occurred-while-calling">ERROR_OCCURRED_WHILE_CALLING</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-data-type-unacceptable">FIELD_DATA_TYPE_UNACCEPTABLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-data-type-unacceptable-with-name">FIELD_DATA_TYPE_UNACCEPTABLE_WITH_NAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-not-nullable">FIELD_NOT_NULLABLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-not-nullable-with-name">FIELD_NOT_NULLABLE_WITH_NAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-struct-length-mismatch">FIELD_STRUCT_LENGTH_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-struct-length-mismatch-with-name">FIELD_STRUCT_LENGTH_MISMATCH_WITH_NAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-type-mismatch">FIELD_TYPE_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#field-type-mismatch-with-name">FIELD_TYPE_MISMATCH_WITH_NAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#higher-order-function-should-return-column">HIGHER_ORDER_FUNCTION_SHOULD_RETURN_COLUMN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#incorrect-conf-for-profile">INCORRECT_CONF_FOR_PROFILE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#index-not-positive">INDEX_NOT_POSITIVE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#index-out-of-range">INDEX_OUT_OF_RANGE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-arrow-udtf-return-type">INVALID_ARROW_UDTF_RETURN_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-broadcast-operation">INVALID_BROADCAST_OPERATION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-call-on-unresolved-object">INVALID_CALL_ON_UNRESOLVED_OBJECT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-connect-url">INVALID_CONNECT_URL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-interval-casting">INVALID_INTERVAL_CASTING</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-item-for-container">INVALID_ITEM_FOR_CONTAINER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-json-data-type-for-collations">INVALID_JSON_DATA_TYPE_FOR_COLLATIONS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-multiple-argument-conditions">INVALID_MULTIPLE_ARGUMENT_CONDITIONS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-ndarray-dimension">INVALID_NDARRAY_DIMENSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-number-of-dataframes-in-group">INVALID_NUMBER_OF_DATAFRAMES_IN_GROUP</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-pandas-udf">INVALID_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-pandas-udf-type">INVALID_PANDAS_UDF_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-return-type-for-arrow-udf">INVALID_RETURN_TYPE_FOR_ARROW_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-return-type-for-pandas-udf">INVALID_RETURN_TYPE_FOR_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-session-uuid-id">INVALID_SESSION_UUID_ID</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-timeout-timestamp">INVALID_TIMEOUT_TIMESTAMP</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-type">INVALID_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-typename-call">INVALID_TYPENAME_CALL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-type-df-equality-arg">INVALID_TYPE_DF_EQUALITY_ARG</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-udf-eval-type">INVALID_UDF_EVAL_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-udtf-both-return-type-and-analyze">INVALID_UDTF_BOTH_RETURN_TYPE_AND_ANALYZE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-udtf-eval-type">INVALID_UDTF_EVAL_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-udtf-handler-type">INVALID_UDTF_HANDLER_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-udtf-no-eval">INVALID_UDTF_NO_EVAL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-udtf-return-type">INVALID_UDTF_RETURN_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-when-usage">INVALID_WHEN_USAGE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#invalid-window-bound-type">INVALID_WINDOW_BOUND_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#java-gateway-exited">JAVA_GATEWAY_EXITED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#jvm-attribute-not-supported">JVM_ATTRIBUTE_NOT_SUPPORTED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#key-not-exists">KEY_NOT_EXISTS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#key-value-pair-required">KEY_VALUE_PAIR_REQUIRED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#length-should-be-the-same">LENGTH_SHOULD_BE_THE_SAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#malformed-variant">MALFORMED_VARIANT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#master-url-not-set">MASTER_URL_NOT_SET</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#missing-library-for-profiler">MISSING_LIBRARY_FOR_PROFILER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#missing-valid-plan">MISSING_VALID_PLAN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#mixed-type-replacement">MIXED_TYPE_REPLACEMENT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#negative-value">NEGATIVE_VALUE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool">NOT_BOOL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-dict-or-float-or-int-or-list-or-str-or-tuple">NOT_BOOL_OR_DICT_OR_FLOAT_OR_INT_OR_LIST_OR_STR_OR_TUPLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-dict-or-float-or-int-or-str">NOT_BOOL_OR_DICT_OR_FLOAT_OR_INT_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-float-or-int">NOT_BOOL_OR_FLOAT_OR_INT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-float-or-int-or-list-or-none-or-str-or-tuple">NOT_BOOL_OR_FLOAT_OR_INT_OR_LIST_OR_NONE_OR_STR_OR_TUPLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-float-or-int-or-str">NOT_BOOL_OR_FLOAT_OR_INT_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-list">NOT_BOOL_OR_LIST</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-bool-or-str">NOT_BOOL_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-callable">NOT_CALLABLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column">NOT_COLUMN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-datatype-or-str">NOT_COLUMN_OR_DATATYPE_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-float-or-int-or-list-or-str">NOT_COLUMN_OR_FLOAT_OR_INT_OR_LIST_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-int">NOT_COLUMN_OR_INT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-int-or-list-or-str-or-tuple">NOT_COLUMN_OR_INT_OR_LIST_OR_STR_OR_TUPLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-int-or-str">NOT_COLUMN_OR_INT_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-list-or-str">NOT_COLUMN_OR_LIST_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-str">NOT_COLUMN_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-column-or-str-or-struct">NOT_COLUMN_OR_STR_OR_STRUCT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-dataframe">NOT_DATAFRAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-datatype-or-str">NOT_DATATYPE_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-dict">NOT_DICT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-expression">NOT_EXPRESSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-float-or-int">NOT_FLOAT_OR_INT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-float-or-int-or-list-or-str">NOT_FLOAT_OR_INT_OR_LIST_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-implemented">NOT_IMPLEMENTED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-int">NOT_INT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-int-or-slice-or-str">NOT_INT_OR_SLICE_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-in-barrier-stage">NOT_IN_BARRIER_STAGE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-iterable">NOT_ITERABLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list">NOT_LIST</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-of-column">NOT_LIST_OF_COLUMN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-of-column-or-str">NOT_LIST_OF_COLUMN_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-of-float-or-int">NOT_LIST_OF_FLOAT_OR_INT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-of-str">NOT_LIST_OF_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-or-none-or-struct">NOT_LIST_OR_NONE_OR_STRUCT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-or-str-or-tuple">NOT_LIST_OR_STR_OR_TUPLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-list-or-tuple">NOT_LIST_OR_TUPLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-numeric-columns">NOT_NUMERIC_COLUMNS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-observation-or-str">NOT_OBSERVATION_OR_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-same-type">NOT_SAME_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-str">NOT_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-struct">NOT_STRUCT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-str-or-list-of-rdd">NOT_STR_OR_LIST_OF_RDD</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-str-or-struct">NOT_STR_OR_STRUCT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#not-windowspec">NOT_WINDOWSPEC</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#no-active-exception">NO_ACTIVE_EXCEPTION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#no-active-or-default-session">NO_ACTIVE_OR_DEFAULT_SESSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#no-active-session">NO_ACTIVE_SESSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#no-observe-before-get">NO_OBSERVE_BEFORE_GET</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#no-schema-and-driver-default-scheme">NO_SCHEMA_AND_DRIVER_DEFAULT_SCHEME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#only-allowed-for-single-column">ONLY_ALLOWED_FOR_SINGLE_COLUMN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#only-allow-single-trigger">ONLY_ALLOW_SINGLE_TRIGGER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#only-supported-with-spark-connect">ONLY_SUPPORTED_WITH_SPARK_CONNECT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#package-not-installed">PACKAGE_NOT_INSTALLED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#pipe-function-exited">PIPE_FUNCTION_EXITED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#python-hash-seed-not-set">PYTHON_HASH_SEED_NOT_SET</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#python-streaming-data-source-runtime-error">PYTHON_STREAMING_DATA_SOURCE_RUNTIME_ERROR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#python-version-mismatch">PYTHON_VERSION_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#rdd-transform-only-valid-on-driver">RDD_TRANSFORM_ONLY_VALID_ON_DRIVER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#read-only">READ_ONLY</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#response-already-received">RESPONSE_ALREADY_RECEIVED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#result-columns-mismatch-for-arrow-udf">RESULT_COLUMNS_MISMATCH_FOR_ARROW_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#result-columns-mismatch-for-pandas-udf">RESULT_COLUMNS_MISMATCH_FOR_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#result-length-mismatch-for-pandas-udf">RESULT_LENGTH_MISMATCH_FOR_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#result-length-mismatch-for-scalar-iter-pandas-udf">RESULT_LENGTH_MISMATCH_FOR_SCALAR_ITER_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#result-type-mismatch-for-arrow-udf">RESULT_TYPE_MISMATCH_FOR_ARROW_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#retries-exceeded">RETRIES_EXCEEDED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#reuse-observation">REUSE_OBSERVATION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#schema-mismatch-for-pandas-udf">SCHEMA_MISMATCH_FOR_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#session-already-exist">SESSION_ALREADY_EXIST</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#session-need-conn-str-or-builder">SESSION_NEED_CONN_STR_OR_BUILDER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#session-not-same">SESSION_NOT_SAME</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#session-or-context-exists">SESSION_OR_CONTEXT_EXISTS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#session-or-context-not-exists">SESSION_OR_CONTEXT_NOT_EXISTS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#slice-with-step">SLICE_WITH_STEP</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#state-not-exists">STATE_NOT_EXISTS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#stop-iteration-occurred">STOP_ITERATION_OCCURRED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#stop-iteration-occurred-from-scalar-iter-pandas-udf">STOP_ITERATION_OCCURRED_FROM_SCALAR_ITER_PANDAS_UDF</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#streaming-connect-serialization-error">STREAMING_CONNECT_SERIALIZATION_ERROR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#test-class-not-compiled">TEST_CLASS_NOT_COMPILED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#too-many-values">TOO_MANY_VALUES</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#type-hint-should-be-specified">TYPE_HINT_SHOULD_BE_SPECIFIED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udf-return-type">UDF_RETURN_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-arrow-type-cast-error">UDTF_ARROW_TYPE_CAST_ERROR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-constructor-invalid-implements-analyze-method">UDTF_CONSTRUCTOR_INVALID_IMPLEMENTS_ANALYZE_METHOD</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-constructor-invalid-no-analyze-method">UDTF_CONSTRUCTOR_INVALID_NO_ANALYZE_METHOD</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-eval-method-arguments-do-not-match-signature">UDTF_EVAL_METHOD_ARGUMENTS_DO_NOT_MATCH_SIGNATURE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-exec-error">UDTF_EXEC_ERROR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-invalid-output-row-type">UDTF_INVALID_OUTPUT_ROW_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-return-not-iterable">UDTF_RETURN_NOT_ITERABLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-return-schema-mismatch">UDTF_RETURN_SCHEMA_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-return-type-mismatch">UDTF_RETURN_TYPE_MISMATCH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#udtf-serialization-error">UDTF_SERIALIZATION_ERROR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unexpected-response-from-server">UNEXPECTED_RESPONSE_FROM_SERVER</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unexpected-tuple-with-struct">UNEXPECTED_TUPLE_WITH_STRUCT</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unknown-explain-mode">UNKNOWN_EXPLAIN_MODE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unknown-interrupt-type">UNKNOWN_INTERRUPT_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unknown-response">UNKNOWN_RESPONSE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unknown-value-for">UNKNOWN_VALUE_FOR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-data-type">UNSUPPORTED_DATA_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-data-type-for-arrow">UNSUPPORTED_DATA_TYPE_FOR_ARROW</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-data-type-for-arrow-conversion">UNSUPPORTED_DATA_TYPE_FOR_ARROW_CONVERSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-data-type-for-arrow-version">UNSUPPORTED_DATA_TYPE_FOR_ARROW_VERSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-join-type">UNSUPPORTED_JOIN_TYPE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-literal">UNSUPPORTED_LITERAL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-local-connection-string">UNSUPPORTED_LOCAL_CONNECTION_STRING</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-numpy-array-scalar">UNSUPPORTED_NUMPY_ARRAY_SCALAR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-operation">UNSUPPORTED_OPERATION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-package-version">UNSUPPORTED_PACKAGE_VERSION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-param-type-for-higher-order-function">UNSUPPORTED_PARAM_TYPE_FOR_HIGHER_ORDER_FUNCTION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-signature">UNSUPPORTED_SIGNATURE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#unsupported-with-arrow-optimization">UNSUPPORTED_WITH_ARROW_OPTIMIZATION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-allowed">VALUE_ALLOWED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-accessible">VALUE_NOT_ACCESSIBLE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-allowed">VALUE_NOT_ALLOWED</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-any-or-all">VALUE_NOT_ANY_OR_ALL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-between">VALUE_NOT_BETWEEN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-non-empty-str">VALUE_NOT_NON_EMPTY_STR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-pearson">VALUE_NOT_PEARSON</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-plain-column-reference">VALUE_NOT_PLAIN_COLUMN_REFERENCE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-positive">VALUE_NOT_POSITIVE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-not-true">VALUE_NOT_TRUE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#value-out-of-bounds">VALUE_OUT_OF_BOUNDS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#wrong-num-args-for-higher-order-function">WRONG_NUM_ARGS_FOR_HIGHER_ORDER_FUNCTION</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#wrong-num-columns">WRONG_NUM_COLUMNS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#zero-index">ZERO_INDEX</a></li>
</ul>
</nav></div>
<div class="sidebar-secondary-item">
<div class="tocsection sourcelink">
<a href="../_sources/development/errors.rst.txt">
<i class="fa-solid fa-file-lines"></i> Show Source
</a>
</div>
</div>
</div></div>
</div>
<footer class="bd-footer-content">
</footer>
</main>
</div>
</div>
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="../_static/scripts/bootstrap.js?digest=e353d410970836974a52"></script>
<script src="../_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52"></script>
<footer class="bd-footer">
<div class="bd-footer__inner bd-page-width">
<div class="footer-items__start">
<div class="footer-item"><p class="copyright">
Copyright @ 2024 The Apache Software Foundation, Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
</p></div>
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.5.0.
<br/>
</p>
</div>
</div>
<div class="footer-items__end">
<div class="footer-item"><p class="theme-version">
Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.13.3.
</p></div>
</div>
</div>
</footer>
</body>
</html>