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

CK CK 3398 
Created at  
1,869 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,856
  2. HDFS(Hadoop Distributed File System) is designed to run on commodity hardware – Low cost hardware
    1,863
  3. Hadoop MapReduce is a software framework for processing vast amounts of data in-parallel on large clusters
    2,021
  4. Apache Hadoop is designed to scale up from single servers to thousands of machines
    1,820
  5. Web Cache function in Network Gateway could cause internet service trouble
    1,643
  6. Samsung Movies and TV Shows User Interface
    1,962
  7. FNC Batch Renames Digital Photos by Date
    1,838
  8. The Making of OpenAI: Birth, Battles, and Breakthroughs
    833
  1. Discovering OpenBugBounty: A Free Tool for Website Security Insights
    1,624
  2. Microsoft and Qualcomm Collaborate to Bring On-Device AI to Windows Devices
    2,189
  3. Flash Memory has lifetime, so you have to consider backup just in case
    3,777
  4. The way can see the picture on the received email in outlook
    3,206
  5. If you want to copy clipboard image on livewriter as local image, use Clipboard Capture or Clipboard Live – Live Writer Plug-in
    1,799
  6. With AWS cloud,we met our reliability and performance objectives at a fraction of the cost – Mr. Chun Kang – Pricipal Engineer, Samsung
    2,252
  7. How to add groups to active resistered user in phpBB ?
    3,688
  8. The simplest and most reliable application or method for editing digital photo EXIF data
    1,785
  9. Enhancing Online Privacy - Special Tools for Hiding Your IP Address
    2,117
  10. Anonymous Proxy Servers for hiding IP address
    2,029
  11. Online Gaming IP Ban Proxy Servers Internet Security Digital Identity
    2,129
  12. Simple Steps to Mask Your IP Address on Home Networks
    4,189
  13. Hiding Your IP Address Made Easy: Using HTTP Proxy Servers
    2,495
  14. Changing Your IP Address: Easy Methods for Privacy Protection
    2,461
Recently updated
  1. YouTube Language Usage in India: Comprehensive Statistics and Data Breakdown
    380
  2. India's Linguistic Landscape: Top Languages, Regional Distribution, and English Usage
    425
  3. Decoding Global TikTok Revenue: Monetization Trends, Market Tiers, and Social Commerce Growth
    509
  4. Countries Where Fortune-Telling and Amulets Are Strictly Illegal
    82
  5. Global YouTube Usage Analysis: Top 100 Countries by User Population
    280
  6. Meta Unveils Muse Charm: The Keychain AI Assistant That Could Replace Your Smartwatch
    701
  7. Why iCloud Passwords is useful?
    535
  8. Good Company to Work For, but Pretty Pathetic once you Look Inside
    1,395
  9. Pre-Departure Google Workspace Personal Data Cleanup
    2,723
  10. The Harmful Effects of Squeezing Blemishes: Why You Should Avoid It
    1,826
  11. Finding Your Path to Clear Skin: The Best Way to Treat Acne
    2,081
  12. Choosing the Right Cosmetics and Cleansers for Acne-Prone Skin
    2,199
  13. Why Does Vietnamese Cable TV Have Almost No Ads? A Look at the Rules
    2,659
  14. In 2026, Advertising Is Converging on the TV Screen - 5 Opportunities OTT Operators Should Be Watching
    3,586
  15. Musk's Masterclass: Prioritizing, Delegating & Verifying
    729
  16. Life is Short: HubSpot Founder's Cliff-Edge Wisdom for Leaders
    3,177
  17. Brazil's Digital & Demographic Deep Dive: Economy & Top Streaming Services
    1,305
  18. World Population Top 30 (2016-2025)
    988
  19. SouthEast Asia Advertising Market - Comprehensive Analysis by Country, Company, Platform & Revenue
    1,582
  20. Comprehensive Report on Portugal: Demographics, Digital Usage, and Top Streaming Companies
    871
  21. Mongolia Unpacked: Demographics, Digital Economy, and Leading Streaming Services
    1,433
  22. Italy: A Comprehensive Guide to Demographics, Digital Trends, and Its Top 10 Video Streaming Companies
    865
  23. Spain: Demographics, Digital Usage, Economic Insights & Top 10 Streaming Services
    1,281
  24. France's Digital Economy: Demographics, Trends, and Streaming Leaders
    793
  25. Germany's Digital Deep Dive: Demographics, Internet Usage, Market Trends, and Top 10 Video Streaming Powerhouses
    832
  26. United Kingdom: Demographics, Digital Life, and Streaming's Top 10 Players
    764
  27. Russia's Digital Blueprint: Economy, Demographics, and Streaming Landscape
    964
  28. Singapore's Top 10 Video Streaming Companies
    861
  29. Canada's Digital Pulse: Demographics, Connectivity & Top 10 Streaming Services Unveiled
    805
  30. Korea's Streaming Story: Top 10 Platforms in a Digital Nation
    1,815
  31. Malaysia's Top 10 Video Streaming Companies 2026
    1,300
  32. Indonesia's Top 10 Video Streaming Companies
    1,363
  33. Japan's Top 10 Video Streaming Companies
    888
  34. United States's Top 10 Video Streaming Companies
    821
  35. The Evolving Role of Engineering Organizations in the AI Era
    2,849
  36. exif_filename - a Powerful Command-Line Tool Designed for Automatically Renaming Image Files based on EXIF metadata
    686
  37. The Correlation between Income Level and Television Viewing Time
    1,968
  38. Problem-Solving Narratives in Startup Programs
    705
  39. Vietnamese Top 10 Video Streaming Companies 2026
    1,746
  40. Thailand's Top 10 Video Streaming Companies 2026
    1,655
  41. Phillippine's Top 10 Video Streaming Companies 2026
    1,340
  42. Business Structure Comparison: Sole Proprietorship vs S-Corporation
    7521
  43. Affordable Payroll Solutions for Family-Based Businesses in the US
    745
  44. Vietnam Television (aka VTV)
    1,015
  45. Do we know what causes endometrial cancer?
    1,698
  46. What should you ask your physician about endometrial cancer?
    2,120
  47. How is cancer of the cervix treated?
    2,148
  48. Navigating Startup Funding Rounds: Expectations and Investment Sizes
    2,424