We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLReplaceStatement.toString not working. for example:
@Test public void test_druid_repace_parse() { String sql = "replace into table1 (id,name) values('1','aa'),('2','bb')"; SQLReplaceStatement statement = parseSingleStatement(sql); String string = statement.toString(); Assert.assertEquals("table1idname('1', 'aa')('2', 'bb')", string); } protected <T extends SQLStatement> T parseSingleStatement(String sql) { final SQLStatement sqlStatement = SQLUtils.parseSingleStatement(sql, JdbcConstants.MYSQL, SkipComments); return (T) sqlStatement; }
but it's not correct. expected toString() result is : "replace into table1 (id,name) values('1','aa'),('2','bb')"
"replace into table1 (id,name) values('1','aa'),('2','bb')"
this bug is stail exist in latest version druid 1.1.23.
The text was updated successfully, but these errors were encountered:
add testcase for #3929
8374547
No branches or pull requests
SQLReplaceStatement.toString not working. for example:
but it's not correct. expected toString() result is :
"replace into table1 (id,name) values('1','aa'),('2','bb')"
this bug is stail exist in latest version druid 1.1.23.
The text was updated successfully, but these errors were encountered: