SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
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.
Đang tạo bản xem trước...
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
… Tải file gốc để đọc toàn bộ tài liệu.
- Tên tài liệu
- SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Nội dung
- 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.
- Mục lục
- 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
- Doc.pages
- 3 trang
- Người đăng
- Giang Le
Câu hỏi thường gặp
Tài liệu này có miễn phí không?
Có. “SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 3 trang. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!