diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-03 14:11:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-03 14:11:03 +0000 |
commit | 5d0ea770947ae1da51537ff75b14b48218d729aa (patch) | |
tree | 86e66fc69feeae4c4b23749e7779f6731791edcc /tests/dataframe/unit/test_functions.py | |
parent | Adding upstream version 21.1.2. (diff) | |
download | sqlglot-5d0ea770947ae1da51537ff75b14b48218d729aa.tar.xz sqlglot-5d0ea770947ae1da51537ff75b14b48218d729aa.zip |
Adding upstream version 22.2.0.upstream/22.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dataframe/unit/test_functions.py')
-rw-r--r-- | tests/dataframe/unit/test_functions.py | 4 |
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") |