Wail Y. Alkowaileet created ASTERIXDB-3029:
----------------------------------------------
Summary: Allow single-pass nested values traversal
Key: ASTERIXDB-3029
URL: https://issues.apache.org/jira/browse/ASTERIXDB-3029
Project: Apache AsterixDB
Issue Type: Improvement
Components: RT - Runtime
Affects Versions: 0.9.7
Reporter: Wail Y. Alkowaileet
Assignee: Wail Y. Alkowaileet
Fix For: 0.9.8
Currently, AsterixDB's uses IVisitablePointable to allow functions (e.g.,
IPrintVisitor) to traverse and process (print for IPrintVisitor) nested values.
The problem is that IVisitablePointable eagerly materializes all nested values
into temporary buffers before a nested value could be processed, which is
expensive.
For the columnar format, AsterixDB needs to infer the schema and columnize the
rows during data ingestion, which requires traversing nested values. Using
IVisitablePointable in this case could hinder the ingestion rate drastically.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)