Skip to content

Replace Pair with record in TableNameUtil.qualify #5907

@keith-turner

Description

@keith-turner

Looked for a place where using Pair would be more beneficial based on what I learned in #5906 and found the following.

public static Pair<String,String> qualify(String tableName) {

This method is used frequently and the code and has a lot of calls to getFirst and getSecond, where the namespace is the first and the tablename is second. This seems like a place where a record would be really beneficial.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions