I've come across a very annoying bug in Google Dataprep.
According to this page: https://cloud.google.com/dataprep/docs/html/Window-Transform_57344658, it should be possible to reverse the order of sorting by adding a dash in front of the column name.
However, although the preview shows that the data is correctly sorted, the output will always be sorted in ascending order.
I have tested it in various ways and I'm sure it is a bug in the system.
The formula I'm trying to use is a PREV(column_name, 1)
function which is not grouped, but is ordered by column_name
and -date
.
To subsequently deduplicate the dataset based on this column: If(window==column_name)
Hopefully it will be solved as soon as possible. The current situation asks for a workaround. Does anyone know an elegant solution?