lin.kylin-core-common.5.0.0-alpha.source-code.metadata-jdbc-default.properties Maven / Gradle / Ivy
#
# 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.
#
###JDBC METASTORE
create.metadata.store.table=create table if not exists %s ( \
%s varchar(255) primary key, \
%s longblob, \
%s bigint, \
%s bigint \
);
create.auditlog.store.table=create table if not exists %s ( \
id bigint auto_increment primary key, \
%s varchar(255), \
%s longblob, \
%s bigint, \
%s bigint, \
unit_id varchar(50), \
operator varchar(200), \
instance varchar(100) \
);
create.epoch.store.table=create table if not exists %s ( \
%s int null, \
%s varchar(255), \
%s varchar(2000) null, \
%s bigint null, \
%s varchar(10) null, \
%s varchar(5000) null, \
%s bigint null, \
`reserved_field_1` VARCHAR(50), \
`reserved_field_2` longblob, \
`reserved_field_3` longblob, \
primary key(%s) \
);