Writes a bool as the Avro int a Kinetica boolean column holds, 1 or 0, and reads any int other than 0 as true. For a field declared with AvroSchemaBuilder::bool_field:
avro_schema_builder
bool_as_int
bool_as_int — Kinetica Rust API
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
bool_as_int — Kinetica Rust API
Writes a bool as the Avro int a Kinetica boolean column holds, 1 or 0, and reads any int other than 0 as true. For a field declared with AvroSchemaBuilder::bool_field:
#[serde(with = "gpudb_api::avro_schema_builder::bool_as_int")]
is_valid: bool,