This is an automated email from the ASF dual-hosted git repository. kunwp1 pushed a commit to branch chris-cleanup-package-name in repository https://gitbox.apache.org/repos/asf/texera.git
commit 85f8003aebd177d21591a20141363fb015eb624d Author: Kunwoo Park <[email protected]> AuthorDate: Fri Nov 14 15:53:18 2025 -0800 Remove package prefix that uses edu.ics.uci --- .../main/scala/org/apache/amber/core/tuple/AttributeType.java | 10 +++++----- .../src/main/scala/org/apache/amber/core/tuple/Tuple.scala | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/AttributeType.java b/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/AttributeType.java index 73314fba0b..472679f527 100644 --- a/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/AttributeType.java +++ b/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/AttributeType.java @@ -27,14 +27,14 @@ import java.sql.Timestamp; public enum AttributeType implements Serializable { /** - * To add a new edu.ics.uci.amber.model.tuple.model.AttributeType, update the following files to handle the new type: + * To add a new AttributeType, update the following files to handle the new type: * 1. AttributeTypeUtils * <code>src/main/scala/org/apache/texera/workflow/common/tuple/schema/AttributeTypeUtils.scala</code> * Provide parsing, inferring, and casting logic between other AttributeTypes. * <p> * 2. SQLSourceOpDesc * <code>src/main/scala/org/apache/texera/workflow/operators/source/sql/SQLSourceOpDesc</code> - * Especially SQLSources will need to map the input schema to Texera.Schema. edu.ics.uci.amber.model.tuple.model.AttributeType + * Especially SQLSources will need to map the input schema to Texera.Schema. AttributeType * needs to be converted from original source types accordingly. * <p> * 3. FilterPredicate @@ -49,15 +49,15 @@ public enum AttributeType implements Serializable { * <p> * 5. SchemaPropagationService.SchemaAttribute * <code>src/app/workspace/service/dynamic-schema/schema-propagation/schema-propagation.service.ts</code> - * Declare the frontend SchemaAttribute for the new edu.ics.uci.amber.model.tuple.model.AttributeType. + * Declare the frontend SchemaAttribute for the new AttributeType. * <p> * 6. ArrowUtils (Java) * <code>src/main/scala/org/apache/amber/engine/architecture/pythonworker/ArrowUtils.scala</code> - * Provide java-side conversion between ArrowType and edu.ics.uci.amber.model.tuple.model.AttributeType. + * Provide java-side conversion between ArrowType and AttributeType. * <p> * 7. ArrowUtils (Python) * <code>src/main/python/core/util/arrow_utils.py</code> - * Provide python-side conversion between ArrowType and edu.ics.uci.amber.model.tuple.model.AttributeType. + * Provide python-side conversion between ArrowType and AttributeType. */ diff --git a/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/Tuple.scala b/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/Tuple.scala index 14025e0f1f..7bee0a0fc5 100644 --- a/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/Tuple.scala +++ b/common/workflow-core/src/main/scala/org/apache/amber/core/tuple/Tuple.scala @@ -152,7 +152,7 @@ object Tuple { ) ) { throw new RuntimeException( - s"edu.ics.uci.amber.model.tuple.model.Attribute ${attribute.getName}'s type (${attribute.getType}) is different from field's type (${AttributeType + s"Attribute ${attribute.getName}'s type (${attribute.getType}) is different from field's type (${AttributeType .getAttributeType(field.getClass)})" ) } @@ -190,7 +190,7 @@ object Tuple { } def add(attribute: Attribute, field: Any): Builder = { - require(attribute != null, "edu.ics.uci.amber.model.tuple.model.Attribute cannot be null") + require(attribute != null, "Attribute cannot be null") checkAttributeMatchesField(attribute, field) if (!schema.containsAttribute(attribute.getName)) { @@ -206,7 +206,7 @@ object Tuple { def add(attributeName: String, attributeType: AttributeType, field: Any): Builder = { require( attributeName != null && attributeType != null, - "edu.ics.uci.amber.model.tuple.model.Attribute name and type cannot be null" + "Attribute name and type cannot be null" ) this.add(new Attribute(attributeName, attributeType), field) this
