Skip to content

refactor(scala): move SortCriteriaUnit and HyperParameters from Java to Scala - #4186

Merged
bobbai00 merged 5 commits into
apache:mainfrom
carloea2:translation/java_2_scala
Jan 31, 2026
Merged

bobbai00 merged 5 commits into
apache:mainfrom
carloea2:translation/java_2_scala

Conversation

@carloea2

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

This PR moves two existing classes from Java to Scala (no functional changes intended),

  1. SortCriteriaUnit → common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/sort/SortCriteriaUnit.scala
  2. HyperParameters → common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/machineLearning/sklearnAdvanced/base/HyperParameters.scala

Any related issues, documentation, discussions?

No

How was this PR tested?

Existing tests for operators

Was this PR authored or co-authored using generative AI tooling?

No

@carloea2 carloea2 changed the title v1 refactor(scala): move SortCriteriaUnit and HyperParameters from Java to Scala Jan 30, 2026
@carloea2

Copy link
Copy Markdown
Contributor Author

@bobbai00 Can you review this PR? Thanks.

@bobbai00
bobbai00 self-requested a review January 30, 2026 22:52
@bobbai00 bobbai00 added the refactor Refactor the code label Jan 30, 2026

@bobbai00 bobbai00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bobbai00
bobbai00 merged commit 0965b80 into apache:main Jan 31, 2026
16 of 17 checks passed
madisonmlin pushed a commit to madisonmlin/texera that referenced this pull request Mar 10, 2026
…to Scala (apache#4186)

### What changes were proposed in this PR?
This PR moves two existing classes from Java to Scala (no functional
changes intended),

1. SortCriteriaUnit →`
common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/sort/SortCriteriaUnit.scala`
2. 
3. HyperParameters →
`common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/machineLearning/sklearnAdvanced/base/HyperParameters.scala`

### Any related issues, documentation, discussions?
No

### How was this PR tested?
Existing tests for operators

### Was this PR authored or co-authored using generative AI tooling?
No
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
…to Scala (apache#4186)

### What changes were proposed in this PR?
This PR moves two existing classes from Java to Scala (no functional
changes intended),

1. SortCriteriaUnit →`
common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/sort/SortCriteriaUnit.scala`
2. 
3. HyperParameters →
`common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/machineLearning/sklearnAdvanced/base/HyperParameters.scala`

### Any related issues, documentation, discussions?
No

### How was this PR tested?
Existing tests for operators

### Was this PR authored or co-authored using generative AI tooling?
No
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
…to Scala (apache#4186)

### What changes were proposed in this PR?
This PR moves two existing classes from Java to Scala (no functional
changes intended),

1. SortCriteriaUnit →`
common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/sort/SortCriteriaUnit.scala`
2. 
3. HyperParameters →
`common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/machineLearning/sklearnAdvanced/base/HyperParameters.scala`

### Any related issues, documentation, discussions?
No

### How was this PR tested?
Existing tests for operators

### Was this PR authored or co-authored using generative AI tooling?
No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants