- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2024 07:12 AM
Hi! I would be glad to ask you some questions.
I have the following data.
I would like to get this kind of result. I want `move` to correspond to the order of `hist`.
Therefore, i considered the following query.
```
Tried sorting by `order by` before combining strings into an array with `array_join(array_agg())`. At first glance it seems to work, but the official documentation for `array_agg()` states the following
```
The order of elements in the array is non-deterministic.
Does it make sense to sort by `order by` before running `array_join(array_agg())`? Will it work as expected with larger data sizes?
I apologize for the inconvenience and would appreciate your response.