ARRAY_SLICE (Lakehouse v2)
開始位置から指定した長さの配列の一部(スライス)を返します。
Analyzeの構文
Section titled “Analyzeの構文”func.array_slice([1,2,3,4,5], 2, 3)Analyzeの例
Section titled “Analyzeの例”func.array_slice([1, 2, 3, 4, 5], 2, 3)
┌─────────┐│ [2,3,4] │└─────────┘SQLの構文
Section titled “SQLの構文”ARRAY_SLICE([1,2,3,4,5], 2, 3)SELECT ARRAY_SLICE([1, 2, 3, 4, 5], 2, 3);
┌─────────┐│ [2,3,4] │└─────────┘