Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-6994] Allow to fetch field values by name in sql.Row #5573

Closed
wants to merge 2 commits into from

Commits on Apr 19, 2015

  1. [SPARK-6994][SQL] Add fieldIndex to schema (StructType)

    vidmantas zemleris committed Apr 19, 2015
    Configuration menu
    Copy the full SHA
    9564ebb View commit details
    Browse the repository at this point in the history
  2. [SPARK-6994][SQL] Allow to fetch field values by name on Row

    - add fieldIndex(name: String)
    - add getAs[T](fieldName: String)
    - add getValuesMap[T] returning a map of values for the requested fieldNames
    vidmantas zemleris committed Apr 19, 2015
    Configuration menu
    Copy the full SHA
    6145ae3 View commit details
    Browse the repository at this point in the history