This is an automated email from the ASF dual-hosted git repository.

linxinyuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new 2c8d6f3ad6 fix: dataset attribute order (#3695)
2c8d6f3ad6 is described below

commit 2c8d6f3ad66a14566eac3ee3d4240256303369c3
Author: Seongjin Yoon <[email protected]>
AuthorDate: Mon Aug 25 15:26:17 2025 -0700

    fix: dataset attribute order (#3695)
    
    **Feature:**
    Fixed the order of the Dataset attributes
    
    Co-authored-by: seongjin <[email protected]>
---
 .../edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java | 6 +++---
 .../scala/edu/uci/ics/texera/service/resource/DatasetResource.scala | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java
 
b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java
index 15be7dace4..583e8cfb29 100644
--- 
a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java
+++ 
b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java
@@ -59,17 +59,17 @@ public class Dataset implements IDataset {
         Integer   ownerUid,
         String    name,
         Boolean   isPublic,
+        Boolean   isDownloadable,
         String    description,
-        Timestamp creationTime,
-        Boolean   isDownloadable
+        Timestamp creationTime
     ) {
         this.did = did;
         this.ownerUid = ownerUid;
         this.name = name;
         this.isPublic = isPublic;
+        this.isDownloadable = isDownloadable;
         this.description = description;
         this.creationTime = creationTime;
-        this.isDownloadable = isDownloadable;
     }
 
     /**
diff --git 
a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala
 
b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala
index a551b79900..5e7ee3964d 100644
--- 
a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala
+++ 
b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala
@@ -289,9 +289,9 @@ class DatasetResource {
           createdDataset.getOwnerUid,
           createdDataset.getName,
           createdDataset.getIsPublic,
+          createdDataset.getIsDownloadable,
           createdDataset.getDescription,
-          createdDataset.getCreationTime,
-          createdDataset.getIsDownloadable
+          createdDataset.getCreationTime
         ),
         user.getEmail,
         PrivilegeEnum.WRITE,

Reply via email to