Skip to content

PHOENIX-6430 Added support for full row update for tables when no columns specfied in scenario - #1186

Merged
yanxinyi merged 1 commit into
apache:4.xfrom
jpisaac:PHOENIX-6430
Apr 2, 2021
Merged

PHOENIX-6430 Added support for full row update for tables when no columns specfied in scenario#1186
yanxinyi merged 1 commit into
apache:4.xfrom
jpisaac:PHOENIX-6430

Conversation

@jpisaac

Copy link
Copy Markdown
Contributor

No description provided.

@ChinmaySKulkarniChinmaySKulkarni 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.

Reviewed the second commit only (PHOENIX-6430) and it lgtm.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec7m 14sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo 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 14 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall13m 47s4.x passed
+1 💚compile0m 36s4.x passed
+1 💚checkstyle0m 26s4.x passed
+1 💚javadoc0m 18s4.x passed
+0 🆗spotbugs0m 58sphoenix-pherf in 4.x has 50 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 41sthe patch passed
+1 💚compile0m 36sthe patch passed
+1 💚javac0m 36sthe patch passed
-1 ❌checkstyle0m 28sphoenix-pherf: The patch generated 123 new + 548 unchanged - 49 fixed = 671 total (was 597)
-1 ❌whitespace0m 1sThe patch 8 line(s) with tabs.
+1 💚xml0m 4sThe patch has no ill-formed XML file.
+1 💚javadoc0m 17sthe patch passed
-1 ❌spotbugs1m 8sphoenix-pherf generated 2 new + 50 unchanged - 0 fixed = 52 total (was 50)
_ Other Tests _
-1 ❌unit9m 54sphoenix-pherf in the patch failed.
-1 ❌asflicense0m 10sThe patch generated 1 ASF License warnings.
42m 41s
ReasonTests
FindBugsmodule:phoenix-pherf
Switch statement found in org.apache.phoenix.pherf.rules.RulesApplier.getRuleBasedDataGeneratorForColumn(Column) where default case is missing At RulesApplier.java:where default case is missing At RulesApplier.java:[lines 554-572]
A prepared statement is generated from a nonconstant String in org.apache.phoenix.pherf.workload.mt.tenantoperation.PreScenarioOperationSupplier$1.apply(TenantOperationInfo) At PreScenarioOperationSupplier.java:from a nonconstant String in org.apache.phoenix.pherf.workload.mt.tenantoperation.PreScenarioOperationSupplier$1.apply(TenantOperationInfo) At PreScenarioOperationSupplier.java:[line 69]
Failed junit testsphoenix.pherf.DataIngestIT
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1186
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile xml
unameLinux d5b04fbbe6f1 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 / 3535708
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-1186/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/1/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/1/artifact/yetus-general-check/output/new-spotbugs-phoenix-pherf.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/1/artifact/yetus-general-check/output/patch-unit-phoenix-pherf.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/1/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count1793 (vs. ulimit of 30000)
modulesC: phoenix-pherf U: phoenix-pherf
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/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 35sDocker 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 19 new or modified test files.
_ 4.x Compile Tests _
+0 🆗mvndep5m 8sMaven dependency ordering for branch
+1 💚mvninstall9m 16s4.x passed
+1 💚compile1m 38s4.x passed
+1 💚checkstyle0m 53s4.x passed
+1 💚javadoc1m 1s4.x passed
+0 🆗spotbugs3m 2sphoenix-core in 4.x has 941 extant spotbugs warnings.
+0 🆗spotbugs0m 54sphoenix-pherf in 4.x has 50 extant spotbugs warnings.
-0 ⚠️patch1m 8sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall5m 43sthe patch passed
+1 💚compile1m 37sthe patch passed
+1 💚javac1m 37sthe patch passed
-1 ❌checkstyle0m 29sphoenix-pherf: The patch generated 134 new + 543 unchanged - 54 fixed = 677 total (was 597)
-1 ❌whitespace0m 0sThe patch 8 line(s) with tabs.
+1 💚xml0m 7sThe patch has no ill-formed XML file.
+1 💚javadoc1m 1sthe patch passed
-1 ❌spotbugs1m 7sphoenix-pherf generated 1 new + 50 unchanged - 0 fixed = 51 total (was 50)
_ Other Tests _
+1 💚unit131m 40sphoenix-core in the patch passed.
-1 ❌unit0m 59sphoenix-pherf in the patch failed.
-1 ❌asflicense0m 19sThe patch generated 1 ASF License warnings.
170m 45s
ReasonTests
FindBugsmodule:phoenix-pherf
A prepared statement is generated from a nonconstant String in org.apache.phoenix.pherf.workload.mt.tenantoperation.PreScenarioOperationSupplier$1.apply(TenantOperationInfo) At PreScenarioOperationSupplier.java:from a nonconstant String in org.apache.phoenix.pherf.workload.mt.tenantoperation.PreScenarioOperationSupplier$1.apply(TenantOperationInfo) At PreScenarioOperationSupplier.java:[line 76]
Failed junit testsphoenix.pherf.workload.mt.tenantoperation.TenantOperationEventGeneratorTest
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1186
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile xml
unameLinux 7b7467530f90 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 / 3535708
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-1186/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/2/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/2/artifact/yetus-general-check/output/new-spotbugs-phoenix-pherf.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/2/artifact/yetus-general-check/output/patch-unit-phoenix-pherf.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/2/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count5950 (vs. ulimit of 30000)
modulesC: phoenix-core phoenix-pherf U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/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.

import org.slf4j.LoggerFactory;

import java.text.SimpleDateFormat;
import java.util.*;

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: maybe remove import *?

@stoty

stoty commented Apr 1, 2021

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 52sDocker 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 1sThe patch appears to include 9 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall16m 16s4.x passed
+1 💚compile0m 45s4.x passed
+1 💚checkstyle0m 17s4.x passed
+1 💚javadoc0m 21s4.x passed
+0 🆗spotbugs1m 12sphoenix-pherf in 4.x has 51 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall7m 59sthe patch passed
+1 💚compile0m 44sthe patch passed
+1 💚javac0m 44sthe patch passed
-1 ❌checkstyle0m 17sphoenix-pherf: The patch generated 26 new + 176 unchanged - 17 fixed = 202 total (was 193)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 4sThe patch has no ill-formed XML file.
+1 💚javadoc0m 20sthe patch passed
+1 💚spotbugs1m 17sthe patch passed
_ Other Tests _
+1 💚unit11m 37sphoenix-pherf in the patch passed.
-1 ❌asflicense0m 10sThe patch generated 1 ASF License warnings.
43m 19s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1186
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile xml
unameLinux 7b34d855856f 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 / 3f8a74e
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-1186/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/3/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/3/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count1762 (vs. ulimit of 30000)
modulesC: phoenix-pherf U: phoenix-pherf
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/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

stoty commented Apr 1, 2021

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 46sDocker 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 9 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall15m 52s4.x passed
+1 💚compile0m 46s4.x passed
+1 💚checkstyle0m 17s4.x passed
+1 💚javadoc0m 21s4.x passed
+0 🆗spotbugs1m 14sphoenix-pherf in 4.x has 51 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 42sthe patch passed
+1 💚compile0m 37sthe patch passed
+1 💚javac0m 37sthe patch passed
-1 ❌checkstyle0m 15sphoenix-pherf: The patch generated 26 new + 176 unchanged - 17 fixed = 202 total (was 193)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 3sThe patch has no ill-formed XML file.
+1 💚javadoc0m 16sthe patch passed
+1 💚spotbugs1m 7sthe patch passed
_ Other Tests _
+1 💚unit10m 1sphoenix-pherf in the patch passed.
+1 💚asflicense0m 9sThe patch does not generate ASF License warnings.
39m 31s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1186
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile xml
unameLinux a244da84b5ed 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 / 3f8a74e
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-1186/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/4/testReport/
Max. process+thread count2057 (vs. ulimit of 30000)
modulesC: phoenix-pherf U: phoenix-pherf
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1186/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.

@yanxinyi
yanxinyi merged commit 5f0c18d into apache:4.xApr 2, 2021
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.

4 participants

@jpisaac@stoty@ChinmaySKulkarni@yanxinyi