Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
sparklyr 中的 sdf_register 和 copy_to 命令有什么区别?
你什么时候使用每个命令?
sdf_register是一个 Spark 特定的函数,它SparkDataFrame在 Metastore 中注册它不涉及数据复制,用于 Spark 互操作。
sdf_register
SparkDataFrame
copy_to将本地数据复制到 Spark。如果与SparkDataFrame它一起使用,它将收集并放回 Spark。
copy_to