Skip to content

PHOENIX-7407 Remove deprecated datasource V1 code from spark2 and spark3 connector#145

Merged
stoty merged 1 commit intoapache:masterfrom
rejeb:PHOENIX-7407
Jun 2, 2025
Merged

PHOENIX-7407 Remove deprecated datasource V1 code from spark2 and spark3 connector#145
stoty merged 1 commit intoapache:masterfrom
rejeb:PHOENIX-7407

Conversation

@rejeb
Copy link
Copy Markdown
Contributor

@rejeb rejeb commented Oct 7, 2024

Removed datasource V1 classes.
Since "org.apache.phoenix.spark" uses datasource V2 implementation there is no need to keep all tests in PhoenixSparkDatasourceV1IT. I only kept necessary tests because others are duplication of the ones in PhoenixSparkIT.

I added addtional steps in github action to generates tests reports details.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 7, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 28s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 14m 28s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 7s root in master failed.
-1 ❌ checkstyle 0m 30s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 7s root in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 7s root in the patch failed.
-1 ❌ javac 0m 7s root in the patch failed.
-1 ❌ scalac 0m 7s root in the patch failed.
-1 ❌ checkstyle 0m 17s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 0s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 6s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 6s root in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
25m 50s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux c4a39340c9c6 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 8adb127
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/1/console
versions git=2.7.4 maven=3.3.9 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 9, 2024

  • There seems to a significant amount test boilerplate refactoring here. Can you split that to a different JIRA/PR ?

  • Shouldn't the tests using the V1 API be kept, so that the backward compatibility code is properly exercised ?

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Oct 9, 2024

I added tests for datasource v1 when I've been working on PHOENIX-6783 because there has been no tests before that.
I did that by duplicating all tests in PhoenixSparkIT and changed the .format("phoenix") to .format("org.apache.phoenix.spark").
Now both .format() uses datasource V2 implementation so all these tests are duplication and will just exercice same code 2 times. IMO, there is no need to keep them because all ests exists in PhoenixSparkIT.
I kept a some tests to valide thatthe use of .format("org.apache.phoenix.spark") works.
For deprecated methods phoenixTableAsDataFrame, phoenixTableAsRDD and saveToPhoenix I added some test cases.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Oct 9, 2024

I added steps in github action workflow to generate test reports. The steps has failed with error "Error: HttpError: Resource not accessible by integration".
@stoty, can you please check. I tested this steps on my fork and it worked.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 19, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 43s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 14m 6s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 9s root in master failed.
-1 ❌ compile 0m 6s root in master failed.
-1 ❌ checkstyle 0m 29s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 6s root in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 7s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 7s root in the patch failed.
-1 ❌ javac 0m 7s root in the patch failed.
-1 ❌ scalac 0m 7s root in the patch failed.
-1 ❌ checkstyle 0m 17s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 2s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 1s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 6s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 6s root in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
25m 41s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux 74b7cedaa7e9 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / b29e6a5
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/2/console
versions git=2.7.4 maven=3.3.9 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 19, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 14m 8s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 6s root in master failed.
-1 ❌ checkstyle 0m 30s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 8s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 6s root in master failed.
-1 ❌ scaladoc 0m 10s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 6s root in the patch failed.
-1 ❌ javac 0m 6s root in the patch failed.
-1 ❌ scalac 0m 6s root in the patch failed.
-1 ❌ checkstyle 0m 17s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 2s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 1s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 6s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 7s root in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
19m 33s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux aeca502d7245 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / b29e6a5
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/3/console
versions git=2.7.4 maven=3.3.9 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 21, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 14m 42s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 7s root in master failed.
-1 ❌ checkstyle 0m 31s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 6s root in master failed.
-1 ❌ scaladoc 0m 10s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 6s root in the patch failed.
-1 ❌ javac 0m 6s root in the patch failed.
-1 ❌ scalac 0m 6s root in the patch failed.
-1 ❌ checkstyle 0m 16s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 1s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 6s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 6s root in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 25s The patch generated 8 ASF License warnings.
20m 9s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux cca4f4e05542 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / b29e6a5
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/4/console
versions git=2.7.4 maven=3.3.9 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 21, 2024

I have not forgotten about this, but I need to take care of some higher priority stuff first.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Oct 21, 2024

I have not forgotten about this, but I need to take care of some higher priority stuff first.

I got some free time this weekend so I wanted to test something. Please do not mind about future pushes, I will post a message when I finish updates.

I will create a new class with kept and added tests for V1 and helper methods then remove old class to make review easier.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 25, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 25s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 14m 1s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 6s root in master failed.
-1 ❌ checkstyle 0m 30s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 8s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 6s root in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 6s root in the patch failed.
-1 ❌ javac 0m 6s root in the patch failed.
-1 ❌ scalac 0m 6s root in the patch failed.
-1 ❌ checkstyle 0m 17s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 0s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 6s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 6s root in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
25m 21s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux 1926ceb2c637 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 6a5f621
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/5/console
versions git=2.7.4 maven=3.3.9 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Oct 25, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 13m 46s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 6s root in master failed.
-1 ❌ checkstyle 0m 30s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 10s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 6s root in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 7s root in the patch failed.
-1 ❌ compile 0m 6s root in the patch failed.
-1 ❌ javac 0m 6s root in the patch failed.
-1 ❌ scalac 0m 6s root in the patch failed.
-1 ❌ checkstyle 0m 17s The patch fails to run checkstyle in root
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 0s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 7s root in the patch failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 7s root in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
19m 10s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux ee5680ea03cc 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 6a5f621
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/6/console
versions git=2.7.4 maven=3.3.9 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Nov 8, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 26s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 13m 56s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 9s root in master failed.
-1 ❌ compile 0m 6s root in master failed.
-1 ❌ checkstyle 0m 29s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 7s root in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 7s root in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 7s root in the patch failed.
-1 ❌ compile 0m 6s root in the patch failed.
-1 ❌ javac 0m 6s root in the patch failed.
-1 ❌ scalac 0m 6s root in the patch failed.
-1 ❌ checkstyle 0m 17s The patch fails to run checkstyle in root
-1 ❌ markdownlint 0m 4s The patch generated 3 new + 134 unchanged - 1 fixed = 137 total (was 135)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 2s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 1s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 7s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 6s root in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
25m 20s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile markdownlint spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux cc2080fa0178 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 6a5f621
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/7/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Nov 11, 2024

  • Removed old V1 test class since all exists in PhoenixSparkIT so code is correctly tested.
  • Added a news class to help with review, with significant tests for source "org.apache.phoenix.spark" and tests for deprecated functions.
  • Updated read me to mention that "org.apache.phoenix.spark" now uses DatasourceV2.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Nov 11, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 32s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 13m 56s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 6s root in master failed.
-1 ❌ checkstyle 0m 30s The patch fails to run checkstyle in root
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ javadoc 0m 6s root in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 6s root in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 6s root in the patch failed.
-1 ❌ javac 0m 6s root in the patch failed.
-1 ❌ scalac 0m 6s root in the patch failed.
-1 ❌ checkstyle 0m 16s The patch fails to run checkstyle in root
-1 ❌ markdownlint 0m 2s The patch generated 3 new + 134 unchanged - 1 fixed = 137 total (was 135)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
-1 ❌ yamllint 0m 1s The patch generated 7 new + 3 unchanged - 0 fixed = 10 total (was 3)
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javadoc 0m 6s root in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 7s root in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s root in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s root in the patch failed.
-1 ❌ asflicense 0m 24s The patch generated 8 ASF License warnings.
19m 22s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense yamllint javac javadoc unit xml compile markdownlint spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux 2fd4e047883a 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 6a5f621
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-compile-root.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
yamllint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/diff-patch-yamllint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-javadoc-root.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-scaladoc-root.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/8/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0 yamllint=1.20.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Feb 8, 2025

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 10s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 2m 22s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 8s phoenix5-spark in master failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 28s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark3 in the patch failed.
+1 💚 checkstyle 0m 8s phoenix5-spark: The patch generated 0 new + 5 unchanged - 2 fixed = 5 total (was 7)
-1 ❌ checkstyle 0m 8s phoenix5-spark3: The patch generated 4 new + 7 unchanged - 2 fixed = 11 total (was 9)
-1 ❌ markdownlint 0m 4s The patch generated 3 new + 134 unchanged - 1 fixed = 137 total (was 135)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 8s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 16s The patch generated 8 ASF License warnings.
13m 7s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense javac javadoc unit xml compile markdownlint spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux fd353d00336d 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / b1ac7e8
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/9/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb rejeb changed the title Remove deprecated datasource V1 code from spark2 and spark3 connector PHOENIX-7407 Remove deprecated datasource V1 code from spark2 and spark3 connector Feb 13, 2025
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Mar 18, 2025

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 8s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The 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.
_ master Compile Tests _
+0 🆗 mvndep 2m 26s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 9s phoenix5-spark in master failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 28s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark3 in the patch failed.
+1 💚 checkstyle 0m 8s phoenix5-spark: The patch generated 0 new + 5 unchanged - 2 fixed = 5 total (was 7)
-1 ❌ checkstyle 0m 8s phoenix5-spark3: The patch generated 4 new + 7 unchanged - 2 fixed = 11 total (was 9)
-1 ❌ markdownlint 0m 4s The patch generated 3 new + 134 unchanged - 1 fixed = 137 total (was 135)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 2s The patch has no ill-formed XML file.
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 9s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 15s The patch generated 7 ASF License warnings.
13m 13s
Subsystem Report/Notes
Docker ClientAPI=1.48 ServerAPI=1.48 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #145
Optional Tests dupname asflicense javac javadoc unit xml compile markdownlint spotbugs hbaseanti checkstyle scalac scaladoc
uname Linux 0dcb5dcd40ac 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 09afb21
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-145/10/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 16, 2025

Yetus is supposed to be fixed, kicking off a CI run.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 16, 2025

Regarding the savemode changes:
How do other Spark SQL connectors handle Append/Overwrite ?
Do you think that accepting both is a good practice ?

@rejeb rejeb force-pushed the PHOENIX-7407 branch 3 times, most recently from d1ea8ba to fb0a8b1 Compare May 16, 2025 12:31
@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented May 26, 2025

Please fix the Yetus errors, especially the missing ASF licenses.

@stoty, done.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 27, 2025

Overwrite mode have'nt been implement respecting Spark definition for this mode.
What would the expected behaviour be ?

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented May 27, 2025

Overwrite mode have'nt been implement respecting Spark definition for this mode.
What would the expected behaviour be ?

It should truncate table and then insert data.
IMO, we should not change actual behavior because it might cause data loss for apps still using the old version and unaware of this change.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 28, 2025

It should truncate table and then insert data.
IMO, we should not change actual behavior because it might cause data loss for apps still using the old version and unaware of this change.

Thanks.
That's definitely not something we want the connector to do.
Can we log something at INFO when truncate is specified ?

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 28, 2025

Also there are still a few unused imports and similar Yetus warnings.
Can you clean those up ?

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented May 28, 2025

It should truncate table and then insert data.
IMO, we should not change actual behavior because it might cause data loss for apps still using the old version and unaware of this change.

Thanks. That's definitely not something we want the connector to do. Can we log something at INFO when truncate is specified ?

Yes, we can log something at INF., In this PR, I kept the actual behavior for Overwrite it means that it will not do the truncate before inserting data.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 28, 2025

Yes, we can log something at INF., In this PR, I kept the actual behavior for Overwrite it means that it will not do the truncate before inserting data.

That's good.
Just log something like
"Overwrite mode specified. Ignoring Overwrite and treating it as Append."

@rejeb rejeb force-pushed the PHOENIX-7407 branch 2 times, most recently from b271f60 to a21759e Compare May 29, 2025 19:55
Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

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

Please also fix the whitespace and codestyle issues reported by Yetus.

JavaSparkContext jsc = new JavaSparkContext(sparkConf);
SQLContext sqlContext = new SQLContext(jsc);

SparkSession spark = SparkUtil.getSparkSession();
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.

Looks like spark.hadoopRDD.ignoreEmptySplits is default since 3.2.0, so removing it should be OK.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just replaced old code with a call to existing SparkUtil.getSparkSession() to avoid having duplicate code.

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.

That one doesn't have spark.hadoopRDD.ignoreEmptySplits for Spark3 (which is fine)

JavaSparkContext jsc = new JavaSparkContext(sparkConf);
SQLContext sqlContext = new SQLContext(jsc);

SparkSession spark = SparkUtil.getSparkSession();
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.

since 3.2.0 / SPARK-34809 spark.hadoopRDD.ignoreEmptySplits is enabled by default.

However, this uses Spark 2. Shouldn't we keep that property for Spark 2 ?

Copy link
Copy Markdown
Contributor Author

@rejeb rejeb May 30, 2025

Choose a reason for hiding this comment

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

I just replaced old code with a call to existing SparkUtil.getSparkSession() to avoid having duplicate code and the property is there.

@@ -1,3 +1,21 @@
/*
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.

Thanks.
As you are the orginal author, we can handle this here instead of a separate ticket.

The `save` method also takes a `SaveMode` option, for which only `SaveMode.Append` is supported.
The `save` method also takes a `SaveMode` option, it is recommended to use `SaveMode.Append`.
For maintaining compatibility with source type `"org.apache.phoenix.spark"`,
`SaveMode.Overwrite` is accepted but it behave same way as `SaveMode.Append`.
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.

grammar: "behaves the same way"

The `"org.apache.phoenix.spark"` datasource does not accept the `"jdbcUrl"` parameter,
only `"zkUrl"`
- DataSourceV1 implementation was removed, source type `"org.apache.phoenix.spark"`
uses DatasourceV2 since connector 6.0.0 release.
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.

grammer: "uses the"

* The class facilitates the creation of a batch write operation that is configured with the provided
* logical write information and options specific to the Phoenix data source.
*
* Note: Overwrite mode does not do truncate table and behave the same as Append mode.
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.

grammer: "behaves"

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 30, 2025

This needs a rebase as I merged PHOENIX-7561 @rejeb .

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented May 30, 2025

Please also fix the whitespace and codestyle issues reported by Yetus.

@stoty, how can I run the checks that Yetus do before pushing to repository.
I did a rebase on master and pushed then I lost information about Yetus issues. I have to wait next Yetus run.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented May 30, 2025

@stoty, how can I run the checks that Yetus do before pushing to repository.
I did a rebase on master and pushed then I lost information about Yetus issues. I have to wait next Yetus run.

Not easily.
Most of them, like spotless and spotbugs can be simply run from maven, but Yetus does some postprocessing on the results to filter out the entries for unchanged files.

In theory you can also run Yetus locally, but setting that up is a big task, I would not recommend that (unless you plan to work on Yetus support)

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented May 30, 2025

@stoty, how can I run the checks that Yetus do before pushing to repository.
I did a rebase on master and pushed then I lost information about Yetus issues. I have to wait next Yetus run.

Not easily. Most of them, like spotless and spotbugs can be simply run from maven, but Yetus does some postprocessing on the results to filter out the entries for unchanged files.

In theory you can also run Yetus locally, but setting that up is a big task, I would not recommend that (unless you plan to work on Yetus support)

Thanks, I'll wait for report instead.

@rejeb rejeb force-pushed the PHOENIX-7407 branch 5 times, most recently from da4d8ec to 49eef1e Compare May 31, 2025 09:40
@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented May 31, 2025

I've been unable to fix the spotbugs error. Seams like it is a false positive.

data
.write
.format("phoenix")
.mode(SaveMode.Overwrite)
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.

Since we don't actually implement Overwrite, wouldn't it make more sense to use Append here ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was in spark2 connector, the Append mode is available in spark3.
Would you like to add Append mode support for spark2 ?
If it is the case, I think it is better to do it in a seperate ticket.

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.

Sure, it makes sense to handle that separately.

override def createRelation(sqlContext: SQLContext, mode: SaveMode,
parameters: Map[String, String], data: DataFrame): BaseRelation = {

if (!mode.equals(SaveMode.Overwrite)) {
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.

Is there an advatage to keeping this check ?
Do we have tests that check for it ?

Copy link
Copy Markdown
Contributor Author

@rejeb rejeb Jun 2, 2025

Choose a reason for hiding this comment

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

The same check is done in spark2 datasource V2 code in this class org.apache.phoenix.spark.datasource.v2.writer.PhoenixDataSourceWriter.
IDK if there is a test for this.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Jun 2, 2025

This mostly looks good, my last concern is whether we should force Overwite in the compatibility layer (as noted above.)

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Jun 2, 2025

This mostly looks good, my last concern is whether we should force Overwite in the compatibility layer (as noted above.)

For spark3, SaveMode is forced to Append in the compatibility layer.
For spark2, since we haven't planned to add support for Append mode Overwrite is used.

Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

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

+1 LGTM

@stoty stoty merged commit 13ea865 into apache:master Jun 2, 2025
1 of 2 checks passed
meszinorbi pushed a commit to meszinorbi/phoenix-connectors-up that referenced this pull request Jun 13, 2025
Sign up for free to 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.

2 participants