Repository: incubator-eagle Updated Branches: refs/heads/master 5da9df822 -> 188ddf500
[MINOR] Fix initial sql syntax problem [MINOR]Fix initial sql syntax problem - Fix sql comment. - Modify table name to lowercase, or got error "ERROR [2016-12-06 08:16:15,738] org.apache.eagle.alert.metadata.impl.JdbcMetadataHandler: Table 'eagle.kafka_tuple_metadata' doesn't exist". Author: chitin <chitin1...@gmail.com> Closes #716 from chitin/MINOR_SQL. Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/188ddf50 Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/188ddf50 Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/188ddf50 Branch: refs/heads/master Commit: 188ddf50086ef29b4af5c6afe498197dbc7aa0aa Parents: 5da9df8 Author: chitin <chitin1...@gmail.com> Authored: Tue Dec 6 19:14:18 2016 +0800 Committer: Hao Chen <h...@apache.org> Committed: Tue Dec 6 19:14:18 2016 +0800 ---------------------------------------------------------------------- eagle-server-assembly/src/main/bin/createTables.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/188ddf50/eagle-server-assembly/src/main/bin/createTables.sql ---------------------------------------------------------------------- diff --git a/eagle-server-assembly/src/main/bin/createTables.sql b/eagle-server-assembly/src/main/bin/createTables.sql index c5472b6..b6e635a 100644 --- a/eagle-server-assembly/src/main/bin/createTables.sql +++ b/eagle-server-assembly/src/main/bin/createTables.sql @@ -65,7 +65,7 @@ CREATE TABLE IF NOT EXISTS hbase_sensitivity_entity ( primary key (site, hbase_resource) ); ---- alert engine metadata +-- alert engine metadata CREATE TABLE IF NOT EXISTS stream_cluster ( id VARCHAR (50) PRIMARY KEY, @@ -77,7 +77,7 @@ CREATE TABLE IF NOT EXISTS stream_definition ( content longtext DEFAULT NULL ); -CREATE TABLE IF NOT EXISTS Kafka_tuple_metadata ( +CREATE TABLE IF NOT EXISTS kafka_tuple_metadata ( id VARCHAR (50) PRIMARY KEY, content longtext DEFAULT NULL );