Skip to content

Commit

Permalink
Add "experimental_" prefix to unique_{bytes,int} and uuid_v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
petermattis committed Sep 21, 2015
1 parent 412418d commit a4f31c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sql/parser/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ var builtins = map[string][]builtin{
},
},

"unique_bytes": {
"experimental_unique_bytes": {
builtin{
types: typeList{},
returnType: DummyBytes,
Expand All @@ -353,7 +353,7 @@ var builtins = map[string][]builtin{
},
},

"unique_int": {
"experimental_unique_int": {
builtin{
types: typeList{},
returnType: DummyInt,
Expand All @@ -364,7 +364,7 @@ var builtins = map[string][]builtin{
},
},

"uuid_v4": {
"experimental_uuid_v4": {
builtin{
types: typeList{},
returnType: DummyBytes,
Expand Down
6 changes: 3 additions & 3 deletions sql/testdata/builtin_function
Original file line number Diff line number Diff line change
Expand Up @@ -588,16 +588,16 @@ SELECT translate('a‰ÒÁ', 'aÒ', '∏p')
∏‰pÁ

query B
SELECT unique_bytes() < unique_bytes(), length(unique_bytes())
SELECT experimental_unique_bytes() < experimental_unique_bytes(), length(experimental_unique_bytes())
----
true 9

query B
SELECT unique_int() < unique_int()
SELECT experimental_unique_int() < experimental_unique_int()
----
true

query B
SELECT uuid_v4() != uuid_v4(), length(uuid_v4())
SELECT experimental_uuid_v4() != experimental_uuid_v4(), length(experimental_uuid_v4())
----
true 16

0 comments on commit a4f31c2

Please sign in to comment.