摘要: Hive Tables将HIVE_HOME/conf/hive-site.xml文件copy到SPARK_HOME/conf/下When not configured by the hive-site.xml, the context automatically createsmetastore_d... 阅读全文
posted @ 2015-05-19 17:33 stark_summer 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Beeline – 一个新的命令行ShellHiveServer2 supports a new command shell Beeline that works with HiveServer2. It's a JDBC client that is based on the SQLLine CL... 阅读全文
posted @ 2015-05-19 15:11 stark_summer 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: sqlContext总的一个过程如下图所示:SQL语句经过SqlParse解析成UnresolvedLogicalPlan;使用analyzer结合数据数据字典(catalog)进行绑定,生成resolvedLogicalPlan;使用optimizer对resolvedLogicalPlan进行优... 阅读全文
posted @ 2015-05-19 13:43 stark_summer 阅读(287) 评论(0) 推荐(0) 编辑