[
https://issues.apache.org/jira/browse/DRILL-7725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097055#comment-17097055
]
ASF GitHub Bot commented on DRILL-7725:
---------------------------------------
paul-rogers opened a new pull request #2073:
URL: https://github.com/apache/drill/pull/2073
# [DRILL-7725](https://issues.apache.org/jira/browse/DRILL-7725): Updates to
the EVF2 framework
## Description
Includes the refinements needed to move the text (CSV) reader to the
upgraded EVF (so-called "EVF2"). To avoid excessive complexity, this PR
includes just the EVF2 changes. The text reader integration will appear in a
separate PR. At present, no code in master yet uses EVF2.
Supports the internal implicit columns needed for the metadata framework.
Provides better support for standard conversions for text-based readers. A
new `FixedReceiver` acts to receive text columns when the schema is known up
front, as for the CSV reader. (Future versions will include a `DynamicReceiver`
to receive columns by name, as for JSON.)
Based on suggestions from Charles, simplified how we handle files for file
format plugins. The scan framework takes care of most of the work. It picks up
the "compressible" attribute from the plugin, then offers a simple `open()`
method that takes care of opening the file with the Drill file system, using
the compressible option as needed. The `SchemaNegotiator` exposes a
`FileDescrip` interface that handles opening the file, as well as giving access
to the block offset and size, etc.
Handled a number of corner cases when a reader returns no results, but we do
have a schema. Differentiated this from the case where the reader is simply
empty: no data and no schema.
## Documentation
N/A
## Testing
Added new tests and ran all existing tests. In fact, ran all tests with the
text reader converted (but the text reader code itself is not included here.)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Updates to EVF2
> ---------------
>
> Key: DRILL-7725
> URL: https://issues.apache.org/jira/browse/DRILL-7725
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.18.0
> Reporter: Paul Rogers
> Assignee: Paul Rogers
> Priority: Major
> Fix For: 1.18.0
>
>
> Enhancements to the "version 2" of the "Enhanced Vector Framework" to prepare
> for upgrading the text reader to EVF2.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)