Internal Jenkins has submitted this change and it was merged. Change subject: IMPALA-3092: Set default value to NULL in AvroSchemaConverter ......................................................................
IMPALA-3092: Set default value to NULL in AvroSchemaConverter This change ensures that Avro tables created without column definitions remain queryable if columns are added via ALTER TABLE. The bug was that when synthesizing an Avro schema from the column definitions we used to not add default values. Change-Id: Ib86e9ba1f4329b285ae14ee299365f7291a7410e Reviewed-on: http://gerrit.cloudera.org:8080/3219 Reviewed-by: Alex Behm <[email protected]> Tested-by: Internal Jenkins --- M fe/src/main/java/com/cloudera/impala/util/AvroSchemaConverter.java A testdata/workloads/functional-query/queries/QueryTest/avro-schema-changes.test D testdata/workloads/functional-query/queries/QueryTest/avro-stale-schema.test M tests/query_test/test_avro_schema_resolution.py 4 files changed, 79 insertions(+), 45 deletions(-) Approvals: Internal Jenkins: Verified Alex Behm: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/3219 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib86e9ba1f4329b285ae14ee299365f7291a7410e Gerrit-PatchSet: 10 Gerrit-Project: Impala Gerrit-Branch: cdh5-2.6.0_5.8.0 Gerrit-Owner: Huaisi Xu <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]> Gerrit-Reviewer: Bharath Vissapragada <[email protected]> Gerrit-Reviewer: Huaisi Xu <[email protected]> Gerrit-Reviewer: Internal Jenkins
