Iceberg.Filter (iceberg v0.1.0)

Copy Markdown View Source

Row filters for Iceberg.Table.scan/2, as tuples:

  • {op, column, value} with op :==, :!=, :<, :<=, :>, :>=, :starts_with or :not_starts_with
  • {:in, column, values} and {:not_in, column, values}
  • {:is_null, column}, {:not_null, column}, {:is_nan, column} and {:not_nan, column}
  • {:and, a, b}, {:or, a, b}, {:not, a}, true and false

Values are 64-bit integers, floats, UTF-8 strings, booleans, Date, Time, NaiveDateTime (a timestamp column) and DateTime (timestamptz). Iceberg converts a value to its column's type when it binds the filter. Filters nest at most 128 levels deep.