随笔分类 -  Hive1.4

摘要:根据mapjoin的计算原理,MAPJION会把小表全部读入内存中,在map阶段直接拿另外一个表的数据和内存中表数据做匹配。这种情况下即使笛卡尔积也不会对任务运行速度造成太大的效率影响。mapjoin的应用场景如下:1.有一个极小的表= a.min_dt) f left outer join h... 阅读全文
posted @ 2015-01-26 17:25 JackyKen 阅读(1869) 评论(0) 推荐(1) 编辑
摘要:Status of Hive Authorization before Hive 0.13SQL Standards Based HiveAuthorization (New in Hive 0.13)Restrictions on HiveCommands and StatementsPrivil... 阅读全文
posted @ 2015-01-26 13:01 JackyKen 阅读(673) 评论(0) 推荐(0) 编辑
摘要:Hive Concurrency ModelHive Concurrency ModelUse CasesTurn Off ConcurrencyDebuggingConfigurationLocking in Hive TransactionsUse CasesConcurrency suppor... 阅读全文
posted @ 2015-01-26 12:55 JackyKen 阅读(468) 评论(0) 推荐(0) 编辑
摘要:EXPLAIN SyntaxEXPLAIN SyntaxHive provides anEXPLAINcommand that shows the execution plan for a query. The syntax for this statement is as follows:EXPL... 阅读全文
posted @ 2015-01-26 12:49 JackyKen 阅读(426) 评论(0) 推荐(0) 编辑
摘要:LanguageManual WindowingAndAnalyticsSkip to end of metadataAdded byLefty Leverenz, last edited byLefty Leverenzon Aug 01, 2014(view change)show commen... 阅读全文
posted @ 2015-01-26 12:18 JackyKen 阅读(507) 评论(0) 推荐(0) 编辑
摘要:Virtual ColumnsSimple ExamplesVirtual ColumnsHive 0.8.0 provides support for two virtual columns:One isINPUT__FILE__NAME, which is the input file's na... 阅读全文
posted @ 2015-01-26 12:13 JackyKen 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Sampling SyntaxSampling Bucketized TableBlock SamplingSampling Syntax 抽样语法Sampling Bucketized Tabletable_sample: TABLESAMPLE (BUCKET x OUT OF y [ON co... 阅读全文
posted @ 2015-01-26 12:11 JackyKen 阅读(317) 评论(0) 推荐(0) 编辑
摘要:Subqueries in the FROM ClauseSubqueries in the WHERE ClauseSubqueries in the FROM ClauseSELECT...FROM(subquery)name...SELECT...FROM(subquery)ASname...... 阅读全文
posted @ 2015-01-26 11:42 JackyKen 阅读(591) 评论(0) 推荐(0) 编辑
摘要:Lateral View SyntaxDescriptionExampleMultiple Lateral ViewsOuter Lateral ViewsLateral View SyntaxlateralView: LATERAL VIEW udtf(expression) tableAlias... 阅读全文
posted @ 2015-01-26 11:38 JackyKen 阅读(269) 评论(0) 推荐(0) 编辑
摘要:Union Syntaxselect_statement UNION ALL select_statement UNION ALL select_statement ...UNION is used to combine the result from multiple SELECT stateme... 阅读全文
posted @ 2015-01-26 11:31 JackyKen 阅读(175) 评论(0) 推荐(0) 编辑
摘要:Join OptimizationJoin OptimizationImprovements to the Hive OptimizerStar Join OptimizationStar Schema ExamplePrior Support for MAPJOINLimitations of P... 阅读全文
posted @ 2015-01-26 11:28 JackyKen 阅读(289) 评论(0) 推荐(0) 编辑
摘要:Hive JoinsHive JoinsJoin SyntaxExamplesMapJoin RestrictionsJoin OptimizationPredicate Pushdown in Outer JoinsEnhancements in Hive Version 0.11Join Syn... 阅读全文
posted @ 2015-01-26 11:01 JackyKen 阅读(375) 评论(0) 推荐(0) 编辑
摘要:Documentation for Built-In User-Defined Functions Related To XPathUDFsxpath, xpath_short, xpath_int, xpath_long, xpath_float, xpath_double, xpath_numb... 阅读全文
posted @ 2015-01-26 10:43 JackyKen 阅读(563) 评论(0) 推荐(0) 编辑
摘要:Hive Operators and User-Defined Functions (UDFs)Hive Operators and User-Defined Functions (UDFs)Built-in OperatorsRelational OperatorsArithmetic Opera... 阅读全文
posted @ 2015-01-26 10:37 JackyKen 阅读(602) 评论(0) 推荐(0) 编辑
摘要:Transform/Map-Reduce SyntaxSQL Standard Based Authorization Disallows TRANSFORMTRANSFORM ExamplesSchema-less Map-reduce ScriptsTyping the output of TR... 阅读全文
posted @ 2015-01-26 10:22 JackyKen 阅读(499) 评论(0) 推荐(0) 编辑
摘要:Syntax of Order BySyntax of Sort ByDifference between Sort By and Order BySetting Types for Sort BySyntax of Cluster By and Distribute BySyntax of Ord... 阅读全文
posted @ 2015-01-26 10:17 JackyKen 阅读(233) 评论(0) 推荐(0) 编辑
摘要:Group By SyntaxSimple ExamplesSelect statement and group by clauseAdvanced FeaturesMulti-Group-By InsertsMap-side Aggregation for Group ByGrouping Set... 阅读全文
posted @ 2015-01-25 19:56 JackyKen 阅读(319) 评论(0) 推荐(0) 编辑
摘要:Select SyntaxWHERE ClauseALL and DISTINCT ClausesPartition Based QueriesHAVING ClauseLIMIT ClauseREGEX Column SpecificationMore Select SyntaxGROUP BYS... 阅读全文
posted @ 2015-01-25 19:49 JackyKen 阅读(418) 评论(0) 推荐(0) 编辑
摘要:LanguageManual ImportExportSkip to end of metadataAdded byCarl Steinbach, last edited byLefty Leverenzon May 14, 2013(view change)show commentGo to st... 阅读全文
posted @ 2015-01-25 14:54 JackyKen 阅读(369) 评论(0) 推荐(0) 编辑
摘要:LanguageManual DMLHive Data Manipulation LanguageHive Data Manipulation LanguageLoading files into tablesSyntaxSynopsisNotesInserting data into Hive T... 阅读全文
posted @ 2015-01-25 12:41 JackyKen 阅读(1251) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示