blob: a15b27689e7a52618e6bf842c2cd01d5d0ae15d6 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/*
* Description : Drop secondary index.
* Expected Result : Success
* Date : 12th July 2012
*
*/
drop dataverse test if exists;
create dataverse test;
use test;
create type test.Schema as
closed {
unique1 : bigint,
unique2 : bigint,
two : bigint,
four : bigint,
ten : bigint,
twenty : bigint,
onePercent : bigint,
tenPercent : bigint,
twentyPercent : bigint,
fiftyPercent : bigint,
unique3 : bigint,
evenOnePercent : bigint,
oddOnePercent : bigint,
stringu1 : string,
stringu2 : string,
string4 : string
};
create dataset t1(Schema) primary key unique2;