You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by bo...@apache.org on 2022/02/02 09:12:47 UTC

[impala] 04/04: IMPALA-11101: Change visibility on HdfsTable.setAvroSchema()

This is an automated email from the ASF dual-hosted git repository.

boroknagyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 27a1b4c1203fd1fc7929d23659eed0861703e9e1
Author: Steve Carlin <sc...@cloudera.com>
AuthorDate: Tue Feb 1 11:12:34 2022 -0800

    IMPALA-11101: Change visibility on HdfsTable.setAvroSchema()
    
    This changes the visibility of HdfsTable.setAvroSchema for use by
    a derived class in an external frontend.
    
    Tested manually by querying an Avro table.
    
    Change-Id: I2a8a87c4c3ab9240d768ec18be316dab4b23ebde
    Reviewed-on: http://gerrit.cloudera.org:8080/18189
    Reviewed-by: Aman Sinha <am...@cloudera.com>
    Tested-by: Aman Sinha <am...@cloudera.com>
---
 fe/src/main/java/org/apache/impala/catalog/HdfsTable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/src/main/java/org/apache/impala/catalog/HdfsTable.java b/fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
index 35c8ce5..a9d07d4 100644
--- a/fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
+++ b/fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
@@ -1730,7 +1730,7 @@ public class HdfsTable extends Table implements FeFsTable {
    * as Avro. Additionally, this method also reconciles the schema if the column
    * definitions from the metastore differ from the Avro schema.
    */
-  private void setAvroSchema(IMetaStoreClient client,
+  protected void setAvroSchema(IMetaStoreClient client,
       org.apache.hadoop.hive.metastore.api.Table msTbl) throws Exception {
     Preconditions.checkState(isSchemaLoaded_);
     String inputFormat = msTbl.getSd().getInputFormat();