eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [3/3] incubator-eagle git commit: EAGLE-202 Fix primary key length for mysql and add mysql webservice sample configuration
Date Fri, 18 Mar 2016 10:04:39 GMT
EAGLE-202 Fix primary key length for mysql and add mysql webservice sample configuration

https://issues.apache.org/jira/browse/EAGLE-202

Author: @haoch <hao@apache.org>

Closes #127.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/c4bdb63f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/c4bdb63f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/c4bdb63f

Branch: refs/heads/master
Commit: c4bdb63f83e5d7d12924466e5eea778fbd061a8e
Parents: c6b76b9
Author: Hao Chen <hao@apache.org>
Authored: Fri Mar 18 17:56:36 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Fri Mar 18 18:03:18 2016 +0800

----------------------------------------------------------------------
 .../jdbc/schema/JdbcEntitySchemaManager.java    |    3 +-
 .../lib/EAGLE/package/patches/app.js            | 2689 +++++++++---------
 .../src/main/resources/application-mysql.conf   |   28 +
 3 files changed, 1382 insertions(+), 1338 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/c4bdb63f/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntitySchemaManager.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntitySchemaManager.java
b/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntitySchemaManager.java
index 8489da7..4cd1967 100644
--- a/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntitySchemaManager.java
+++ b/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntitySchemaManager.java
@@ -179,8 +179,7 @@ public class JdbcEntitySchemaManager implements IJdbcEntityDDLManager
{
         pkColumn.setPrimaryKey(true);
         pkColumn.setRequired(true);
         pkColumn.setTypeCode(Types.VARCHAR);
-        pkColumn.setSize("1024");
-//        pkColumn.setSizeAndScale(1024,10240);
+//        pkColumn.setSize("256");
 
         pkColumn.setDescription("eagle entity row-key column");
         table.addColumn(pkColumn);


Mime
View raw message