SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Pages
- 3
- Format
- Taille
- 312 KB
- Vues
- 0
- Commentaires
- 0
- Lượt tải
- 0
Génération de l'aperçu...
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.
- Nom du document
- SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Contenu
- 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 des matières
- 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
- Téléversé par
- 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
Foire aux questions
Ce document est-il gratuit ?
Oui. « SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL » est gratuit — il suffit de vous connecter et de cliquer sur Télécharger pour obtenir le fichier original.
Combien de pages compte ce document ?
Le document contient 3 pages. Vous pouvez le prévisualiser en ligne avant de le télécharger.
Puis-je prévisualiser avant de télécharger ?
Oui. Vous pouvez prévisualiser ce document directement sur cette page avec le lecteur en ligne, puis décider de le télécharger ou non.
SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
Génération de l'aperçu...
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
- Nom du document
- SQL to Hive Cheat Sheet - Bảng so sánh SQL và HiveQL
- Contenu
- 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 des matières
- 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
- Téléversé par
- Uni24h
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !
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)

Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !