Current error parameter in validateTableName can not throw exception in case of A.A.A, see testParseSingleBdNameAndTableNameWithError and testParseSingleBdNameAndTableNameWithError2.
To Reproduce
Steps to reproduce the behavior:
Go to TableNameCollectorTest
Dubug on testParseSingleBdNameAndTableNameWithError
You will find no exception throw, I think it's not as expected.
Expected behavior
Throw exception.
Actual behavior
No exception. Because there is no exception, so it pass these two tests luckily.
Versions
eg: 99b77fbac300b739d6383832273544bb09aa8396
Describe the bug
Current error parameter in
validateTableName
can not throw exception in case ofA.A.A
, seetestParseSingleBdNameAndTableNameWithError
andtestParseSingleBdNameAndTableNameWithError2
.To Reproduce
Steps to reproduce the behavior:
TableNameCollectorTest
testParseSingleBdNameAndTableNameWithError
Expected behavior
Throw exception.
Actual behavior
No exception. Because there is no exception, so it pass these two tests luckily.
Additional context