This is an automated email from the ASF dual-hosted git repository.
jonah pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new a00e394d6c Add zero-`decimal`-cast test (#13571)
a00e394d6c is described below
commit a00e394d6c0e44a95f1c196d6a5c66f5601ed521
Author: Dmitrii Blaginin <[email protected]>
AuthorDate: Wed Nov 27 02:33:42 2024 +0000
Add zero-`decimal`-cast test (#13571)
---
datafusion/sqllogictest/test_files/decimal.slt | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/datafusion/sqllogictest/test_files/decimal.slt
b/datafusion/sqllogictest/test_files/decimal.slt
index 8db28c32f1..f082a79c55 100644
--- a/datafusion/sqllogictest/test_files/decimal.slt
+++ b/datafusion/sqllogictest/test_files/decimal.slt
@@ -733,3 +733,10 @@ true 2
statement ok
drop table decimal256_simple;
+
+
+# https://github.com/apache/datafusion/issues/12870
+query R
+SELECT CAST('0' AS decimal(38,0));
+----
+0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]