Skip to content

Instantly share code, notes, and snippets.

@BigAN
Last active May 31, 2016 11:50
Show Gist options
  • Save BigAN/c199cb971918f36b962bfd89626dd390 to your computer and use it in GitHub Desktop.
Save BigAN/c199cb971918f36b962bfd89626dd390 to your computer and use it in GitHub Desktop.
spark rdd 转为dataframe 转为 temptable
sqlContext.createDataFrame(rs,["white_value"]).registerTempTable("stray_user_white_list_af_expand")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment