Try it · 2 minutes · no account
Fix one line. Press Submit.
A real exercise from Open Table Formats, chapter 1. It runs on Python 3.12.15 · deltalake 1.6.6 · duckdb 2.0.0 · matplotlib 3.11.2 · pyarrow 26.0.1 · pyiceberg 0.12.0, the versions the book was tested on.
- ReadThe task says what the code should do, and the section it's from says why.
- Change one lineLine 43 is the one to change.
- SubmitWe run it on the versions the book was tested on and tell you if it's right.
Add the views instead of counting rows
From Query the table with DuckDB, chapter 1Read it again
A new edition changed what this practised. What changed in Edition 2026.11.15
Line 43 counts the rows instead of adding up their views. Fix it so the total is every view in the scan.
Why it works
No account needed for this one.
That's every exercise in the books, with Labs.
The books stay free to read.
Running your code on the book's versions