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

CK CK 3422 
Created at  
1,908 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,902
  2. HDFS(Hadoop Distributed File System) is designed to run on commodity hardware – Low cost hardware
    1,906
  3. Hadoop MapReduce is a software framework for processing vast amounts of data in-parallel on large clusters
    2,064
  4. Apache Hadoop is designed to scale up from single servers to thousands of machines
    1,868
  5. Web Cache function in Network Gateway could cause internet service trouble
    1,680
  6. Samsung Movies and TV Shows User Interface
    2,004
  7. FNC Batch Renames Digital Photos by Date
    1,904
  8. The Making of OpenAI: Birth, Battles, and Breakthroughs
    918
  1. Discovering OpenBugBounty: A Free Tool for Website Security Insights
    2,130
  2. Microsoft and Qualcomm Collaborate to Bring On-Device AI to Windows Devices
    2,239
  3. Flash Memory has lifetime, so you have to consider backup just in case
    4,011
  4. The way can see the picture on the received email in outlook
    3,457
  5. If you want to copy clipboard image on livewriter as local image, use Clipboard Capture or Clipboard Live – Live Writer Plug-in
    1,825
  6. With AWS cloud,we met our reliability and performance objectives at a fraction of the cost – Mr. Chun Kang – Pricipal Engineer, Samsung
    2,324
  7. How to add groups to active resistered user in phpBB ?
    3,907
  8. The simplest and most reliable application or method for editing digital photo EXIF data
    1,822
  9. Enhancing Online Privacy - Special Tools for Hiding Your IP Address
    2,172
  10. Anonymous Proxy Servers for hiding IP address
    2,087
  11. Online Gaming IP Ban Proxy Servers Internet Security Digital Identity
    2,175
  12. Simple Steps to Mask Your IP Address on Home Networks
    4,426
  13. Hiding Your IP Address Made Easy: Using HTTP Proxy Servers
    2,578
  14. Changing Your IP Address: Easy Methods for Privacy Protection
    2,561
Recently updated
  1. Guide to Updating Company Legal Name on D-U-N-S Profile (AAA to BBB)
    277
  2. Health Insurance Options and Monthly Costs for a Family of Four in the US (Without Employer Coverage)
    716
  3. Essential US Business Setup: Automated Payroll, Benefits, Tax Services, and Monthly Costs
    170
  4. YouTube Language Usage in India: Comprehensive Statistics and Data Breakdown
    898
  5. India's Linguistic Landscape: Top Languages, Regional Distribution, and English Usage
    947
  6. Decoding Global TikTok Revenue: Monetization Trends, Market Tiers, and Social Commerce Growth
    1,108
  7. Countries Where Fortune-Telling and Amulets Are Strictly Illegal
    168
  8. Global YouTube Usage Analysis: Top 100 Countries by User Population
    822
  9. Meta Unveils Muse Charm: The Keychain AI Assistant That Could Replace Your Smartwatch
    1,195
  10. Why iCloud Passwords is useful?
    909
  11. Good Company to Work For, but Pretty Pathetic once you Look Inside
    1,931
  12. Pre-Departure Google Workspace Personal Data Cleanup
    3,300
  13. The Harmful Effects of Squeezing Blemishes: Why You Should Avoid It
    1,927
  14. Finding Your Path to Clear Skin: The Best Way to Treat Acne
    2,174
  15. Choosing the Right Cosmetics and Cleansers for Acne-Prone Skin
    2,303
  16. Why Does Vietnamese Cable TV Have Almost No Ads? A Look at the Rules
    3,292
  17. In 2026, Advertising Is Converging on the TV Screen - 5 Opportunities OTT Operators Should Be Watching
    4,332
  18. Musk's Masterclass: Prioritizing, Delegating & Verifying
    823
  19. Life is Short: HubSpot Founder's Cliff-Edge Wisdom for Leaders
    3,601
  20. Brazil's Digital & Demographic Deep Dive: Economy & Top Streaming Services
    1,490
  21. World Population Top 30 (2016-2025)
    1,108
  22. SouthEast Asia Advertising Market - Comprehensive Analysis by Country, Company, Platform & Revenue
    1,902
  23. Comprehensive Report on Portugal: Demographics, Digital Usage, and Top Streaming Companies
    961
  24. Mongolia Unpacked: Demographics, Digital Economy, and Leading Streaming Services
    1,652
  25. Italy: A Comprehensive Guide to Demographics, Digital Trends, and Its Top 10 Video Streaming Companies
    963
  26. Spain: Demographics, Digital Usage, Economic Insights & Top 10 Streaming Services
    1,404
  27. France's Digital Economy: Demographics, Trends, and Streaming Leaders
    944
  28. Germany's Digital Deep Dive: Demographics, Internet Usage, Market Trends, and Top 10 Video Streaming Powerhouses
    979
  29. United Kingdom: Demographics, Digital Life, and Streaming's Top 10 Players
    883
  30. Russia's Digital Blueprint: Economy, Demographics, and Streaming Landscape
    1,105
  31. Singapore's Top 10 Video Streaming Companies
    1,047
  32. Canada's Digital Pulse: Demographics, Connectivity & Top 10 Streaming Services Unveiled
    953
  33. Korea's Streaming Story: Top 10 Platforms in a Digital Nation
    2,028
  34. Malaysia's Top 10 Video Streaming Companies 2026
    1,474
  35. Indonesia's Top 10 Video Streaming Companies
    1,543
  36. Japan's Top 10 Video Streaming Companies
    1,043
  37. United States's Top 10 Video Streaming Companies
    981
  38. The Evolving Role of Engineering Organizations in the AI Era
    3,245
  39. exif_filename - a Powerful Command-Line Tool Designed for Automatically Renaming Image Files based on EXIF metadata
    756
  40. The Correlation between Income Level and Television Viewing Time
    2,176
  41. Problem-Solving Narratives in Startup Programs
    787
  42. Vietnamese Top 10 Video Streaming Companies 2026
    1,982
  43. Thailand's Top 10 Video Streaming Companies 2026
    1,886
  44. Phillippine's Top 10 Video Streaming Companies 2026
    1,511
  45. Business Structure Comparison: Sole Proprietorship vs S-Corporation
    8311
  46. Affordable Payroll Solutions for Family-Based Businesses in the US
    820
  47. Vietnam Television (aka VTV)
    1,206
  48. Do we know what causes endometrial cancer?
    1,758