You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2021/04/12 07:23:02 UTC
[flink] branch master updated: [FLINK-17371][table-runtime] Open
testDefaultDecimalCasting case in DecimalTypeTest
This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new f6fc769 [FLINK-17371][table-runtime] Open testDefaultDecimalCasting case in DecimalTypeTest
f6fc769 is described below
commit f6fc76936cc3302e4784b334c8e392abe199e992
Author: Jingsong Lee <ji...@gmail.com>
AuthorDate: Mon Apr 12 15:22:50 2021 +0800
[FLINK-17371][table-runtime] Open testDefaultDecimalCasting case in DecimalTypeTest
This closes #15544
---
.../org/apache/flink/table/planner/expressions/DecimalTypeTest.scala | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/DecimalTypeTest.scala b/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/DecimalTypeTest.scala
index 5ec5ad9..e62e743 100644
--- a/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/DecimalTypeTest.scala
+++ b/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/DecimalTypeTest.scala
@@ -22,7 +22,7 @@ import org.apache.flink.table.api._
import org.apache.flink.table.planner.expressions.utils.ExpressionTestBase
import org.apache.flink.table.types.DataType
import org.apache.flink.types.Row
-import org.junit.{Ignore, Test}
+import org.junit.Test
class DecimalTypeTest extends ExpressionTestBase {
@@ -102,10 +102,9 @@ class DecimalTypeTest extends ExpressionTestBase {
Long.MinValue.toString)
}
- @Ignore
@Test
def testDefaultDecimalCasting(): Unit = {
-// // from String
+ // from String
testTableApi(
"123456789123456789123456789".cast(DataTypes.DECIMAL(38, 0)),
"123456789123456789123456789")