Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6994

Allow to fetch field values by name in sql.Row

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: SQL
    • Labels:

      Description

      It looked weird that up to now there was no way in Spark's Scala API to access fields of `DataFrame/sql.Row` by name, only by their index.

      This tries to solve this issue.

        Attachments

          Activity

            People

            • Assignee:
              vidma vidmantas zemleris
              Reporter:
              vidma vidmantas zemleris
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified