pnowojski commented on a change in pull request #6445: [FLINK-8302] [table] Add
SHIFT_LEFT and SHIFT_RIGHT
URL: https://github.com/apache/flink/pull/6445#discussion_r244966034
##########
File path: docs/dev/table/functions.md
##########
@@ -1095,6 +1095,40 @@ MOD(numeric1, numeric2)
</td>
</tr>
+ <tr>
+ <td>
+ {% highlight text %}
+SHIFTLEFT(numeric1, numeric2)
+{% endhighlight %}
+ </td>
+ <td>
+ <p>Returns <i>numeric1</i> shifted left of <i>numeric2</i>. The result
is <i>numeric1</i> << <i>numeric2</i> </p>
+ </td>
Review comment:
Here and for `SHIFTRIGHT` and `SHIFTRIGHTUNSIGNED ` please add the
information about the return type:
```
<p>The return type is the same as <i>numeric1</i>.</p>
```
and please also state that the semantic of those operations is the same as
equivalent java operation and casting it to the return type.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services