Skip to content

[IOTDB-288] Fix unclear error message notification for "creating timeseries" clause#516

Merged
qiaojialin merged 3 commits intoapache:masterfrom
samperson1997:jira_288
Nov 5, 2019
Merged

[IOTDB-288] Fix unclear error message notification for "creating timeseries" clause#516
qiaojialin merged 3 commits intoapache:masterfrom
samperson1997:jira_288

Conversation

@samperson1997
Copy link
Contributor

Fix unclear error message notification for "creating timeseries" clause.
As for the example in JIRA issue, current error for statement CREATE TIMESERIES root.mi.d1.RANDOM_foo:BYTE WITH DATATYPE=INT32, ENCODING=RLE. would be:
Statement format is not right: parsing error,statement: CREATE TIMESERIES root.sg1.d1.RANDOM_foo:BYTE WITH DATATYPE=INT64, ENCODING=RLE .message:line 1:40 character ':' not supported here

@@ -111,7 +108,7 @@ private AstNode parseSQLToAST(String sqlStr) throws IllegalASTFormatException {
} catch (ParseException e) {
// e.printStackTrace();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this.

@qiaojialin qiaojialin merged commit feee3f7 into apache:master Nov 5, 2019
@samperson1997 samperson1997 deleted the jira_288 branch November 5, 2019 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants