mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 06:27:21 +00:00
(fix)(headless)fix the issue that the time schema in LllM is not matched with the sql which modifiedy by sqlAdaptor when the dateformat updated;also fix the issue that the model update is not effected on dimension(#1720)(1719) (#1725)
This commit is contained in:
@@ -41,6 +41,7 @@ public class SchemaElement implements Serializable {
|
||||
private String description;
|
||||
private boolean descriptionMapped;
|
||||
@Builder.Default private Map<String, Object> extInfo = new HashMap<>();
|
||||
private DimensionTimeTypeParams typeParams;
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
|
||||
@@ -4,6 +4,7 @@ import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.tencent.supersonic.common.pojo.enums.DataTypeEnums;
|
||||
import com.tencent.supersonic.headless.api.pojo.DimValueMap;
|
||||
import com.tencent.supersonic.headless.api.pojo.DimensionTimeTypeParams;
|
||||
import com.tencent.supersonic.headless.api.pojo.SchemaItem;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -34,4 +35,6 @@ public class DimensionReq extends SchemaItem {
|
||||
private int isTag;
|
||||
|
||||
private Map<String, Object> ext;
|
||||
|
||||
private DimensionTimeTypeParams typeParams;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.tencent.supersonic.headless.api.pojo.response;
|
||||
|
||||
import com.tencent.supersonic.common.pojo.enums.DataTypeEnums;
|
||||
import com.tencent.supersonic.headless.api.pojo.DimValueMap;
|
||||
import com.tencent.supersonic.headless.api.pojo.DimensionTimeTypeParams;
|
||||
import com.tencent.supersonic.headless.api.pojo.SchemaItem;
|
||||
import com.tencent.supersonic.headless.api.pojo.enums.DimensionType;
|
||||
import lombok.Data;
|
||||
@@ -39,6 +40,8 @@ public class DimensionResp extends SchemaItem {
|
||||
|
||||
private int isTag;
|
||||
|
||||
private DimensionTimeTypeParams typeParams;
|
||||
|
||||
private Map<String, Object> ext = new HashMap<>();
|
||||
|
||||
public boolean isTimeDimension() {
|
||||
|
||||
Reference in New Issue
Block a user