summaryrefslogtreecommitdiffstats
path: root/tests/dataframe/unit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-03 14:11:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-03 14:11:07 +0000
commit42a1548cecf48d18233f56e3385cf9c89abcb9c2 (patch)
tree5e0fff4ecbd1fd7dd1022a7580139038df2a824c /tests/dataframe/unit
parentReleasing debian version 21.1.2-1. (diff)
downloadsqlglot-42a1548cecf48d18233f56e3385cf9c89abcb9c2.tar.xz
sqlglot-42a1548cecf48d18233f56e3385cf9c89abcb9c2.zip
Merging upstream version 22.2.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dataframe/unit')
-rw-r--r--tests/dataframe/unit/test_functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dataframe/unit/test_functions.py b/tests/dataframe/unit/test_functions.py
index 24904b7..e40d50d 100644
--- a/tests/dataframe/unit/test_functions.py
+++ b/tests/dataframe/unit/test_functions.py
@@ -280,9 +280,9 @@ class TestFunctions(unittest.TestCase):
def test_signum(self):
col_str = SF.signum("cola")
- self.assertEqual("SIGNUM(cola)", col_str.sql())
+ self.assertEqual("SIGN(cola)", col_str.sql())
col = SF.signum(SF.col("cola"))
- self.assertEqual("SIGNUM(cola)", col.sql())
+ self.assertEqual("SIGN(cola)", col.sql())
def test_sin(self):
col_str = SF.sin("cola")