SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Pages
- 3
- Format
- Size
- 312 KB
- Views
- 0
- Comments
- 0
- Lượt tải
- 0
Generating preview...
Tài liệu cheat sheet so sánh cú pháp SQL và HiveQL cho người dùng Hadoop, bao gồm các câu lệnh truy vấn, metadata, và dòng lệnh cơ bản.
- Document name
- SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Content
- Tài liệu này so sánh cú pháp SQL (MySQL) với HiveQL, giúp người dùng SQL dễ dàng tiếp cận Hive. Nó bao gồm các lệnh truy vấn, quản lý database/table và thông tin về khả năng tương thích SQL của Hive.
- Table of contents
- Cheat Sheet
- Hive for SQL Users
- Additional Resources
- Query
- Function
- MySQL
- HiveQL
- Metadata
- Current SQL Compatibility
- Hive SQL Datatypes
- Hive SQL Semantics
- Color Key
- Command Line
- Function
- Hive
- Pages
- 3 pages
- Uploaded by
- Uni24h
Description
Trích nội dung tài liệu
We Do Hadoop Contents Cheat Sheet Hive for SQL Users 1 2 3 Additional Resources Query, Metadata Current SQL Compatibility, Command Line, Hive Shell If you’re already a SQL user then working with Hadoop may be a little easier than you think, thanks to Apache Hive. Apache Hive is data warehouse infrastructure built on top of Apache™ Hadoop® for providing data summarization, ad hoc query, and analysis of large datasets. It provides a mechanism to project structure onto the data in Hadoop and to query that data using a SQL-like language called HiveQL (HQL). Use this handy cheat sheet (based on this original MySQL cheat sheet) to get going with Hive and Hadoop. Additional Resources Learn to become fluent in Apache Hive with the Hive Language Manual: https://cwiki.apache.org/confluence/display/Hive/LanguageManual Get in the Hortonworks Sandbox and try out Hadoop with interactive tutorials: http://hortonworks.com/sandbox Register today for Apache Hadoop Training and Certification at Hortonworks University: http://hortonworks.com/training Twitter: twitter.com/hortonworks Facebook: facebook.com/hortonworks International: 1.408.916.4121 www.hortonworks.com We Do Hadoop Query Function MySQL HiveQL Retrieving information SELECT from_columns FROM table WHERE conditions; SELECT from_columns FROM table WHERE conditions; All values SELECT * FROM table; SELECT * FROM table; Some values SELECT * FROM table WHERE rec_name = “value”; SELECT * FROM table WHERE rec_name = "value"; Multiple criteria SELECT * FROM table WHERE rec1=”value1” AND rec2=”value2”; SELECT * FROM TABLE WHERE rec1 = "value1" AND rec2 = "value2"; Selecting specific columns SELECT column_name FROM table; SELECT column_name FROM table; Retrieving unique output records SELECT DISTINCT column_name FROM table; SELECT DISTINCT column_name FROM table; Sorting SELECT col1, col2 FROM table ORDER BY col2; SELECT col1, col2 FROM table ORDER BY col2; Sorting backward SELECT col1, col2 FROM
Frequently asked questions
Is this document free?
Yes. “SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 3 pages. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
Generating preview...
Trích nội dung tài liệu
We Do Hadoop Contents Cheat Sheet Hive for SQL Users 1 2 3 Additional Resources Query, Metadata Current SQL Compatibility, Command Line, Hive Shell If you’re already a SQL user then working with Hadoop may be a little easier than you think, thanks to Apache Hive. Apache Hive is data warehouse infrastructure built on top of Apache™ Hadoop® for providing data summarization, ad hoc query, and analysis of large datasets. It provides a mechanism to project structure onto the data in Hadoop and to query that data using a SQL-like language called HiveQL (HQL). Use this handy cheat sheet (based on this original MySQL cheat sheet) to get going with Hive and Hadoop. Additional Resources Learn to become fluent in Apache Hive with the Hive Language Manual: https://cwiki.apache.org/confluence/display/Hive/LanguageManual Get in the Hortonworks Sandbox and try out Hadoop with interactive tutorials: http://hortonworks.com/sandbox Register today for Apache Hadoop Training and Certification at Hortonworks University: http://hortonworks.com/training Twitter: twitter.com/hortonworks Facebook: facebook.com/hortonworks International: 1.408.916.4121 www.hortonworks.com We Do Hadoop Query Function MySQL HiveQL Retrieving information SELECT from_columns FROM table WHERE conditions; SELECT from_columns FROM table WHERE conditions; All values SELECT * FROM table; SELECT * FROM table; Some values SELECT * FROM table WHERE rec_name = “value”; SELECT * FROM table WHERE rec_name = "value"; Multiple criteria SELECT * FROM table WHERE rec1=”value1” AND rec2=”value2”; SELECT * FROM TABLE WHERE rec1 = "value1" AND rec2 = "value2"; Selecting specific columns SELECT column_name FROM table; SELECT column_name FROM table; Retrieving unique output records SELECT DISTINCT column_name FROM table; SELECT DISTINCT column_name FROM table; Sorting SELECT col1, col2 FROM table ORDER BY col2; SELECT col1, col2 FROM table ORDER BY col2; Sorting backward SELECT col1, col2 FROM
- Document name
- SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Content
- Tài liệu này so sánh cú pháp SQL (MySQL) với HiveQL, giúp người dùng SQL dễ dàng tiếp cận Hive. Nó bao gồm các lệnh truy vấn, quản lý database/table và thông tin về khả năng tương thích SQL của Hive.
- Table of contents
- Cheat Sheet
- Hive for SQL Users
- Additional Resources
- Query
- Function
- MySQL
- HiveQL
- Metadata
- Current SQL Compatibility
- Hive SQL Datatypes
- Hive SQL Semantics
- Color Key
- Command Line
- Function
- Hive
- Pages
- 3 pages
- Uploaded by
- Uni24h
Comments (0)
No comments yet. Be the first!
Ngân hàng đề thi môn: Hệ thống thông tin quản lý
Đề thi môn Cơ sở dữ liệu (kèm Đáp án) - Đại học Sư phạm kỹ thuật
Đề thi và đáp án môn Hệ thống thông tin kế toán
Đề thi và đáp án môn Cấu trúc dữ liệu giải thuật
Đáp án đề thi môn Mạng máy tính - ĐH Công nghệ thông tin (CNTT)

Comments (0)
No comments yet. Be the first!