You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: velox/docs/develop/vectors.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,8 +242,8 @@ like substr and split. The results of these functions consist of substrings of
242
242
the original strings and therefore can use StringViews which point to the same
243
243
string buffers as the input vectors.
244
244
245
-
A result of applying substr(s, 2) function to a vector shown above looks like
246
-
this:
245
+
A result of applying `presto substr(s, 2) <https://prestodb.io/docs/current/functions/string.html#substr-string-start-varchar>`_ function to a vector shown above looks
246
+
like this:
247
247
248
248
.. image:: images/substr-result.png
249
249
:width:700
@@ -252,8 +252,8 @@ this:
252
252
This vector is using the same string buffer as the original one. It simply
253
253
references it using std::shared_ptr. The individual StringView entries either
254
254
contain strings inline or refer to positions in the original strings buffer.
255
-
After applying substr(s, 2) function a string in position 1 became short enough
256
-
to fit inside the StringView, hence, it no longer contains a pointer to a
255
+
After applying `presto substr(s, 2) <https://prestodb.io/docs/current/functions/string.html#substr-string-start-varchar>`_ function a string in position 1 became short
256
+
enough to fit inside the StringView, hence, it no longer contains a pointer to a
257
257
position in the string buffer.
258
258
259
259
Allowing these zero-copy implementations of functions that simply change the
0 commit comments