Skip to content

Conversation

@jackylk
Copy link
Contributor

@jackylk jackylk commented Oct 19, 2025

Why is this PR needed?

Scala and JMockit version is too low, out of support

What changes were proposed in this PR?

Scala, JMockit version is upgraded

Does this PR introduce any user interface change?

  • No

Is any new testcase added?

  • No

@chenliang613
Copy link
Contributor

i will review and compile this PR, fix these issues which are very important for making new releases.

@chenliang613
Copy link
Contributor

#4374
#4375

@chenliang613
Copy link
Contributor

Just i compiled this PR, got the below errors :

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.3:test (default-test) on project carbondata-common: The plugin org.apache.maven.plugins:maven-surefire-plugin:3.5.3 requires Maven version 3.6.3 ->

@chenliang613
Copy link
Contributor

Just i compiled this PR, got the below errors :

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.3:test (default-test) on project carbondata-common: The plugin org.apache.maven.plugins:maven-surefire-plugin:3.5.3 requires Maven version 3.6.3 ->

will upgrade Maven version

@jackylk
Copy link
Contributor Author

jackylk commented Oct 20, 2025

Just i compiled this PR, got the below errors :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.3:test (default-test) on project carbondata-common: The plugin org.apache.maven.plugins:maven-surefire-plugin:3.5.3 requires Maven version 3.6.3 ->

will upgrade Maven version

Yes, Maven version need to be above 3.6.3 since this PR upgrades the maven-surefire-plugin to 3.5.3

@chenliang613
Copy link
Contributor

Successfully compiled.

[INFO] Apache CarbonData :: Parent ........................ SUCCESS [ 1.101 s]
[INFO] Apache CarbonData :: Common ........................ SUCCESS [ 14.552 s]
[INFO] Apache CarbonData :: Format ........................ SUCCESS [ 1.844 s]
[INFO] Apache CarbonData :: Core .......................... SUCCESS [ 4.953 s]
[INFO] Apache CarbonData :: Processing .................... SUCCESS [ 4.146 s]
[INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [ 0.968 s]
[INFO] Apache CarbonData :: Materialized View Plan ........ SUCCESS [ 23.587 s]
[INFO] Apache CarbonData :: Hive .......................... SUCCESS [ 10.743 s]
[INFO] Apache CarbonData :: SDK ........................... SUCCESS [ 12.877 s]
[INFO] Apache CarbonData :: CLI ........................... SUCCESS [ 12.168 s]
[INFO] Apache CarbonData :: Lucene Index .................. SUCCESS [ 2.411 s]
[INFO] Apache CarbonData :: Bloom Index ................... SUCCESS [ 2.377 s]
[INFO] Apache CarbonData :: Geo ........................... SUCCESS [ 4.229 s]
[INFO] Apache CarbonData :: Streaming ..................... SUCCESS [ 7.066 s]
[INFO] Apache CarbonData :: Spark ......................... SUCCESS [01:07 min]
[INFO] Apache CarbonData :: Secondary Index ............... SUCCESS [ 10.009 s]
[INFO] Apache CarbonData :: Index Examples ................ SUCCESS [ 2.007 s]
[INFO] Apache CarbonData :: Flink Proxy ................... SUCCESS [ 0.292 s]
[INFO] Apache CarbonData :: Flink ......................... SUCCESS [ 9.585 s]
[INFO] Apache CarbonData :: Flink Build ................... SUCCESS [ 0.174 s]
[INFO] Apache CarbonData :: Examples ...................... SUCCESS [ 12.055 s]
[INFO] Apache CarbonData :: Flink Examples ................ SUCCESS [ 1.135 s]
[INFO] Apache CarbonData :: Assembly ...................... SUCCESS [ 7.818 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:33 min
[INFO] Finished at: 2025-10-20T10:07:37+08:00
[INFO] ------------------------------------------------------

}

//@Test
public void testForNonDisributedSystem() {
Copy link
Contributor

Choose a reason for hiding this comment

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

why delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this testcase is not useful since it mocks up everything inside the testcase.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok

return startBlockMinIsDefaultStart;
}

public boolean isRangeFullyCoverBlock() {
Copy link
Contributor

Choose a reason for hiding this comment

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

please add some description for public method

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@SuppressWarnings("unused")
@Mock
long getMemorySize() {
return 15L; // 模拟 getMemorySize 方法
Copy link
Contributor

Choose a reason for hiding this comment

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

please use english

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@xubo245
Copy link
Contributor

xubo245 commented Oct 26, 2025

LGTM

1 similar comment
@Bayarea0608
Copy link

LGTM

@chenliang613
Copy link
Contributor

LGTM+1

@chenliang613 chenliang613 merged commit faaa3f3 into apache:master Oct 27, 2025
3 checks passed
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.

4 participants