Skip to content

PHOENIX-6343 : Phoenix allows duplicate column names when one of them is a primary key - #1118

Merged
virajjasani merged 1 commit into
apache:4.xfrom
virajjasani:PHOENIX-6343-4.x
Feb 14, 2021
Merged

PHOENIX-6343 : Phoenix allows duplicate column names when one of them is a primary key#1118
virajjasani merged 1 commit into
apache:4.xfrom
virajjasani:PHOENIX-6343-4.x

Conversation

@virajjasani

Copy link
Copy Markdown
Contributor

No description provided.

assertTrue(splits.size() > 0);
}

@Test

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test for adding the identical column with an alter table statement ?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in the same test

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 43sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+1 💚mvninstall14m 17s4.x passed
+1 💚compile1m 1s4.x passed
+1 💚checkstyle1m 37s4.x passed
+1 💚javadoc0m 45s4.x passed
+0 🆗spotbugs3m 0sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 51sthe patch passed
+1 💚compile1m 0sthe patch passed
+1 💚javac1m 0sthe patch passed
-1 ❌checkstyle1m 39sphoenix-core: The patch generated 2 new + 2856 unchanged - 1 fixed = 2858 total (was 2857)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 45sthe patch passed
+1 💚spotbugs3m 9sthe patch passed
_ Other Tests _
-1 ❌unit1m 23sphoenix-core in the patch failed.
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
40m 46s
ReasonTests
Failed junit testsphoenix.query.QueryPlanTest
phoenix.util.json.JsonUpsertExecutorTest
phoenix.index.IndexScrutinyMapperTest
phoenix.compile.QueryOptimizerTest
phoenix.query.ExplainPlanTextTest
phoenix.schema.RowKeyValueAccessorTest
phoenix.compile.QueryMetaDataTest
phoenix.schema.MutationTest
phoenix.mapreduce.index.IndexScrutinyTableOutputTest
phoenix.query.PropertyPolicyProviderTest
phoenix.schema.MetaDataClientTest
phoenix.schema.RowKeySchemaTest
phoenix.jdbc.PhoenixResultSetMetadataTest
phoenix.index.VerifySingleIndexRowTest
phoenix.util.PhoenixRuntimeTest
phoenix.compile.LimitCompilerTest
phoenix.query.OrderByTest
phoenix.compile.CreateTableCompilerTest
phoenix.util.ScanUtilTest
phoenix.util.csv.StringToArrayConverterTest
phoenix.index.IndexMaintainerTest
phoenix.query.KeyRangeClipTest
phoenix.jdbc.PhoenixPreparedStatementTest
phoenix.compile.StatementHintsCompilationTest
phoenix.query.ParallelIteratorsSplitTest
phoenix.expression.RoundFloorCeilExpressionsTest
phoenix.jdbc.PhoenixDriverTest
phoenix.index.PrepareIndexMutationsForRebuildTest
phoenix.util.csv.CsvUpsertExecutorTest
phoenix.util.PhoenixEncodeDecodeTest
phoenix.query.ScannerLeaseRenewalTest
phoenix.compile.HavingCompilerTest
phoenix.compile.TenantSpecificViewIndexCompileTest
phoenix.compile.WhereOptimizerTest
phoenix.iterate.RowKeyOrderedAggregateResultIteratorTest
phoenix.compile.QueryCompilerTest
phoenix.mapreduce.util.PhoenixConfigurationUtilTest
phoenix.compile.SelectStatementRewriterTest
phoenix.compile.CursorCompilerTest
phoenix.compile.PostIndexDDLCompilerTest
phoenix.iterate.AggregateResultScannerTest
phoenix.compile.WhereCompilerTest
phoenix.hbase.index.covered.NonTxIndexBuilderTest
phoenix.compile.ViewCompilerTest
phoenix.expression.NullValueTest
phoenix.compile.JoinQueryCompilerTest
phoenix.mapreduce.util.IndexColumnNamesTest
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux c38352c577bc 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 44d4402
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/1/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/1/testReport/
Max. process+thread count463 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/1/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 37sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+1 💚mvninstall14m 39s4.x passed
+1 💚compile1m 1s4.x passed
+1 💚checkstyle1m 42s4.x passed
+1 💚javadoc0m 46s4.x passed
+0 🆗spotbugs3m 2sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 54sthe patch passed
+1 💚compile1m 1sthe patch passed
+1 💚javac1m 1sthe patch passed
-1 ❌checkstyle1m 41sphoenix-core: The patch generated 4 new + 3014 unchanged - 0 fixed = 3018 total (was 3014)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 44sthe patch passed
+1 💚spotbugs3m 11sthe patch passed
_ Other Tests _
-1 ❌unit1m 32sphoenix-core in the patch failed.
+1 💚asflicense0m 11sThe patch does not generate ASF License warnings.
37m 25s
ReasonTests
Failed junit testsphoenix.compile.QueryOptimizerTest
phoenix.schema.MutationTest
phoenix.compile.QueryCompilerTest
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux baef993b88fe 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 44d4402
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/2/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/2/testReport/
Max. process+thread count464 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/2/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasani

virajjasani commented Jan 28, 2021

Copy link
Copy Markdown
ContributorAuthor

Shall we disable allowing same column name as primary key under any columnFamily or should we just disable it under default columnFamily?

@stoty

Copy link
Copy Markdown
Contributor

Good question.
I don't know enough about how we handle the PKs to answer it.

  • Do we store the PK field(s) in actual cell, or are they only present in the rowkey ?
  • What happens when you specify a CF for a PK field ? is it even valid ?

This should be easy enough to check with hbase shell.
I'll try to check later today if you can't answer these of the top of your head.

@virajjasani

Copy link
Copy Markdown
ContributorAuthor

Nice points.

Do we store the PK field(s) in actual cell, or are they only present in the rowkey ?

For user created tables, their pk (and non-pk) columns are actually rowkeys in SYSTEM.CATALOG. The cells represent specific properties like DATA_TYPE, NULLABLE etc.

What happens when you specify a CF for a PK field ? is it even valid ?

I think we can't specify CF for PK. We have this special Exception for it: PRIMARY_KEY_WITH_FAMILY_NAME

Based on some unit tests written very initially, it seems we do allow creating same column name (with user defined columnFamily) as Pk column name, but that is the very reason why the same would apply to default columnFamily and hence, any user created table can have Pk and non-Pk column names same.

@stoty

Copy link
Copy Markdown
Contributor

Thanks for checking.

In this case, IMO we should handle this like the standard columns.

If we allow the same name in different column families, then we should only forbid matching names in the default CF.
If we don't allow the same name in differenct CFs, then we should forbid matching names in all CFs.

@virajjasani

Copy link
Copy Markdown
ContributorAuthor

It seems from visibility viewpoint, the problem remains same. Even with user defined CF, we see same column name as pk column.

> create table tab3 (col1 INTEGER NOT NULL PRIMARY KEY, col2 INTEGER, a.col1 INTEGER);
No rows affected (1.254 seconds)
> select * from tab3;
+-------+-------+-------+
| COL1 | COL2 | COL1 |
+-------+-------+-------+
+-------+-------+-------+
> create table table4 (col1 INTEGER NOT NULL PRIMARY KEY, col2 INTEGER, a.col1 INTEGER, b.col1 INTEGER);
No rows affected (1.254 seconds)
0: jdbc:phoenix:> select * from table4;
+-------+-------+-------+-------+
| COL1 | COL2 | COL1 | COL1 |
+-------+-------+-------+-------+
+-------+-------+-------+-------+
No rows selected (0.01 seconds)

@stoty

Copy link
Copy Markdown
Contributor

That is more of an sqlline/presentation problem.
You can address the different columns via the JDBC API unambigously ( I hope, though I didn't test this), while it's not possible in the PK vs default CF case.

Based on this, we should only disallow the PK names in the default CF.

@stoty

Copy link
Copy Markdown
Contributor

i.e you can get rs.getString("cfa.a"), and rs.getString("cfb.a"), but if you cannot get do the same for PK.a vs default cf.a .

@virajjasani

Copy link
Copy Markdown
ContributorAuthor

Right, mostly it is representation problem. You are right, we should stick to default CF.

@gjacoby126gjacoby126 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, otherwise lgtm

String viewName = generateUniqueName();
try (Connection conn = DriverManager.getConnection(getUrl(), props)) {
try {
conn.createStatement().execute(String.format("CREATE TABLE %s"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Would be good if before each case there was a brief comment explaining it -- e.g "Same column name, different column type" for the third one.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely, on it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks @gjacoby126

@gjacoby126gjacoby126 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, assuming tests pass. Thanks @virajjasani

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+1 💚mvninstall14m 31s4.x passed
+1 💚compile1m 1s4.x passed
+1 💚checkstyle1m 33s4.x passed
+1 💚javadoc0m 45s4.x passed
+0 🆗spotbugs3m 0sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 49sthe patch passed
+1 💚compile1m 2sthe patch passed
+1 💚javac1m 2sthe patch passed
-1 ❌checkstyle1m 43sphoenix-core: The patch generated 12 new + 3013 unchanged - 1 fixed = 3025 total (was 3014)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 44sthe patch passed
+1 💚spotbugs3m 12sthe patch passed
_ Other Tests _
-1 ❌unit1m 31sphoenix-core in the patch failed.
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
36m 57s
ReasonTests
Failed junit testsphoenix.compile.QueryOptimizerTest
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux fa0bb6a2a1d1 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 44d4402
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/3/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/3/testReport/
Max. process+thread count463 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/3/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+1 💚mvninstall14m 40s4.x passed
+1 💚compile1m 1s4.x passed
+1 💚checkstyle1m 40s4.x passed
+1 💚javadoc0m 44s4.x passed
+0 🆗spotbugs2m 59sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 52sthe patch passed
+1 💚compile1m 1sthe patch passed
+1 💚javac1m 1sthe patch passed
-1 ❌checkstyle1m 43sphoenix-core: The patch generated 12 new + 3013 unchanged - 1 fixed = 3025 total (was 3014)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 45sthe patch passed
+1 💚spotbugs3m 9sthe patch passed
_ Other Tests _
-1 ❌unit1m 31sphoenix-core in the patch failed.
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
37m 13s
ReasonTests
Failed junit testsphoenix.compile.QueryOptimizerTest
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 1c873547c43e 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 44d4402
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/4/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/4/testReport/
Max. process+thread count491 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/4/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasani

Copy link
Copy Markdown
ContributorAuthor

Latest changes include some minor changes in PhoenixLoggingMetricsIT and QueryOptimizerTest. Let's see how QA goes (build#6 onwards).

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall14m 26s4.x passed
+1 💚compile1m 2s4.x passed
+1 💚checkstyle1m 41s4.x passed
+1 💚javadoc0m 46s4.x passed
+0 🆗spotbugs2m 58sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 3sthe patch passed
+1 💚compile1m 1sthe patch passed
+1 💚javac1m 1sthe patch passed
-1 ❌checkstyle1m 38sphoenix-core: The patch generated 12 new + 3013 unchanged - 1 fixed = 3025 total (was 3014)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 45sthe patch passed
+1 💚spotbugs3m 10sthe patch passed
_ Other Tests _
-1 ❌unit138m 16sphoenix-core in the patch failed.
+1 💚asflicense0m 48sThe patch does not generate ASF License warnings.
175m 51s
ReasonTests
Failed junit testsphoenix.monitoring.PhoenixLoggingMetricsIT
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux b3ffd620027c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 44d4402
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/5/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/5/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/5/testReport/
Max. process+thread count5684 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/5/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall14m 38s4.x passed
+1 💚compile1m 5s4.x passed
+1 💚checkstyle1m 28s4.x passed
+1 💚javadoc0m 49s4.x passed
+0 🆗spotbugs3m 10sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall7m 50sthe patch passed
+1 💚compile1m 19sthe patch passed
+1 💚javac1m 19sthe patch passed
-1 ❌checkstyle1m 36sphoenix-core: The patch generated 13 new + 3013 unchanged - 2 fixed = 3026 total (was 3015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc1m 0sthe patch passed
+1 💚spotbugs4m 42sthe patch passed
_ Other Tests _
+1 💚unit143m 39sphoenix-core in the patch passed.
+1 💚asflicense0m 12sThe patch does not generate ASF License warnings.
182m 57s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux b54fec3632d7 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 44d4402
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/6/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/6/testReport/
Max. process+thread count5801 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/6/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 24sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall14m 43s4.x passed
+1 💚compile1m 1s4.x passed
+1 💚checkstyle1m 41s4.x passed
+1 💚javadoc0m 45s4.x passed
+0 🆗spotbugs3m 1sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 43sthe patch passed
+1 💚compile0m 59sthe patch passed
+1 💚javac0m 59sthe patch passed
-1 ❌checkstyle1m 45sphoenix-core: The patch generated 12 new + 3013 unchanged - 1 fixed = 3025 total (was 3014)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 44sthe patch passed
+1 💚spotbugs3m 13sthe patch passed
_ Other Tests _
+1 💚unit195m 53sphoenix-core in the patch passed.
+1 💚asflicense0m 12sThe patch does not generate ASF License warnings.
234m 57s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/7/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1118
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux e208e60b5d7f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 883170e
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/7/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/7/testReport/
Max. process+thread count5635 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1118/7/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasani
virajjasani merged commit ec386e9 into apache:4.xFeb 14, 2021
asfgit pushed a commit that referenced this pull request Feb 15, 2021
… is a primary key (#1118)
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@virajjasani@stoty@gjacoby126