Apache Pinot Docs
Search…
latest
arrayReverseInt
This section contains reference documentation for the arrayReverseInt function.
Reverses array of ints.

Signature

arrayReverseInt('colName')

Usage Examples

These examples are based on the Hybrid Quick Start.
1
select DivAirportIDs,
2
arrayReverseInt(DivAirportIDs) AS reversedIds
3
from airlineStats
4
WHERE arraylength(DivAirportIDs) >= 2
5
limit 5
Copied!
DivAirportIDs
reversedIds
13891,12892
12892,13891
14683,14683
14683,14683
12339,12339
12339,12339
13487,13930
13930,13487
13029,11292
11292,13029
Copy link