> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::ExecuteProcRequest

> gpudb::ExecuteProcRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#aec2cf18c6185bf22d4fa351019b9924e">GPUdb::executeProc</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/execute__proc_8h_source">gpudb/protocol/execute\_proc.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a802334a14d87aaff102ff561ca632174" id="r_a802334a14d87aaff102ff561ca632174">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a802334a14d87aaff102ff561ca632174">ExecuteProcRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a802334a14d87aaff102ff561ca632174">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteProcRequest" title="A set of parameters for GPUdb::executeProc.">ExecuteProcRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a802334a14d87aaff102ff561ca632174">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a96cabc001440545f27d3eba700d71ff3" id="r_a96cabc001440545f27d3eba700d71ff3">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a96cabc001440545f27d3eba700d71ff3">ExecuteProcRequest</a> (const std::string \&procName\_, const std::map\< std::string, std::string > \&params\_, const std::map\< std::string, std::vector\< uint8\_t > > \&binParams\_, const std::vector\< std::string > \&inputTableNames\_, const std::map\< std::string, std::vector\< std::string > > \&inputColumnNames\_, const std::vector\< std::string > \&outputTableNames\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a96cabc001440545f27d3eba700d71ff3">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteProcRequest" title="A set of parameters for GPUdb::executeProc.">ExecuteProcRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a96cabc001440545f27d3eba700d71ff3">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:af815ca8df1f283d69972edf3195e57f4" id="r_af815ca8df1f283d69972edf3195e57f4">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#af815ca8df1f283d69972edf3195e57f4">procName</a></td>
      </tr>

      <tr className="memdesc:af815ca8df1f283d69972edf3195e57f4">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the proc to execute. <br /></td>
      </tr>

      <tr className="separator:af815ca8df1f283d69972edf3195e57f4">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a83c9d66c7fecc1867f5f363dbd8b9025" id="r_a83c9d66c7fecc1867f5f363dbd8b9025">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a83c9d66c7fecc1867f5f363dbd8b9025">params</a></td>
      </tr>

      <tr className="memdesc:a83c9d66c7fecc1867f5f363dbd8b9025">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A map containing named parameters to pass to the proc. <br /></td>
      </tr>

      <tr className="separator:a83c9d66c7fecc1867f5f363dbd8b9025">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a78091ef439284eae3bb4ccafe6e9c7e6" id="r_a78091ef439284eae3bb4ccafe6e9c7e6">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::vector\< uint8\_t > > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a78091ef439284eae3bb4ccafe6e9c7e6">binParams</a></td>
      </tr>

      <tr className="memdesc:a78091ef439284eae3bb4ccafe6e9c7e6">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A map containing named binary parameters to pass to the proc. <br /></td>
      </tr>

      <tr className="separator:a78091ef439284eae3bb4ccafe6e9c7e6">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a25c972ab3d77a44d9fb6351f421f2ddf" id="r_a25c972ab3d77a44d9fb6351f421f2ddf">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a25c972ab3d77a44d9fb6351f421f2ddf">inputTableNames</a></td>
      </tr>

      <tr className="memdesc:a25c972ab3d77a44d9fb6351f421f2ddf">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Names of the tables containing data to be passed to the proc. <br /></td>
      </tr>

      <tr className="separator:a25c972ab3d77a44d9fb6351f421f2ddf">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a6aa3d53ecdf763b74bf7156977dbd9e2" id="r_a6aa3d53ecdf763b74bf7156977dbd9e2">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::vector\< std::string > > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a6aa3d53ecdf763b74bf7156977dbd9e2">inputColumnNames</a></td>
      </tr>

      <tr className="memdesc:a6aa3d53ecdf763b74bf7156977dbd9e2">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Map of table names from <a className="el" href="#a25c972ab3d77a44d9fb6351f421f2ddf">inputTableNames</a> to lists of names of columns from those tables that will be passed to the proc. <br /></td>
      </tr>

      <tr className="separator:a6aa3d53ecdf763b74bf7156977dbd9e2">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a35ea220760e3f98e614f82775f3188c9" id="r_a35ea220760e3f98e614f82775f3188c9">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a35ea220760e3f98e614f82775f3188c9">outputTableNames</a></td>
      </tr>

      <tr className="memdesc:a35ea220760e3f98e614f82775f3188c9">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Names of the tables to which output data from the proc will be written, each in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. <br /></td>
      </tr>

      <tr className="separator:a35ea220760e3f98e614f82775f3188c9">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a7f587f45c407ec9ada774001491397ba" id="r_a7f587f45c407ec9ada774001491397ba">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a7f587f45c407ec9ada774001491397ba">options</a></td>
      </tr>

      <tr className="memdesc:a7f587f45c407ec9ada774001491397ba">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a7f587f45c407ec9ada774001491397ba">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#aec2cf18c6185bf22d4fa351019b9924e">GPUdb::executeProc</a>. </p>
      <p>Executes a proc. This endpoint is asynchronous and does not wait for the proc to complete before returning.</p>
      <p>If the proc being executed is distributed, <a className="el" href="#a25c972ab3d77a44d9fb6351f421f2ddf">inputTableNames</a> and <a className="el" href="#a6aa3d53ecdf763b74bf7156977dbd9e2">inputColumnNames</a> may be passed to the proc to use for reading data, and <a className="el" href="#a35ea220760e3f98e614f82775f3188c9">outputTableNames</a> may be passed to the proc to use for writing data.</p>
      <p>If the proc being executed is non-distributed, these table parameters will be ignored. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00026">26</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a802334a14d87aaff102ff561ca632174">◆ </a></span>ExecuteProcRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::ExecuteProcRequest::ExecuteProcRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteProcRequest" title="A set of parameters for GPUdb::executeProc.">ExecuteProcRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00031">31</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a96cabc001440545f27d3eba700d71ff3">◆ </a></span>ExecuteProcRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::ExecuteProcRequest::ExecuteProcRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">procName\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">params\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::vector\< uint8\_t > > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">binParams\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::vector\< std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">inputTableNames\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::vector\< std::string > > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">inputColumnNames\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::vector\< std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">outputTableNames\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteProcRequest" title="A set of parameters for GPUdb::executeProc.">ExecuteProcRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">procName\_</td>
                <td>Name of the proc to execute. Must be the name of a currently existing proc. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">params\_</td>
                <td>A map containing named parameters to pass to the proc. Each key/value pair specifies the name of a parameter and its value. The default value is an empty map. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">binParams\_</td>
                <td>A map containing named binary parameters to pass to the proc. Each key/value pair specifies the name of a parameter and its value. The default value is an empty map. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">inputTableNames\_</td>
                <td>Names of the tables containing data to be passed to the proc. Each name specified must be the name of a currently existing table, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. If no table names are specified, no data will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty vector. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">inputColumnNames\_</td>
                <td>Map of table names from <span className="em arg">inputTableNames\_</span> to lists of names of columns from those tables that will be passed to the proc. Each column name specified must be the name of an existing column in the corresponding table. If a table name from <span className="em arg">inputTableNames\_</span> is not included, all columns from that table will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty map. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">outputTableNames\_</td>
                <td>Names of the tables to which output data from the proc will be written, each in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from <span className="em arg">inputTableNames\_</span>, excluding any primary and shard keys. If a specified table is a non-persistent result table, it must not have primary or shard keys. If no table names are specified, no output data can be returned from the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty vector. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aba9eb12afe1503933120b7bf64a7e346">execute\_proc\_cache\_input</a>: No longer supported; option will be ignored. The default value is ''. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad7211ebc76981c8c72d786d0fd2643dd">execute\_proc\_use\_cached\_input</a>: No longer supported; option will be ignored. The default value is ''. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#acf184a4291134ee67002d73c05e2d52a">execute\_proc\_run\_tag</a>: A string that, if not empty, can be used in subsequent calls to <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a1d460da9ead16a63d91e8a104805d0a6">GPUdb::showProcStatus</a> or <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ac8fff6e61ada09d2fdb3bb336ccc321a">GPUdb::killProc</a> to identify the proc instance. The default value is ''. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a696f20b78bdb37031a10510c6b99ed1a">execute\_proc\_max\_output\_lines</a>: The maximum number of lines of output from stdout and stderr to return via <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a1d460da9ead16a63d91e8a104805d0a6">GPUdb::showProcStatus</a>. If the number of lines output exceeds the maximum, earlier lines are discarded. The default value is '100'. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#af73f384cadee446e2a1d258d74bb83bd">execute\_proc\_execute\_at\_startup</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a4da8f3f4e4c507d4ba6bf1d496959b32">true</a>, an instance of the proc will run when the database is started instead of running immediately. The <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteProcResponse#a8b7bda3af69d5ce923ea4d16dfe67e6c">runId</a> can be retrieved using <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ae7427428b2214adb5622e723382cb304">GPUdb::showProc</a> and used in <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a1d460da9ead16a63d91e8a104805d0a6">GPUdb::showProcStatus</a>. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4da8f3f4e4c507d4ba6bf1d496959b32">execute\_proc\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a492752231307347ef507e4e0680fc967">execute\_proc\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a492752231307347ef507e4e0680fc967">execute\_proc\_false</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ada77f22449cbf9e230fbb1d250698e1e">execute\_proc\_execute\_at\_startup\_as</a>: Sets the alternate user name to execute this proc instance as when <a className="el" href="/content/api/cpp/namespacegpudb#af73f384cadee446e2a1d258d74bb83bd">execute\_at\_startup</a> is <a className="el" href="/content/api/cpp/namespacegpudb#a4da8f3f4e4c507d4ba6bf1d496959b32">true</a>. The default value is ''. </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00171">171</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a78091ef439284eae3bb4ccafe6e9c7e6">◆ </a></span>binParams</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::vector\<uint8\_t> > gpudb::ExecuteProcRequest::binParams</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A map containing named binary parameters to pass to the proc. </p>
        <p>Each key/value pair specifies the name of a parameter and its value. The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00200">200</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a6aa3d53ecdf763b74bf7156977dbd9e2">◆ </a></span>inputColumnNames</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::vector\<std::string> > gpudb::ExecuteProcRequest::inputColumnNames</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Map of table names from <a className="el" href="#a25c972ab3d77a44d9fb6351f421f2ddf">inputTableNames</a> to lists of names of columns from those tables that will be passed to the proc. </p>
        <p>Each column name specified must be the name of an existing column in the corresponding table. If a table name from <a className="el" href="#a25c972ab3d77a44d9fb6351f421f2ddf">inputTableNames</a> is not included, all columns from that table will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00223">223</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a25c972ab3d77a44d9fb6351f421f2ddf">◆ </a></span>inputTableNames</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::ExecuteProcRequest::inputTableNames</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Names of the tables containing data to be passed to the proc. </p>
        <p>Each name specified must be the name of a currently existing table, in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. If no table names are specified, no data will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty vector. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00212">212</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a7f587f45c407ec9ada774001491397ba">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::ExecuteProcRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aba9eb12afe1503933120b7bf64a7e346">execute\_proc\_cache\_input</a>: No longer supported; option will be ignored. The default value is ''. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad7211ebc76981c8c72d786d0fd2643dd">execute\_proc\_use\_cached\_input</a>: No longer supported; option will be ignored. The default value is ''. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#acf184a4291134ee67002d73c05e2d52a">execute\_proc\_run\_tag</a>: A string that, if not empty, can be used in subsequent calls to <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a1d460da9ead16a63d91e8a104805d0a6">GPUdb::showProcStatus</a> or <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ac8fff6e61ada09d2fdb3bb336ccc321a">GPUdb::killProc</a> to identify the proc instance. The default value is ''. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a696f20b78bdb37031a10510c6b99ed1a">execute\_proc\_max\_output\_lines</a>: The maximum number of lines of output from stdout and stderr to return via <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a1d460da9ead16a63d91e8a104805d0a6">GPUdb::showProcStatus</a>. If the number of lines output exceeds the maximum, earlier lines are discarded. The default value is '100'. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#af73f384cadee446e2a1d258d74bb83bd">execute\_proc\_execute\_at\_startup</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a4da8f3f4e4c507d4ba6bf1d496959b32">true</a>, an instance of the proc will run when the database is started instead of running immediately. The <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteProcResponse#a8b7bda3af69d5ce923ea4d16dfe67e6c">runId</a> can be retrieved using <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ae7427428b2214adb5622e723382cb304">GPUdb::showProc</a> and used in <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a1d460da9ead16a63d91e8a104805d0a6">GPUdb::showProcStatus</a>. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4da8f3f4e4c507d4ba6bf1d496959b32">execute\_proc\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a492752231307347ef507e4e0680fc967">execute\_proc\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a492752231307347ef507e4e0680fc967">execute\_proc\_false</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ada77f22449cbf9e230fbb1d250698e1e">execute\_proc\_execute\_at\_startup\_as</a>: Sets the alternate user name to execute this proc instance as when <a className="el" href="/content/api/cpp/namespacegpudb#af73f384cadee446e2a1d258d74bb83bd">execute\_at\_startup</a> is <a className="el" href="/content/api/cpp/namespacegpudb#a4da8f3f4e4c507d4ba6bf1d496959b32">true</a>. The default value is ''. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00293">293</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a35ea220760e3f98e614f82775f3188c9">◆ </a></span>outputTableNames</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::ExecuteProcRequest::outputTableNames</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Names of the tables to which output data from the proc will be written, each in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. </p>
        <p>If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from <a className="el" href="#a25c972ab3d77a44d9fb6351f421f2ddf">inputTableNames</a>, excluding any primary and shard keys. If a specified table is a non-persistent result table, it must not have primary or shard keys. If no table names are specified, no output data can be returned from the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty vector. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00241">241</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a83c9d66c7fecc1867f5f363dbd8b9025">◆ </a></span>params</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::ExecuteProcRequest::params</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A map containing named parameters to pass to the proc. </p>
        <p>Each key/value pair specifies the name of a parameter and its value. The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00193">193</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#af815ca8df1f283d69972edf3195e57f4">◆ </a></span>procName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::ExecuteProcRequest::procName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the proc to execute. </p>
        <p>Must be the name of a currently existing proc. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__proc_8h_source#l00186">186</a> of file <a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/execute__proc_8h_source">execute\_proc.h</a></li>
    </ul>
  </div>
</div>
