Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache spark 插入覆盖vs删除HDFS分区并在spark中写入拼花文件_Apache Spark_Hive_Partitioning - Fatal编程技术网

Apache spark 插入覆盖vs删除HDFS分区并在spark中写入拼花文件

Apache spark 插入覆盖vs删除HDFS分区并在spark中写入拼花文件,apache-spark,hive,partitioning,Apache Spark,Hive,Partitioning,拼花地板在使用过程中是否存在重大性能问题 hiveContext.sql("INSERT OVERWRITE TABLE table_name PARTITION(dt='2016-06-08', country) , select x,y,z,country from DFTmpTable"); VS DeleteHDFSfile(/table/dt='2016-06-08') DF.write().mode("append").partitionBy("dt","country").pa

拼花地板在使用过程中是否存在重大性能问题

hiveContext.sql("INSERT OVERWRITE TABLE table_name PARTITION(dt='2016-06-08', country) , select x,y,z,country from DFTmpTable");

VS

DeleteHDFSfile(/table/dt='2016-06-08')
DF.write().mode("append").partitionBy("dt","country").parquet("/table/dt='2016-06-08'")