Tarun Jangid has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/24634 )

Change subject: IMPALA-12889: Changing file format to AVRO doesn't update 
schema using 'avro.schema.url'
......................................................................

IMPALA-12889: Changing file format to AVRO doesn't update schema using 
'avro.schema.url'

When changing a table's file format to AVRO, the schema derived from
avro.schema.url or avro.schema.literal was not picked up until an
INVALIDATE METADATA or REFRESH was run. Fix this by setting
reloadTableSchema=true in alterTableSetFileFormat so the schema is
reloaded immediately after the file format change.

Testing: Added test_avro_fileformat_change covering both non-partitioned
and partitioned tables.

Change-Id: I0aaf707fb2879b26518f8b6d532087f92d85dfcb
---
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
A 
testdata/workloads/functional-query/queries/QueryTest/avro-fileformat-change.test
M testdata/workloads/functional-query/queries/QueryTest/avro-schema-changes.test
M tests/query_test/test_avro_schema_resolution.py
4 files changed, 146 insertions(+), 78 deletions(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0aaf707fb2879b26518f8b6d532087f92d85dfcb
Gerrit-Change-Number: 24634
Gerrit-PatchSet: 2
Gerrit-Owner: Tarun Jangid <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to