mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 00:25:22 +00:00
fixed ts_simple_describe_table test to match change in the column header "Primary Key" => "Partition Key" and addition of "Sort Order" column.
This commit is contained in:
parent
c73713d129
commit
3128eda798
@ -33,12 +33,12 @@ confirm() ->
|
||||
DDL = ts_data:get_ddl(),
|
||||
Qry = "DESCRIBE " ++ Table,
|
||||
Expected =
|
||||
{ok, {[<<"Column">>,<<"Type">>,<<"Is Null">>,<<"Primary Key">>, <<"Local Key">>, <<"Interval">>, <<"Unit">>],
|
||||
[{<<"myfamily">>, <<"varchar">>, false, 1, 1, [], []},
|
||||
{<<"myseries">>, <<"varchar">>, false, 2, 2, [], []},
|
||||
{<<"time">>, <<"timestamp">>, false, 3, 3, 15, <<"m">>},
|
||||
{<<"weather">>, <<"varchar">>, false, [], [], [], []},
|
||||
{<<"temperature">>,<<"double">>, true, [], [], [], []}]}},
|
||||
{ok, {[<<"Column">>,<<"Type">>,<<"Nullable">>,<<"Partition Key">>, <<"Local Key">>, <<"Interval">>, <<"Unit">>, <<"Sort Order">>],
|
||||
[{<<"myfamily">>, <<"varchar">>, false, 1, 1, [], [], []},
|
||||
{<<"myseries">>, <<"varchar">>, false, 2, 2, [], [], []},
|
||||
{<<"time">>, <<"timestamp">>, false, 3, 3, 15, <<"m">>, []},
|
||||
{<<"weather">>, <<"varchar">>, false, [], [], [], [], []},
|
||||
{<<"temperature">>,<<"double">>, true, [], [], [], [], []}]}},
|
||||
|
||||
Cluster = ts_setup:start_cluster(1),
|
||||
ts_setup:create_bucket_type(Cluster, DDL, Table),
|
||||
|
Loading…
Reference in New Issue
Block a user