code: @SuppressWarnings("RedundantCast")
      public String[] selectedColumnNames() {
          ClassTag<String> classTag = getClassTag(String.class);
          return (String[]) rdd().selectedColumnNames().toArray(classTag);
      }
docs: Returns the names of columns to be selected from the table.