Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

CK CK 3398 
Created at  
1,851 0 0

Hive defines a simple SQL-like query language, called QL, that enables users familiar with SQL to query the data. At the same time, this language also allows programmers who are familiar with the MapReduce framework to be able to plug in their custom mappers and reducers to perform more sophisticated analysis that may not be supported by the built-in capabilities of the language. QL can also be extended with custom scalar functions (UDF's), aggregations (UDAF's), and table functions (UDTF's).

Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

Hive Query Language provides following features

Basic SQL

  • From clause subquery
  • ANSI JOIN (euqi-joini only)
  • Multi-table Insert
  • Multi group-by
  • Sampling
  • Objects traversal

Extensibility

  • Pluggable MapReduce scripts in the language of your choice using TRANSFORM (Syntax changing soon!!)
  • Pluggable User Defined Functions
  • Pluggable User Defined Types
  • Pluggable SerDes to read different konds of Data Formats

 

See below example of Hive query language. Amaging thing is Hiveis compatible with standard SQL.

SELECT pageid, COUNT(DISTINCT userid)
FROM page_view GROUP BY pageid

It is almost the same as the usual RDB SQL. This is really great feature of Hive so programmers having experiences in RDB can implement software easily.

Hive does not mandate read or written data be in the "Hive format"---there is no such thing. Hive works equally well on Thrift, control delimited, or your specialized data formats. Please see File Format and SerDe in the Developer Guide for details.

Hive is not designed for OLTP workloads and does not offer real-time queries or row-level updates. It is best used for batch jobs over large sets of append-only data (like web logs). What Hive values most are scalability (scale out with more machines added dynamically to the Hadoop cluster), extensibility (with MapReduce framework and UDF/UDAF/UDTF), fault-tolerance, and loose-coupling with its input formats.

Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

Following is Data Model for Hive.

Hive provides SQL-like query language on HDFS(Hadoop Distributed File System)

References

https://cwiki.apache.org/confluence/display/Hive/Home

Hive ApacheCon 2008, New Oreleans, LA (Ashish Thusoo, Facebook)

Tags AWS Amazon Blob Chun Computers & Internet HBase Hadoop Mascot Java NoSQL TRANSFORM TaskTracker UDAF UDF UDTF Facebook X
Comments 0
Similar posts
  1. Apache HBase is a storage system, with roots in Hadoop, and uses HDFS for underlying storage.
    1,838
  2. HDFS(Hadoop Distributed File System) is designed to run on commodity hardware – Low cost hardware
    1,847
  3. Hadoop MapReduce is a software framework for processing vast amounts of data in-parallel on large clusters
    2,007
  4. Apache Hadoop is designed to scale up from single servers to thousands of machines
    1,804
  5. Web Cache function in Network Gateway could cause internet service trouble
    1,625
  6. Samsung Movies and TV Shows User Interface
    1,944
  7. FNC Batch Renames Digital Photos by Date
    1,817
  8. The Making of OpenAI: Birth, Battles, and Breakthroughs
    813
  1. Discovering OpenBugBounty: A Free Tool for Website Security Insights
    1,397
  2. Microsoft and Qualcomm Collaborate to Bring On-Device AI to Windows Devices
    2,173
  3. Flash Memory has lifetime, so you have to consider backup just in case
    3,675
  4. The way can see the picture on the received email in outlook
    3,111
  5. If you want to copy clipboard image on livewriter as local image, use Clipboard Capture or Clipboard Live – Live Writer Plug-in
    1,789
  6. With AWS cloud,we met our reliability and performance objectives at a fraction of the cost – Mr. Chun Kang – Pricipal Engineer, Samsung
    2,226
  7. How to add groups to active resistered user in phpBB ?
    3,564
  8. The simplest and most reliable application or method for editing digital photo EXIF data
    1,771
  9. Enhancing Online Privacy - Special Tools for Hiding Your IP Address
    2,095
  10. Anonymous Proxy Servers for hiding IP address
    2,009
  11. Online Gaming IP Ban Proxy Servers Internet Security Digital Identity
    2,109
  12. Simple Steps to Mask Your IP Address on Home Networks
    4,099
  13. Hiding Your IP Address Made Easy: Using HTTP Proxy Servers
    2,466
  14. Changing Your IP Address: Easy Methods for Privacy Protection
    2,426
Recently updated
  1. YouTube Language Usage in India: Comprehensive Statistics and Data Breakdown
    88
  2. India's Linguistic Landscape: Top Languages, Regional Distribution, and English Usage
    89
  3. Decoding Global TikTok Revenue: Monetization Trends, Market Tiers, and Social Commerce Growth
    125
  4. Countries Where Fortune-Telling and Amulets Are Strictly Illegal
    33
  5. Global YouTube Usage Analysis: Top 100 Countries by User Population
    171
  6. Meta Unveils Muse Charm: The Keychain AI Assistant That Could Replace Your Smartwatch
    368
  7. Why iCloud Passwords is useful?
    283
  8. Good Company to Work For, but Pretty Pathetic once you Look Inside
    1,146
  9. Pre-Departure Google Workspace Personal Data Cleanup
    2,527
  10. The Harmful Effects of Squeezing Blemishes: Why You Should Avoid It
    1,799
  11. Finding Your Path to Clear Skin: The Best Way to Treat Acne
    2,048
  12. Choosing the Right Cosmetics and Cleansers for Acne-Prone Skin
    2,173
  13. Why Does Vietnamese Cable TV Have Almost No Ads? A Look at the Rules
    2,412
  14. In 2026, Advertising Is Converging on the TV Screen - 5 Opportunities OTT Operators Should Be Watching
    3,291
  15. Musk's Masterclass: Prioritizing, Delegating & Verifying
    690
  16. Life is Short: HubSpot Founder's Cliff-Edge Wisdom for Leaders
    3,020
  17. Brazil's Digital & Demographic Deep Dive: Economy & Top Streaming Services
    1,219
  18. World Population Top 30 (2016-2025)
    944
  19. SouthEast Asia Advertising Market - Comprehensive Analysis by Country, Company, Platform & Revenue
    1,488
  20. Comprehensive Report on Portugal: Demographics, Digital Usage, and Top Streaming Companies
    829
  21. Mongolia Unpacked: Demographics, Digital Economy, and Leading Streaming Services
    1,363
  22. Italy: A Comprehensive Guide to Demographics, Digital Trends, and Its Top 10 Video Streaming Companies
    826
  23. Spain: Demographics, Digital Usage, Economic Insights & Top 10 Streaming Services
    1,231
  24. France's Digital Economy: Demographics, Trends, and Streaming Leaders
    751
  25. Germany's Digital Deep Dive: Demographics, Internet Usage, Market Trends, and Top 10 Video Streaming Powerhouses
    785
  26. United Kingdom: Demographics, Digital Life, and Streaming's Top 10 Players
    725
  27. Russia's Digital Blueprint: Economy, Demographics, and Streaming Landscape
    912
  28. Singapore's Top 10 Video Streaming Companies
    819
  29. Canada's Digital Pulse: Demographics, Connectivity & Top 10 Streaming Services Unveiled
    758
  30. Korea's Streaming Story: Top 10 Platforms in a Digital Nation
    1,711
  31. Malaysia's Top 10 Video Streaming Companies 2026
    1,245
  32. Indonesia's Top 10 Video Streaming Companies
    1,262
  33. Japan's Top 10 Video Streaming Companies
    841
  34. United States's Top 10 Video Streaming Companies
    729
  35. The Evolving Role of Engineering Organizations in the AI Era
    2,702
  36. exif_filename - a Powerful Command-Line Tool Designed for Automatically Renaming Image Files based on EXIF metadata
    665
  37. The Correlation between Income Level and Television Viewing Time
    1,881
  38. Problem-Solving Narratives in Startup Programs
    683
  39. Vietnamese Top 10 Video Streaming Companies 2026
    1,680
  40. Thailand's Top 10 Video Streaming Companies 2026
    1,598
  41. Phillippine's Top 10 Video Streaming Companies 2026
    1,293
  42. Business Structure Comparison: Sole Proprietorship vs S-Corporation
    7321
  43. Affordable Payroll Solutions for Family-Based Businesses in the US
    723
  44. Vietnam Television (aka VTV)
    956
  45. Do we know what causes endometrial cancer?
    1,680
  46. What should you ask your physician about endometrial cancer?
    2,084
  47. How is cancer of the cervix treated?
    2,121
  48. Navigating Startup Funding Rounds: Expectations and Investment Sizes
    2,297