跳转至

Skip bytes(跳过字节(Skip bytes))

Supported in: Batch, Faster, Streaming

Skip a given number of bytes in a binary column.

Expression categories: Binary

Declared arguments

  • Bytes: no description
    Expression\
  • Number of bytes to skip: no description
    Expression\

Output type: Binary

Examples

Example 1: Base case

Argument values:

  • Bytes: aGk=
  • Number of bytes to skip: 1

Output: aQ==


Example 2: Null case

Argument values:

  • Bytes: null
  • Number of bytes to skip: 1

Output: null


Example 3: Null case

Argument values:

  • Bytes: aGk=
  • Number of bytes to skip: null

Output: null


Example 4: Edge case

Argument values:

  • Bytes: aGk=
  • Number of bytes to skip: 100

Output: null



中文翻译

跳过字节(Skip bytes)

支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

在二进制列中跳过指定数量的字节。

表达式类别: 二进制(Binary)

声明参数

  • 字节(Bytes): 无描述
    表达式\
  • 要跳过的字节数(Number of bytes to skip): 无描述
    表达式\

输出类型: Binary

示例

示例1:基础情况

参数值:

  • 字节(Bytes): aGk=
  • 要跳过的字节数(Number of bytes to skip): 1

输出: aQ==


示例2:空值情况

参数值:

  • 字节(Bytes): null
  • 要跳过的字节数(Number of bytes to skip): 1

输出: null


示例3:空值情况

参数值:

  • 字节(Bytes): aGk=
  • 要跳过的字节数(Number of bytes to skip): null

输出: null


示例4:边界情况

参数值:

  • 字节(Bytes): aGk=
  • 要跳过的字节数(Number of bytes to skip): 100

输出: null