Skip to content

Commit

Permalink
TEIID-4006 adding missing keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Feb 26, 2016
1 parent e9cd770 commit 4687739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -2025,6 +2025,8 @@ public void visit( TextTable obj ) {
append(NonReserved.ORDINALITY);
} else {
if (col.getHeader() != null) {
append(NonReserved.HEADER);
append(SPACE);
outputLiteral(String.class, false, col.getHeader());
append(SPACE);
}
Expand Down
Expand Up @@ -588,7 +588,7 @@ public static ClobType clobFromFile(final String file) {

HardcodedDataManager dataManager = new HardcodedDataManager();
Command cmd = helpParse(sql);
assertEquals("SELECT x.x FROM TEXTTABLE('h.1\\u000Aa' COLUMNS x 'h.1' string HEADER) AS x", cmd.toString());
assertEquals("SELECT x.x FROM TEXTTABLE('h.1\\u000Aa' COLUMNS x HEADER 'h.1' string HEADER) AS x", cmd.toString());
ProcessorPlan plan = helpGetPlan(cmd, RealMetadataFactory.example1Cached());
helpProcess(plan, dataManager, expected);
}
Expand Down

0 comments on commit 4687739

Please sign in to comment.