[
https://issues.apache.org/jira/browse/PHOENIX-4996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16673696#comment-16673696
]
Hadoop QA commented on PHOENIX-4996:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12946733/PHOENIX-4996-v1.patch
against master branch at commit c2d33ed384467fea4655e6f49ce43834f3886409.
ATTACHMENT ID: 12946733
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 6 new
or modified tests.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:red}-1 release audit{color}. The applied patch generated 1 release
audit warnings (more than the master's current 0 warnings).
{color:red}-1 lineLengths{color}. The patch introduces the following lines
longer than 100:
+
.setTableName(PNameFactory.newName(SchemaUtil.getTableName(left.getName().getString(),
+
.setDefaultFamilyName(PNameFactory.newName(SchemaUtil.getEmptyColumnFamily(table)))
+ // if a TableProperty is valid on a view and is not mutable on a view
we set it to the base table value
+ // if a TableProperty is valid on a view and is mutable on a view we
use the value set on the view
+ ImmutableStorageScheme.ONE_CELL_PER_COLUMN :
baseTable.getImmutableStorageScheme())
+ QualifierEncodingScheme.NON_ENCODED_QUALIFIERS :
baseTable.getEncodingScheme())
+ String viewIndexSchemaName =
SchemaUtil.getSchemaNameFromFullName(viewIndexPhysicalName);
+ String viewIndexTableName =
SchemaUtil.getTableNameFromFullName(viewIndexPhysicalName);
+ PName viewIndexName =
PNameFactory.newName(SchemaUtil.getTableName(viewIndexSchemaName,
viewIndexTableName));
+
.setImmutableStorageScheme(table.getImmutableStorageScheme())
{color:red}-1 core tests{color}. The patch failed these unit tests:
org.apache.phoenix.jdbc.SecureUserConnectionsTest
Test results:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2136//testReport/
Release audit warnings:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2136//artifact/patchprocess/patchReleaseAuditWarnings.txt
Console output:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2136//console
This message is automatically generated.
> Refactor PTableImpl to use Builder Pattern
> ------------------------------------------
>
> Key: PHOENIX-4996
> URL: https://issues.apache.org/jira/browse/PHOENIX-4996
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Chinmay Kulkarni
> Assignee: Chinmay Kulkarni
> Priority: Major
> Attachments: PHOENIX-4996-v1.patch, PHOENIX-4996.patch
>
>
> Currently _PTableImpl_ has many constructor parameters, overloaded
> constructors as well as overloaded versions of _makePTable_ which basically
> creates a new PTable itself. Because of this, constructing new PTable
> instances is becoming very difficult and error-prone. We should refactor this
> to use the builder pattern. This will improve usability and readability of
> the code at the cost of some amount of code repetition due to limitations of
> the builder pattern itself.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)