-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VQR] Fixes query_name recording in results
- Loading branch information
Andrey Fedorov
committed
Nov 27, 2019
1 parent
f31073c
commit 7bd53ec
Showing
2 changed files
with
20 additions
and
1 deletion.
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,16 @@ | ||
## Adds object_assign UDTF | ||
|
||
Please run the following code to fix a bug in the violations runner which | ||
broke recording `query_name` in violation query results (`query_id`'s worked). | ||
|
||
~~~ | ||
USE SCHEMA data; | ||
CREATE FUNCTION IF NOT EXISTS object_assign (o1 VARIANT, o2 VARIANT) | ||
RETURNS VARIANT | ||
LANGUAGE javascript | ||
AS ' | ||
return Object.assign(O1, O2); | ||
' | ||
; | ||
~~~ |
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