Category
Selecting particular columns from a table using column order
ISSUE: The most common way to select a particular column from a table is doing it by name, but you can also do it using the column order.
A query using a correlated column inside a window function fails with internal error 300010:391167117
CAUSE: Using a correlated column inside window function components (such as PARTITION BY or ORDER BY is not supported. In this query, the column completed_on is correlated with the lateral view f.