You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ih...@apache.org on 2019/09/19 06:42:16 UTC
[drill] branch master updated (e32488c -> 8a1fd5b)
This is an automated email from the ASF dual-hosted git repository.
ihuzenko pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git.
from e32488c DRILL-7373: Fix problems involving reading from DICT type
add 8a1fd5b DRILL-7252: Read Hive map using Dict<K,V> vector
No new revisions were added by this update.
Summary of changes:
.../drill/exec/store/hive/HiveUtilities.java | 4 +-
.../store/hive/writers/HiveValueWriterFactory.java | 45 +-
.../store/hive/writers/complex/HiveListWriter.java | 8 +-
.../store/hive/writers/complex/HiveMapWriter.java | 61 ++
.../apache/drill/exec/hive/HiveTestUtilities.java | 17 +
.../exec/hive/complex_types/TestHiveArrays.java | 133 +++-
.../exec/hive/complex_types/TestHiveMaps.java | 792 +++++++++++++++++++++
.../exec/hive/complex_types/TestHiveStructs.java | 80 +--
.../resources/complex_types/array/map_array.json | 3 +
.../complex_types/map/map_complex_tbl.json | 3 +
.../test/resources/complex_types/map/map_tbl.txt | 3 +
.../resources/complex_types/struct/struct_tbl.json | 6 +-
.../src/main/codegen/data/CountAggrTypes.tdd | 4 +-
.../apache/drill/exec/resolver/TypeCastRules.java | 1 +
.../drill/exec/vector/complex/MapUtility.java | 406 ++---------
.../src/main/codegen/templates/ListWriters.java | 3 +
.../drill/exec/vector/complex/DictVector.java | 2 +-
17 files changed, 1144 insertions(+), 427 deletions(-)
create mode 100644 contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/writers/complex/HiveMapWriter.java
create mode 100644 contrib/storage-hive/core/src/test/java/org/apache/drill/exec/hive/complex_types/TestHiveMaps.java
create mode 100644 contrib/storage-hive/core/src/test/resources/complex_types/array/map_array.json
create mode 100644 contrib/storage-hive/core/src/test/resources/complex_types/map/map_complex_tbl.json
create mode 100644 contrib/storage-hive/core/src/test/resources/complex_types/map/map_tbl.txt