Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • SQL
    • None

    Description

      Currently pivot's signature looks like

      @scala.annotation.varargs
      def pivot(pivotColumn: Column, values: Column*): GroupedData
      
      @scala.annotation.varargs
      def pivot(pivotColumn: String, values: Any*): GroupedData
      

      I think we can remove the one that takes "Column" types, since callers should always be passing in literals. It'd also be more clear if the values are not varargs, but rather Seq or java.util.List.

      Attachments

        Activity

          People

            rxin Reynold Xin
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: