摘要:
SQL left join, right join http://stackoverflow.com/questions/5706437/whats-the-difference-between-inner-join-left-join-right-join-and-full-join An SQL 阅读全文
摘要:
SQL left join, right join http://stackoverflow.com/questions/5706437/whats-the-difference-between-inner-join-left-join-right-join-and-full-join An SQL 阅读全文
摘要:
1, get column: cat *.csv | cut -d , -f 2 > value 2, average cat value | awk '{sum+=$1} END {print "Average= ",sum/NR}' 阅读全文
摘要:
https://gist.github.com/bigaidream/40fe0f8267a80e7c9cf8 http://121.42.47.99/yuenshome/wordpress/?p=2607#more-2607 阅读全文
摘要:
# Set this to where Spark is installed Sys.setenv(SPARK_HOME="/Users/shivaram/spark") # This line loads SparkR from the installed directory .libPaths( 阅读全文
摘要:
https://spark.apache.org/docs/1.5.1/api/java/org/apache/spark/sql/DataFrame.html https://github.com/yu-iskw/spark-dataframe-introduction/blob/master/d 阅读全文
摘要:
在所有master和slave上也要在spark/conf/spark-conf.sh里面设置driver的classpath,解决编译找不到driver的问题 http://www.iteblog.com/archives/1300 类似这样: export SPARK_CLASSPATH=$SP 阅读全文
摘要:
code: import java.sql.{ResultSet, DriverManager} import com.mysql.jdbc.Connection object hoursAvg { val url = "jdbc:mysql://IP/dB" val user = "usernam 阅读全文
摘要:
They are different between local R and sparkR:sparkR 跑通的函数:http://blog.csdn.net/wa2003/article/details/46777237 sparkR doc:https://spark.apache.org/do... 阅读全文
摘要:
setwd("D:/Research/code/rcode") #notice the "/"list.files(getwd())heisenberg <- read.csv(file="simple.csv",head=TRUE,sep=",")colnames(datatemp)<-c("I... 阅读全文
摘要:
1, mysql -u database username -p2, database password3, use (database name) -> change database4,Mysql导出表结构及表数据 mysqldump用法 1) 导出數據库為dbname的表结构(其中用戶名為r... 阅读全文
|