Apache Pinot Docs
latest
Ask or search…
K

arrayRemoveString

This section contains reference documentation for the arrayRemoveString function.
Removes value from array of strings.

Signature

arrayRemoveString('colName', value)

Usage Examples

These examples are based on the Hybrid Quick Start.
select RandomAirports,
arrayRemoveString(RandomAirports, 'SEA') AS value
from airlineStats
WHERE arraylength(RandomAirports) BETWEEN 2 AND 4
limit 5
DivAirportIDs
value
SEA,PSC
PSC
SEA,PSC,PHX,MSY
PSC,PHX,MSY
SEA,PSC,PHX,MSY
PSC,PHX,MSY
SEA,PSC
PSC
SEA,PSC
PSC