Expand description
JSON support for Apache Arrow.
Structs§
- Json
Array - A specialized array for JSON data stored as JSONB binary format
- Json
Values - The values of a JSON column, readable as JSONB or as text whichever encoding they arrived in.
Enums§
- Json
Encoding - The Arrow representation holding a JSON field’s values.
Constants§
- ARROW_
JSON_ EXT_ NAME - Arrow extension type name for JSON data (Arrow official)
- JSON_
EXT_ NAME - Arrow extension type name for JSON data (Lance internal)
Functions§
- arrow_
json_ to_ lance_ json - Convert an Arrow JSON field to Lance JSON field (with JSONB storage)
- convert_
json_ columns - Convert a RecordBatch with Arrow JSON columns to Lance JSON format (JSONB)
- convert_
lance_ json_ to_ arrow - Convert a RecordBatch with Lance JSON columns (JSONB) back to Arrow JSON format (strings)
- decode_
json - Decode JSONB bytes to JSON string
- encode_
json - Encode JSON string to JSONB format
- has_
arrow_ json_ fields - Check if a field or any of its descendants is an Arrow JSON field
- has_
json_ fields - Check if a field or any of its descendants is a JSON field
- is_
arrow_ json_ field - Check if a field is an Arrow JSON extension field (PyArrow pa.json() type)
- is_
json_ field - Check if a field is a JSON extension field (Lance internal JSONB storage)
- json_
field - Create a JSON field with the appropriate extension metadata
- json_
path_ exists - Whether
pathmatches any value in a JSONB value. - lance_
json_ to_ arrow_ json - Convert a Lance JSON field to Arrow JSON field.
- parse_
json_ path - Parse a JSONPath expression.
- select_
json_ path - Select the value at
pathin a JSONB value. - select_
json_ path_ values - Select every value matched by
pathin a JSONB value.