-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): expose
Vnode
function as __rw_vnode
for easy debu…
…gging (#4327) * expose internal `vnode` function as `__rw_vnode` for debugging * add e2e test for `__rw_vnode` just to make sure the function runs Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0da423e
commit 6bf43fe
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
statement ok | ||
SET RW_IMPLICIT_FLUSH TO true; | ||
|
||
statement ok | ||
create table t(v1 varchar, v2 int, v3 int) | ||
|
||
statement ok | ||
select __rw_vnode(_row_id) as vnode, _row_id from t; | ||
|
||
statement ok | ||
insert into t values ('aaa', 1, 1), ('bbb', 0, 2), ('ccc', 0, 5), ('ddd', 1, 4) | ||
|
||
statement ok | ||
select __rw_vnode(_row_id) as vnode, _row_id from t; | ||
|
||
statement ok | ||
drop table t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters