Skip to content

Commit

Permalink
Merge pull request #209 from DSL-UMD/distributed
Browse files Browse the repository at this point in the history
[FIX] The PRIMARY KEY on the partitioned table INODES does not includ…
  • Loading branch information
gangliao authored Oct 1, 2019
2 parents 9f0a3b5 + f60c1f2 commit 92797bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions HdfsMetaInfoSchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ private HdfsMetaInfoSchema() throws SQLException {
+ " maxDate bigint, sequenceNumber int primary key, masterKeyId int, expiryDate bigint"
+ ");"
+ "CREATE TABLE inodes("
+ " id bigint primary key, parent bigint NOT NULL, name varchar,"
+ " id bigint, parent bigint NOT NULL, name varchar,"
+ " accessTime bigint, modificationTime bigint,"
+ " header bigint, permission bigint"
+ " header bigint, permission bigint,"
+ " PRIMARY KEY (id, parent)"
+ ");"
+ "PARTITION TABLE inodes ON COLUMN parent;"
+ "CREATE TABLE inodexattrs("
Expand Down

0 comments on commit 92797bc

Please sign in to comment.