From 1ac2939c5c94ff0e23417a65abb514c9d10ab6f2 Mon Sep 17 00:00:00 2001 From: flyingfish Date: Tue, 10 Sep 2024 14:01:42 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[Bug]=20=E6=8A=98=E7=BA=BF=E5=9B=BE?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=8C=89=E6=97=A5=E6=9C=9F=E4=B8=BAx?= =?UTF-8?q?=E8=BD=B4=E8=BF=9B=E8=A1=8C=E5=B1=95=E7=A4=BA=20Fixes=20#1590?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- launchers/standalone/src/main/resources/s2-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchers/standalone/src/main/resources/s2-config.yaml b/launchers/standalone/src/main/resources/s2-config.yaml index 6bdcb4594..4824290b3 100644 --- a/launchers/standalone/src/main/resources/s2-config.yaml +++ b/launchers/standalone/src/main/resources/s2-config.yaml @@ -21,7 +21,7 @@ s2: date: true demo: - names: S2VisitsDemo,S2ArtistDemo,SmallTalkDemo + names: S2VisitsDemo,S2ArtistDemo,SmallTalkDemo,CspiderDemo,DuSQLDemo enableLLM: true authentication: From b239dc6f3cfc9b943f815c7e47ced9d9d3ae1673 Mon Sep 17 00:00:00 2001 From: flyingfish Date: Tue, 10 Sep 2024 14:12:23 +0800 Subject: [PATCH 2/3] =?UTF-8?q?Revert=20"[Bug]=20=E6=8A=98=E7=BA=BF?= =?UTF-8?q?=E5=9B=BE=E6=B2=A1=E6=9C=89=E6=8C=89=E6=97=A5=E6=9C=9F=E4=B8=BA?= =?UTF-8?q?x=E8=BD=B4=E8=BF=9B=E8=A1=8C=E5=B1=95=E7=A4=BA"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1ac2939c5c94ff0e23417a65abb514c9d10ab6f2. --- launchers/standalone/src/main/resources/s2-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchers/standalone/src/main/resources/s2-config.yaml b/launchers/standalone/src/main/resources/s2-config.yaml index 4824290b3..6bdcb4594 100644 --- a/launchers/standalone/src/main/resources/s2-config.yaml +++ b/launchers/standalone/src/main/resources/s2-config.yaml @@ -21,7 +21,7 @@ s2: date: true demo: - names: S2VisitsDemo,S2ArtistDemo,SmallTalkDemo,CspiderDemo,DuSQLDemo + names: S2VisitsDemo,S2ArtistDemo,SmallTalkDemo enableLLM: true authentication: From 5db71e55f94567e97a4e903ecff14500775c57c3 Mon Sep 17 00:00:00 2001 From: flyingfish Date: Tue, 24 Sep 2024 19:43:21 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0decimal=E4=B8=BANumber?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=88=A4=E6=96=AD=EF=BC=8C=E4=BB=A5?= =?UTF-8?q?=E4=BE=BF=E8=83=BD=E5=A4=9F=E6=98=BE=E7=A4=BA=E4=B8=BA=E6=9B=B2?= =?UTF-8?q?=E7=BA=BF=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tencent/supersonic/headless/server/utils/QueryUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/headless/server/src/main/java/com/tencent/supersonic/headless/server/utils/QueryUtils.java b/headless/server/src/main/java/com/tencent/supersonic/headless/server/utils/QueryUtils.java index d2631faf3..d2b6238a7 100644 --- a/headless/server/src/main/java/com/tencent/supersonic/headless/server/utils/QueryUtils.java +++ b/headless/server/src/main/java/com/tencent/supersonic/headless/server/utils/QueryUtils.java @@ -127,6 +127,7 @@ private boolean isNumberType(String type) { || type.equalsIgnoreCase("float") || type.equalsIgnoreCase("double") || type.equalsIgnoreCase("numeric") + || type.toLowerCase().startsWith("decimal") || type.toLowerCase().startsWith("uint") || type.toLowerCase().startsWith("int"); }