Github user sunjincheng121 commented on a diff in the pull request:
https://github.com/apache/flink/pull/5202#discussion_r159148053
--- Diff:
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/expressions/ScalarFunctionsTest.scala
---
@@ -1216,6 +1216,69 @@ class ScalarFunctionsTest extends
ScalarTypesTestBase {
)
}
+ @Test
+ def testShiftLeft(): Unit = {
+ testSqlApi(
+ "SHIFT_LEFT(1,1)",
+ "2"
+ )
+
+ testSqlApi(
+ "SHIFT_LEFT(21,1)",
+ "42"
+ )
+
+ testSqlApi(
+ "SHIFT_LEFT(21,1)",
+ "42"
+ )
+
--- End diff --
Remove duplicate test case.
---