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

CK CK 3446 
Created at  
1,940 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,939
  2. HDFS(Hadoop Distributed File System) is designed to run on commodity hardware – Low cost hardware
    1,952
  3. Hadoop MapReduce is a software framework for processing vast amounts of data in-parallel on large clusters
    2,098
  4. Apache Hadoop is designed to scale up from single servers to thousands of machines
    1,914
  5. Web Cache function in Network Gateway could cause internet service trouble
    1,712
  6. Samsung Movies and TV Shows User Interface
    2,042
  7. FNC Batch Renames Digital Photos by Date
    1,946
  8. The Making of OpenAI: Birth, Battles, and Breakthroughs
    1,019
  1. Discovering OpenBugBounty: A Free Tool for Website Security Insights
    2,710
  2. Microsoft and Qualcomm Collaborate to Bring On-Device AI to Windows Devices
    2,296
  3. Flash Memory has lifetime, so you have to consider backup just in case
    4,286
  4. The way can see the picture on the received email in outlook
    3,750
  5. If you want to copy clipboard image on livewriter as local image, use Clipboard Capture or Clipboard Live – Live Writer Plug-in
    1,854
  6. With AWS cloud,we met our reliability and performance objectives at a fraction of the cost – Mr. Chun Kang – Pricipal Engineer, Samsung
    2,374
  7. How to add groups to active resistered user in phpBB ?
    4,149
  8. The simplest and most reliable application or method for editing digital photo EXIF data
    1,863
  9. Enhancing Online Privacy - Special Tools for Hiding Your IP Address
    2,236
  10. Anonymous Proxy Servers for hiding IP address
    2,149
  11. Online Gaming IP Ban Proxy Servers Internet Security Digital Identity
    2,221
  12. Simple Steps to Mask Your IP Address on Home Networks
    4,678
  13. Hiding Your IP Address Made Easy: Using HTTP Proxy Servers
    2,635
  14. Changing Your IP Address: Easy Methods for Privacy Protection
    2,637
Recently updated
  1. Oral Wegovy & The Complete Guide to Oral Obesity Medications
    51
  2. Mounjaro Side Effects: Upper Abdominal & Back Pain?
    55
  3. Mounjaro (Tirzepatide) 2.5mg Week 2 Side Effects & 3rd Dose Decision Guide
    43
  4. What Is Really Happening with UnitedHealthcare? Clarifying UHC's Strategic Changes for 2026 and 2027
    85
  5. Navigating App Store Guideline 4.3(a): Key Pitfalls to Avoid and How It Differs from 4.3(b)
    128
  6. Apple App Store Review Guideline Update: Section 4.3(b) Spam Provision
    125
  7. US Tax Strategies for Digital Service Operators & AdSense Earners
    640
  8. Guide to Updating Company Legal Name on D-U-N-S Profile (AAA to BBB)
    511
  9. Health Insurance Options and Monthly Costs for a Family of Four in the US (Without Employer Coverage)
    1,304
  10. Essential US Business Setup: Automated Payroll, Benefits, Tax Services, and Monthly Costs
    261
  11. YouTube Language Usage in India: Comprehensive Statistics and Data Breakdown
    1,401
  12. India's Linguistic Landscape: Top Languages, Regional Distribution, and English Usage
    1,351
  13. Decoding Global TikTok Revenue: Monetization Trends, Market Tiers, and Social Commerce Growth
    1,596
  14. Countries Where Fortune-Telling and Amulets Are Strictly Illegal
    263
  15. Global YouTube Usage Analysis: Top 100 Countries by User Population
    1,151
  16. Meta Unveils Muse Charm: The Keychain AI Assistant That Could Replace Your Smartwatch
    1,624
  17. Why iCloud Passwords is useful?
    1,248
  18. Good Company to Work For, but Pretty Pathetic once you Look Inside
    2,471
  19. Pre-Departure Google Workspace Personal Data Cleanup
    3,920
  20. The Harmful Effects of Squeezing Blemishes: Why You Should Avoid It
    2,029
  21. Finding Your Path to Clear Skin: The Best Way to Treat Acne
    2,238
  22. Choosing the Right Cosmetics and Cleansers for Acne-Prone Skin
    2,374
  23. Why Does Vietnamese Cable TV Have Almost No Ads? A Look at the Rules
    3,931
  24. In 2026, Advertising Is Converging on the TV Screen - 5 Opportunities OTT Operators Should Be Watching
    5,110
  25. Musk's Masterclass: Prioritizing, Delegating & Verifying
    915
  26. Life is Short: HubSpot Founder's Cliff-Edge Wisdom for Leaders
    4,073
  27. Brazil's Digital & Demographic Deep Dive: Economy & Top Streaming Services
    1,644
  28. World Population Top 30 (2016-2025)
    1,263
  29. SouthEast Asia Advertising Market - Comprehensive Analysis by Country, Company, Platform & Revenue
    2,130
  30. Comprehensive Report on Portugal: Demographics, Digital Usage, and Top Streaming Companies
    1,066
  31. Mongolia Unpacked: Demographics, Digital Economy, and Leading Streaming Services
    1,863
  32. Italy: A Comprehensive Guide to Demographics, Digital Trends, and Its Top 10 Video Streaming Companies
    1,068
  33. Spain: Demographics, Digital Usage, Economic Insights & Top 10 Streaming Services
    1,512
  34. France's Digital Economy: Demographics, Trends, and Streaming Leaders
    1,090
  35. Germany's Digital Deep Dive: Demographics, Internet Usage, Market Trends, and Top 10 Video Streaming Powerhouses
    1,095
  36. United Kingdom: Demographics, Digital Life, and Streaming's Top 10 Players
    976
  37. Russia's Digital Blueprint: Economy, Demographics, and Streaming Landscape
    1,249
  38. Singapore's Top 10 Video Streaming Companies
    1,151
  39. Canada's Digital Pulse: Demographics, Connectivity & Top 10 Streaming Services Unveiled
    1,074
  40. Korea's Streaming Story: Top 10 Platforms in a Digital Nation
    2,185
  41. Malaysia's Top 10 Video Streaming Companies 2026
    1,643
  42. Indonesia's Top 10 Video Streaming Companies
    1,699
  43. Japan's Top 10 Video Streaming Companies
    1,167
  44. United States's Top 10 Video Streaming Companies
    1,108
  45. The Evolving Role of Engineering Organizations in the AI Era
    3,651
  46. exif_filename - a Powerful Command-Line Tool Designed for Automatically Renaming Image Files based on EXIF metadata
    846
  47. The Correlation between Income Level and Television Viewing Time
    2,407
  48. Problem-Solving Narratives in Startup Programs
    865