commit | 497ecd4b329f80c031fc192a25bb74a8127c9231 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@eaa15691-b419-025a-1212-ee371bd00084> | Tue Jun 05 08:35:30 2012 +0000 |
committer | buyingyi <buyingyi@eaa15691-b419-025a-1212-ee371bd00084> | Tue Jun 05 08:35:30 2012 +0000 |
tree | c972960cc75c18883ae9e3850598cc60ddebd2d6 | |
parent | c26a698beace369d42715ed45efafb573b5a5b74 [diff] |
minor change for the error messages git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_opentype@363 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java b/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java index 6597b44..b91abe7 100644 --- a/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java +++ b/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java
@@ -295,7 +295,7 @@ } // the input has extra fields if (!matched && !reqType.isOpen()) - throw new AlgebricksException("static type mismatch: including an extra closed field" + fieldName); + throw new AlgebricksException("static type mismatch: including an extra closed field " + fieldName); } // backward match: match from required to actual @@ -338,7 +338,7 @@ nullFields[i] = true; } else { // no matched field in the input for a required closed field - throw new AlgebricksException("static type mismatch: miss a required closed field" + reqFieldName); + throw new AlgebricksException("static type mismatch: miss a required closed field " + reqFieldName); } }