Inside Spark SQL
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已能写 Spark SQL / DataFrame 代码、想弄清内部执行机制的中高级开发者
- 需要排查 Spark SQL 作业性能问题、做执行计划调优的数据平台工程师
- 从事查询引擎或数据库内核研发,想借鉴 Catalyst 与 Tungsten 设计的技术人员
- 以 Spark 源码为研究对象的分布式计算方向研究生与研究人员
Not a good fit for
- 刚开始学大数据、还没有写过 Spark 作业的零基础读者
- 只想快速上手写 SQL、不关心内部实现的分析人员
- 急需针对 Spark 3.x 新特性(AQE、新版本优化器)做专题学习的人
Reading tips
- 先读第 3 章把“SQL 到 RDD”的整体链路建立起来,再回头补第 1~2 章基础,效率更高。
- 对照自己使用的 Spark 版本源码同步阅读,遇到类名或流程差异以本机代码为准。
- 读第 7~9 章前先准备一个带聚合和多表 Join 的实际查询,用 explain 观察计划变化。
- 把第 11 章的实践经验用于自己的作业调优,形成“现象—计划—源码”三段式排查习惯。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Chapter 1: Background of Spark SQL
- Chapter 2: Introduction to Spark Basics
- Chapter 3: Overview of the Spark SQL Execution Process
- Chapter 4: The Spark SQL Compiler Parser
- Chapter 5: The Spark SQL Logical Plan (LogicalPlan)
- Chapter 6: The Spark SQL Physical Plan (PhysicalPlan)
- Chapter 7: Implementing Aggregation in Spark SQL
- Chapter 8: Implementing Join in Spark SQL
- Chapter 9: Implementing Tungsten Technology
- Chapter 10: Connecting Spark SQL to Hive
- Chapter 11: Spark SQL Development and Practice
- References
FAQ
这本书讲的是哪个版本的 Spark?
没有 Spark 基础能直接看吗?
为什么目录没有列出全部小节?
读了它能解决线上 Spark SQL 慢的问题吗?
这本书和一般 Spark 入门书有什么区别?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Huang Ming, born in July 1961 in Dinghai, Zhejiang, is a professor and doctoral supervisor at the School of Software, Dalian Jiaotong University. His research focuses on enterprise informatization and computer-based management information systems. He has long served as chief editor of national computer rank examination preparation books as well as university textbooks on computer science and information systems. One work by him is currently included in the collection: Questions and Answers on the Prevention, Treatment, and Rehabilitation of Respiratory Infections in Traditional Chinese and Western Medicine, commonly classified under health. In this book, the author turns his teaching and research experience in computing and information systems toward popular health writing, organizing knowledge on the prevention, treatment, and rehabilitation of respiratory infections in both traditional Chinese and Western medicine in a question-and-answer format for easy reference. Given the limited public information available, a full assessment of his health writing and its influence is difficult.