diff options
author | Arina Ielchiieva <arina.yelchiyeva@gmail.com> | 2019-03-05 19:29:18 +0200 |
---|---|---|
committer | Arina Ielchiieva <arina.yelchiyeva@gmail.com> | 2019-03-11 11:48:37 +0200 |
commit | 78dc86843fb9ef2683156708bc545a6b1950cb87 (patch) | |
tree | 5308d46a8eb6bc48a41d483197c61a16828a5904 /exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java | |
parent | d585452b52e94a91ae76a24550c5c476847a9cba (diff) |
DRILL-7073: CREATE SCHEMA command / TupleSchema / ColumnMetadata improvements
1. Add format, default, column properties logic.
2. Changed schema JSON after serialization.
3. Added appropriate unit tests.
closes #1684
Diffstat (limited to 'exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java')
-rw-r--r-- | exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java b/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java index 58c979b34..110efeb7e 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java @@ -30,7 +30,6 @@ public class TestParserErrorHandling { public void testUnsupportedType() { String schema = "col unk_type"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,4:11='unk_type',<38>,1:4]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } @@ -54,7 +53,6 @@ public class TestParserErrorHandling { public void testUnquotedId() { String schema = "id with space varchar"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,3:6='with',<38>,1:3]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } @@ -62,7 +60,6 @@ public class TestParserErrorHandling { public void testUnescapedBackTick() { String schema = "`c`o`l` varchar"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,3:3='o',<38>,1:3]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } @@ -78,7 +75,6 @@ public class TestParserErrorHandling { public void testMissingType() { String schema = "col not null"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,4:6='not',<34>,1:4]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } |