From a4f31c2124b82a95e8434481991c1481052a4087 Mon Sep 17 00:00:00 2001 From: Peter Mattis Date: Mon, 21 Sep 2015 13:58:21 -0400 Subject: [PATCH] Add "experimental_" prefix to unique_{bytes,int} and uuid_v4. --- sql/parser/builtins.go | 6 +++--- sql/testdata/builtin_function | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sql/parser/builtins.go b/sql/parser/builtins.go index 881e5987c14f..c660594f9a0e 100644 --- a/sql/parser/builtins.go +++ b/sql/parser/builtins.go @@ -342,7 +342,7 @@ var builtins = map[string][]builtin{ }, }, - "unique_bytes": { + "experimental_unique_bytes": { builtin{ types: typeList{}, returnType: DummyBytes, @@ -353,7 +353,7 @@ var builtins = map[string][]builtin{ }, }, - "unique_int": { + "experimental_unique_int": { builtin{ types: typeList{}, returnType: DummyInt, @@ -364,7 +364,7 @@ var builtins = map[string][]builtin{ }, }, - "uuid_v4": { + "experimental_uuid_v4": { builtin{ types: typeList{}, returnType: DummyBytes, diff --git a/sql/testdata/builtin_function b/sql/testdata/builtin_function index 9e465df984c3..6ec3545947d9 100644 --- a/sql/testdata/builtin_function +++ b/sql/testdata/builtin_function @@ -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