flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dubin555 <...@git.apache.org>
Subject [GitHub] flink pull request #5202: [FLINK-8302][table]Add SHIFT_LEFT and SHIFT_RIGHT ...
Date Mon, 01 Jan 2018 08:48:00 GMT
Github user dubin555 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5202#discussion_r159151505
  
    --- 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 --
    
    removed


---

Mime
View raw message