-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
[BUGFIX][Catalog] oracle catalog create table repeat and oracle pg null point #5517
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
} | ||
|
||
@Override | ||
protected String getTableName(TablePath tablePath) { | ||
return tablePath.getSchemaAndTableName().toUpperCase(); | ||
return tablePath.getSchemaAndTableName(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method can be removed now as it's identical to super method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
import java.util.List; | ||
import java.util.Map; | ||
|
||
public class JdbcOracleLowerTableIT extends AbstractJdbcIT { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to name it JdbcOracleLowercaseTableIT
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok !Then I added a new part6 because e2e always reports errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Purpose of this pull request
AbstractJdbcCatalog The catalogName passed down may be null,In this case, the automatic table construction will report an error, and can not distinguish the same table and heterogeneous table construction, will become all heterogeneous table construction
Previously, dialect was not added to the database sql. After dialect was added, oracle table may appear lowercase name, so determining whether the table exists will never exist, because the table name is converted to uppercase, but the actual table name is lowercase,And there will be an error building the statement
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.