Constructors

Accessors

Methods

expr_ops

  • Gives the column an alias. {{{ // Renames colA to colB in select output. df.select($"colA".as("colB")) }}}

    If the current column has metadata associated with it, this metadata will be propagated to the new column. If this not desired, use the API as(alias: String, metadata: Metadata) with explicit metadata.

    Parameters

    • alias: string

    Returns Column