hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17578) Create a TableRef object for Table/Partition
Date Fri, 22 Sep 2017 12:57:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zoltan Haindrich updated HIVE-17578:
------------------------------------
    Description: 
a quick {{git grep DbName |grep -i TableName}} uncovers quite a lot of places where the fully
qualified {{schema.tablename}} is being produced

and most of the time the Table object is also present which might as well can have a method
to service a tableref.

There might be some hidden bugs because of this...because at some places the fully qualified
table name is produced earlier...

example callsite:
https://github.com/apache/hive/blob/266c50554b86462d8b5ac84d28a2b237b8dbfa7e/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java#L63

and called method:
https://github.com/apache/hive/blob/266c50554b86462d8b5ac84d28a2b237b8dbfa7e/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L620



  was:
a quick `git grep DbName |grep -i TableName` uncovers quite a lot of places where the fully
qualified {{schema.tablename}} is being produced

and most of the time the Table object is also present which might as well can have a method
to service a tableref.

There might be some hidden bugs because of this...because at some places the fully qualified
table name is produced earlier...

example callsite:
https://github.com/apache/hive/blob/266c50554b86462d8b5ac84d28a2b237b8dbfa7e/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java#L63

and called method:
https://github.com/apache/hive/blob/266c50554b86462d8b5ac84d28a2b237b8dbfa7e/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L620




> Create a TableRef object for Table/Partition
> --------------------------------------------
>
>                 Key: HIVE-17578
>                 URL: https://issues.apache.org/jira/browse/HIVE-17578
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>
> a quick {{git grep DbName |grep -i TableName}} uncovers quite a lot of places where the
fully qualified {{schema.tablename}} is being produced
> and most of the time the Table object is also present which might as well can have a
method to service a tableref.
> There might be some hidden bugs because of this...because at some places the fully qualified
table name is produced earlier...
> example callsite:
> https://github.com/apache/hive/blob/266c50554b86462d8b5ac84d28a2b237b8dbfa7e/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java#L63
> and called method:
> https://github.com/apache/hive/blob/266c50554b86462d8b5ac84d28a2b237b8dbfa7e/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L620



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message