taiwansparkusergroup
Spark 編程指南繁體中文版

Updated 2 years ago

Taurus (@taurusd) started discussion #9

3 years ago · 0 comments

Open

給樣本類的參數名字通過映射來讀取,然後作為列的名字。樣本類可以嵌套或者包含複雜的類型如序列或者數組。這個 RDD 可以隱式轉化為一個 SchemaRDD ,然後註冊為一個表。表可以在後續的 sql 語句中使用。

RDDs (Edit this file)

people.registerTempTable("people")

Should be people.toDF().registerTempTable("people")

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant