> ## 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.

# aggregateUnpivot

<div className="kinetica-doxygen">
  <div id="a819c3b2873332b7856eb8039aeb1f82a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a819c3b2873332b7856eb8039aeb1f82a">◆ </a></span>aggregateUnpivot() <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"><a className="el" href="/content/api/cs/classkinetica_1_1AggregateUnpivotResponse">AggregateUnpivotResponse</a> kinetica.Kinetica.aggregateUnpivot </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1AggregateUnpivotRequest">AggregateUnpivotRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></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>Rotate the column values into rows values. </p>
      <p>For unpivot details and examples, see <a href="/content/concepts/unpivot/" target="_top">Unpivot</a>. For limitations, see <a href="/content/concepts/unpivot/#limitations" target="_top">Unpivot Limitations</a>.</p>
      <p>Unpivot is used to normalize tables that are built for cross tabular reporting purposes. The unpivot operator rotates the column values for all the pivoted columns. A variable column, value column and all columns from the source table except the unpivot columns are projected into the result table. The variable column and value columns in the result table indicate the pivoted column name and values respectively.</p>
      <p>The response is returned as a dynamic schema. For details see: <a href="/content/api/concepts/#dynamic-schemas" target="_top">dynamic schemas documentation</a>.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L7471">7471</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a96f64dbc4e95054af22e68aa0b14590b" />

  <h2 className="memtitle"><span className="permalink"><a href="#a96f64dbc4e95054af22e68aa0b14590b">◆ </a></span>aggregateUnpivot() <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"><a className="el" href="/content/api/cs/classkinetica_1_1AggregateUnpivotResponse">AggregateUnpivotResponse</a> kinetica.Kinetica.aggregateUnpivot </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IList\< string ></td>
                <td className="paramname"><span className="paramname"><span className="em">column\_names</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">variable\_column\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">value\_column\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IList\< string ></td>
                <td className="paramname"><span className="paramname"><span className="em">pivoted\_columns</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</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>Rotate the column values into rows values. </p>
      <p>For unpivot details and examples, see <a href="/content/concepts/unpivot/" target="_top">Unpivot</a>. For limitations, see <a href="/content/concepts/unpivot/#limitations" target="_top">Unpivot Limitations</a>.</p>
      <p>Unpivot is used to normalize tables that are built for cross tabular reporting purposes. The unpivot operator rotates the column values for all the pivoted columns. A variable column, value column and all columns from the source table except the unpivot columns are projected into the result table. The variable column and value columns in the result table indicate the pivoted column name and values respectively.</p>
      <p>The response is returned as a dynamic schema. For details see: <a href="/content/api/concepts/#dynamic-schemas" target="_top">dynamic schemas documentation</a>.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table on which the operation will be performed. Must be an existing table/view, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</td>
            </tr>

            <tr>
              <td className="paramname">column\_names</td>
              <td>List of column names or expressions. A wildcard '\*' can be used to include all the non-pivoted columns from the source table.</td>
            </tr>

            <tr>
              <td className="paramname">variable\_column\_name</td>
              <td>Specifies the variable/parameter column name. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">value\_column\_name</td>
              <td>Specifies the value column name. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">pivoted\_columns</td>
              <td>List of one or more values typically the column names of the input table. All the columns in the source table must have the same data type.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ad018aea22cf9f0c4250ea955f7211304">CREATE\_TEMP\_TABLE</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a1ac2beece9c0e6e2c30f6ea85bdb9e40">RESULT\_TABLE\_PERSIST</a> is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotResponse_1_1Info#aa41e5296bd18ada57674f52bc2262902">QUALIFIED\_RESULT\_TABLE\_NAME</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a2e2ca16c5af9b58e618d1bc80b59aaf5">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema as part of <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> and use <a className="el" href="#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema which is to contain the table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. If the schema is non-existent, it will be automatically created. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>: The name of a table used to store the results, 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 present, no results are returned in the response. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a1ac2beece9c0e6e2c30f6ea85bdb9e40">RESULT\_TABLE\_PERSIST</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a>, then the result table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> will be persisted and will not expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a29d5135f8be439544e2c3b206c9b07a8">TTL</a> is specified. If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>, then the result table will be an in-memory table and will expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a29d5135f8be439544e2c3b206c9b07a8">TTL</a> is specified otherwise. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ac3b97e829dcee0a437fcdbfcf1e8b3b5">EXPRESSION</a>: Filter expression to apply to the table prior to unpivot processing. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ae9eb691425b507a5a56e8a4dae0b9920">ORDER\_BY</a>: Comma-separated list of the columns to be sorted by; e.g. 'timestamp asc, x desc'. The columns specified must be present in input table. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a0017d0444307669a0765c4eb049b8ab1">CHUNK\_SIZE</a>: Indicates the number of records per chunk to be used for the result table. Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a5131224b58b5f3ad0bf99707d3631963">CHUNK\_COLUMN\_MAX\_MEMORY</a>: Indicates the target maximum data size for each column in a chunk to be used for the result table. Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a2a55f2bdf87334c2435860ed79756e5e">CHUNK\_MAX\_MEMORY</a>: Indicates the target maximum data size for all columns in a chunk to be used for the result table. Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ae04a0158344aa9196caadbf1b3d7836c">COMPRESSION\_CODEC</a>: The default <a href="/content/concepts/column_compression/" target="_top">compression codec</a> for the result table's columns. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a34710d37450e468e89f08eeefa88d761">LIMIT</a>: The number of records to keep. The default value is ''. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a29d5135f8be439544e2c3b206c9b07a8">TTL</a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a0316b14f0ef9f8d25b7b9657f77b4a50">VIEW\_ID</a>: View this result table is part of. The default value is ''. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a02c8fec7cd13caddec79b5e40a89026f">CREATE\_INDEXES</a>: Comma-separated list of columns on which to create indexes on the table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. The columns specified must be present in output column names. If any alias is given for any column name, the alias must be used, rather than the original column name. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#aec21cce3bfb19a2f53fbff7e1c681430">RESULT\_TABLE\_FORCE\_REPLICATED</a>: Force the result table to be replicated (ignores any sharding). Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>.
                  </li>
                </ul>

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

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L7767">7767</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="aa1ba0d51e65995fa66a8bbbf1e0d0718" />

  <h2 className="memtitle"><span className="permalink"><a href="#aa1ba0d51e65995fa66a8bbbf1e0d0718">◆ </a></span>AggregateUnpivotAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1AggregateUnpivotResponse">AggregateUnpivotResponse</a> > kinetica.Kinetica.AggregateUnpivotAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1AggregateUnpivotRequest">AggregateUnpivotRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>Rotate the column values into rows values. </p>
      <p>(async) </p>
      <p>For unpivot details and examples, see <a href="/content/concepts/unpivot/" target="_top">Unpivot</a>. For limitations, see <a href="/content/concepts/unpivot/#limitations" target="_top">Unpivot Limitations</a>.</p>
      <p>Unpivot is used to normalize tables that are built for cross tabular reporting purposes. The unpivot operator rotates the column values for all the pivoted columns. A variable column, value column and all columns from the source table except the unpivot columns are projected into the result table. The variable column and value columns in the result table indicate the pivoted column name and values respectively.</p>
      <p>The response is returned as a dynamic schema. For details see: <a href="/content/api/concepts/#dynamic-schemas" target="_top">dynamic schemas documentation</a>.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L7507">7507</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a5a99fa3f5cfbb56bcd255e5e2e83729b" />

  <h2 className="memtitle"><span className="permalink"><a href="#a5a99fa3f5cfbb56bcd255e5e2e83729b">◆ </a></span>AggregateUnpivotAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1AggregateUnpivotResponse">AggregateUnpivotResponse</a> > kinetica.Kinetica.AggregateUnpivotAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IList\< string ></td>
                <td className="paramname"><span className="paramname"><span className="em">column\_names</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">variable\_column\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">value\_column\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IList\< string ></td>
                <td className="paramname"><span className="paramname"><span className="em">pivoted\_columns</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>Rotate the column values into rows values. </p>
      <p>(async) </p>
      <p>For unpivot details and examples, see <a href="/content/concepts/unpivot/" target="_top">Unpivot</a>. For limitations, see <a href="/content/concepts/unpivot/#limitations" target="_top">Unpivot Limitations</a>.</p>
      <p>Unpivot is used to normalize tables that are built for cross tabular reporting purposes. The unpivot operator rotates the column values for all the pivoted columns. A variable column, value column and all columns from the source table except the unpivot columns are projected into the result table. The variable column and value columns in the result table indicate the pivoted column name and values respectively.</p>
      <p>The response is returned as a dynamic schema. For details see: <a href="/content/api/concepts/#dynamic-schemas" target="_top">dynamic schemas documentation</a>.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table on which the operation will be performed. Must be an existing table/view, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</td>
            </tr>

            <tr>
              <td className="paramname">column\_names</td>
              <td>List of column names or expressions. A wildcard '\*' can be used to include all the non-pivoted columns from the source table.</td>
            </tr>

            <tr>
              <td className="paramname">variable\_column\_name</td>
              <td>Specifies the variable/parameter column name. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">value\_column\_name</td>
              <td>Specifies the value column name. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">pivoted\_columns</td>
              <td>List of one or more values typically the column names of the input table. All the columns in the source table must have the same data type.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ad018aea22cf9f0c4250ea955f7211304">CREATE\_TEMP\_TABLE</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a1ac2beece9c0e6e2c30f6ea85bdb9e40">RESULT\_TABLE\_PERSIST</a> is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotResponse_1_1Info#aa41e5296bd18ada57674f52bc2262902">QUALIFIED\_RESULT\_TABLE\_NAME</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a2e2ca16c5af9b58e618d1bc80b59aaf5">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema as part of <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> and use <a className="el" href="#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema which is to contain the table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. If the schema is non-existent, it will be automatically created. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>: The name of a table used to store the results, 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 present, no results are returned in the response. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a1ac2beece9c0e6e2c30f6ea85bdb9e40">RESULT\_TABLE\_PERSIST</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a>, then the result table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> will be persisted and will not expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a29d5135f8be439544e2c3b206c9b07a8">TTL</a> is specified. If <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>, then the result table will be an in-memory table and will expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a29d5135f8be439544e2c3b206c9b07a8">TTL</a> is specified otherwise. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ac3b97e829dcee0a437fcdbfcf1e8b3b5">EXPRESSION</a>: Filter expression to apply to the table prior to unpivot processing. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ae9eb691425b507a5a56e8a4dae0b9920">ORDER\_BY</a>: Comma-separated list of the columns to be sorted by; e.g. 'timestamp asc, x desc'. The columns specified must be present in input table. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a0017d0444307669a0765c4eb049b8ab1">CHUNK\_SIZE</a>: Indicates the number of records per chunk to be used for the result table. Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a5131224b58b5f3ad0bf99707d3631963">CHUNK\_COLUMN\_MAX\_MEMORY</a>: Indicates the target maximum data size for each column in a chunk to be used for the result table. Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a2a55f2bdf87334c2435860ed79756e5e">CHUNK\_MAX\_MEMORY</a>: Indicates the target maximum data size for all columns in a chunk to be used for the result table. Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ae04a0158344aa9196caadbf1b3d7836c">COMPRESSION\_CODEC</a>: The default <a href="/content/concepts/column_compression/" target="_top">compression codec</a> for the result table's columns. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a34710d37450e468e89f08eeefa88d761">LIMIT</a>: The number of records to keep. The default value is ''. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a29d5135f8be439544e2c3b206c9b07a8">TTL</a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a0316b14f0ef9f8d25b7b9657f77b4a50">VIEW\_ID</a>: View this result table is part of. The default value is ''. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a02c8fec7cd13caddec79b5e40a89026f">CREATE\_INDEXES</a>: Comma-separated list of columns on which to create indexes on the table specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a>. The columns specified must be present in output column names. If any alias is given for any column name, the alias must be used, rather than the original column name. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#aec21cce3bfb19a2f53fbff7e1c681430">RESULT\_TABLE\_FORCE\_REPLICATED</a>: Force the result table to be replicated (ignores any sharding). Must be used in combination with the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a3ffbabfa170a06711fdf6969ef18594a">RESULT\_TABLE</a> option. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#ab8b9bf0fec48ef90d5c757a56f587b0d">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AggregateUnpivotRequest_1_1Options#a8d71c5c9631ca202203a7058bf5e28aa">FALSE</a>.
                  </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L8028">8028</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
