Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Business Intelligence with Databricks SQL

You're reading from   Business Intelligence with Databricks SQL Concepts, tools, and techniques for scaling business intelligence on the data lakehouse

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781803235332
Length 348 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Vihag Gupta Vihag Gupta
Author Profile Icon Vihag Gupta
Vihag Gupta
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Databricks SQL on the Lakehouse
2. Chapter 1: Introduction to Databricks FREE CHAPTER 3. Chapter 2: The Databricks Product Suite – A Visual Tour 4. Chapter 3: The Data Catalog 5. Chapter 4: The Security Model 6. Chapter 5: The Workbench 7. Chapter 6: The SQL Warehouses 8. Chapter 7: Using Business Intelligence Tools with Databricks SQL 9. Part 2: Internals of Databricks SQL
10. Chapter 8: The Delta Lake 11. Chapter 9: The Photon Engine 12. Chapter 10: Warehouse on the Lakehouse 13. Part 3: Databricks SQL Commands
14. Chapter 11: SQL Commands – Part 1 15. Chapter 12: SQL Commands – Part 2 16. Part 4: TPC-DS, Experiments, and Frequently Asked Questions
17. Chapter 13: Playing with the TPC-DS Dataset 18. Chapter 14: Ask Me Anything 19. Index 20. Other Books You May Enjoy

Understanding vectorization

To understand Photon, we must understand the different query execution philosophies. There are three popular query execution models. We will learn about them now. To keep it simple, let’s learn about them with a non-data example.

Consider the simple task of increasing the brightness of a photograph. This task will involve increasing the brightness of every single pixel in the photograph. Modern cameras can easily capture photographs with pixel counts in millions. Let's also assume that our processor can handle eight parallel tasks at a time.

Finally, let’s assume three functions will help with this task:

function getPixelRGB(PixelAddress): PixelRGB
function addBrightness(PixelRGB, BrightnessFactor): PixelRGB
function setPixelRGB(PixelAddress, PixelRGB)

There are three ways that the controller can be programmed to do this function.

Volcano model

In this model, we increase the brightness of the photograph one pixel at...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime