GitHub user vvysotskyi opened a pull request:

    https://github.com/apache/drill/pull/1138

    DRILL-4120: Allow implicit columns for Avro storage format

    Existing implementation of `AvroDrillTabl` does not allow dynamic columns 
discovering. `AvroDrillTable.getRowType()` method returns `RelDataTypeImlp` 
instance with the list of all table columns. It forces validator to check 
columns from select list in `RowType` list. It makes impossible to use implicit 
columns.
    
    This fix replaces the usage of `AvroDrillTable` by `DynamicDrillTable` for 
Avro format and also allows usage of non-existent columns in Avro tables to be 
consistent with other storage formats.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vvysotskyi/drill DRILL-4120

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/1138.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1138
    
----
commit 402accca668481bb6816aad438c867781157fac6
Author: Volodymyr Vysotskyi <vvovyk@...>
Date:   2018-02-27T16:39:22Z

    DRILL-4120: Allow implicit columns for Avro storage format

----


---

Reply via email to