You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Huaisi Xu (Code Review)" <ge...@cloudera.org> on 2016/03/03 00:26:51 UTC

[Impala-CR](cdh5-trunk) IMPALA-3092: Return NULL for Avro missing fields w/o default

Huaisi Xu has uploaded a new patch set (#2).

Change subject: IMPALA-3092: Return NULL for Avro missing fields w/o default
......................................................................

IMPALA-3092: Return NULL for Avro missing fields w/o default

We used to require that any missing field in an Avro file
has a corresponding default value in the table schema.
With this patch all such fields will be set to NULL.

Change-Id: Ie86421fc3da51086e566998af317faa62ba9789b
---
M be/src/exec/hdfs-avro-scanner.cc
M testdata/avro_schema_resolution/create_table.sql
M testdata/workloads/functional-query/queries/QueryTest/avro-schema-resolution.test
3 files changed, 42 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/61/2361/2
-- 
To view, visit http://gerrit.cloudera.org:8080/2361
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie86421fc3da51086e566998af317faa62ba9789b
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Huaisi Xu <hx...@cloudera.com>
Gerrit-Reviewer: Huaisi Xu <hx...@cloudera.com>
Gerrit-Reviewer: Skye Wanderman-Milne <sk...@cloudera.com>