From d2d7a5c75405ca91b936581ecad51306e6e862d8 Mon Sep 17 00:00:00 2001
From: yanxiangqin <54396288+everypp@users.noreply.github.com>
Date: Thu, 21 Dec 2023 16:27:09 +0800
Subject: [PATCH 1/3] Update impala_datetime_functions.xml
Modifying Formats and Adding Aliases
---
docs/topics/impala_datetime_functions.xml | 28 ++++++++---------------
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/docs/topics/impala_datetime_functions.xml b/docs/topics/impala_datetime_functions.xml
index 10c5d270f5..ce6d571e0f 100644
--- a/docs/topics/impala_datetime_functions.xml
+++ b/docs/topics/impala_datetime_functions.xml
@@ -92,8 +92,7 @@ under the License.
- CURRENT_TIMESTAMP
+ CURRENT_TIMESTAMP
@@ -117,7 +116,7 @@ under the License.
- DAY
+ DAY, DAYOFMONTH
@@ -153,8 +152,7 @@ under the License.
- FROM_UTC_TIMESTAMP
+ FROM_UTC_TIMESTAMP
@@ -170,18 +168,15 @@ under the License.
- INT_MONTHS_BETWEEN
+ INT_MONTHS_BETWEEN
- MICROSECONDS_ADD
+ MICROSECONDS_ADD
- MICROSECONDS_SUB
+ MICROSECONDS_SUB
@@ -189,13 +184,11 @@ under the License.
- MILLISECONDS_ADD
+ MILLISECONDS_ADD
- MILLISECONDS_SUB
+ MILLISECONDS_SUB
@@ -283,8 +276,7 @@ under the License.
- TO_UTC_TIMESTAMP
+ TO_UTC_TIMESTAMP
@@ -300,7 +292,7 @@ under the License.
- WEEKOFYEAR
+ WEEK, WEEKOFYEAR
From fb44b3fbc46117645b365f68228e2fdd5ea057bb Mon Sep 17 00:00:00 2001
From: yanxiangqin <54396288+everypp@users.noreply.github.com>
Date: Thu, 21 Dec 2023 16:30:45 +0800
Subject: [PATCH 2/3] Update impala_math_functions.xml
Modify RANDOM function names and add aliases
---
docs/topics/impala_math_functions.xml | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/docs/topics/impala_math_functions.xml b/docs/topics/impala_math_functions.xml
index 0acf9a67b6..b62b817f00 100644
--- a/docs/topics/impala_math_functions.xml
+++ b/docs/topics/impala_math_functions.xml
@@ -132,7 +132,7 @@ under the License.
- EXP
+ EXP, DEXP
@@ -180,7 +180,7 @@ under the License.
- LOG10
+ LOG10, DLOG10
@@ -188,13 +188,11 @@ under the License.
- MAX_INT, MAX_TINYINT, MAX_SMALLINT,
- MAX_BIGINT
+ MAX_INT, MAX_TINYINT, MAX_SMALLINT, MAX_BIGINT
- MIN_INT, MIN_TINYINT, MIN_SMALLINT,
- MIN_BIGINT
+ MIN_INT, MIN_TINYINT, MIN_SMALLINT, MIN_BIGINT
@@ -1463,7 +1461,7 @@ select pmod(5,-2);
- RAND(), RAND(BIGINT seed), RANDOME(), RANDOME(BIGINT seed)
+ RAND(), RAND(BIGINT seed), RANDOM(), RANDOM(BIGINT seed)
From 4d7bc87e55afc27de42a01da1a5853fbef9ff144 Mon Sep 17 00:00:00 2001
From: yanxiangqin <54396288+everypp@users.noreply.github.com>
Date: Thu, 21 Dec 2023 16:32:47 +0800
Subject: [PATCH 3/3] Update impala_string_functions.xml
Modify LTRIM function names and add aliases
---
docs/topics/impala_string_functions.xml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/docs/topics/impala_string_functions.xml b/docs/topics/impala_string_functions.xml
index c9fa41c35b..311d2ab0e3 100644
--- a/docs/topics/impala_string_functions.xml
+++ b/docs/topics/impala_string_functions.xml
@@ -99,7 +99,7 @@ under the License.
- CHAR_LENGTH
+ CHAR_LENGTH, CHARACTER_LENGTH
@@ -139,15 +139,11 @@ under the License.
- JARO_WINKER_DISTANCE,
- JW_DST
+ JARO_WINKER_DISTANCE, JW_DST
- JARO_WINKER_SIMILARITY,
- JW_SIM
+ JARO_WINKER_SIMILARITY, JW_SIM
@@ -175,7 +171,7 @@ under the License.
- LTRI
+ LTRIM