Jeff Davies

The text in the paragraph after the CQL 6 listing should be amended to: "The primary key is based on the product_id and the order_date. Let’s take a look at our query to get sample product sales for product 1 within the month of September 2021.

--

--

I do see a small problem in the CQL-1 listing and in the 2nd paragraph that follows it. The listing doesn't support boldface type, but my text refers to the line in bold. Might need to change that to refer specifically to line 6 instead.

--

--

Mostly I'm concerned with the clarity of the code for the reader. Performance is a whole 'nother discipline. I'm not advocating for slow code, but most code runs fast enough as is. When you are writing code to show a reader how to do something, then code clarity is king! You may not be a pro, but your code is clear and well organized.

--

--

Jeff Davies

Jeff Davies

Long time software engineer, software architect, technical evangelist and motorcycle enthusiast.