Uh oh!
There was an error while loading. Please reload this page.
Add more tests for PHOENIX-6247 - #1192
Conversation
stoty
commented
Apr 8, 2021
💔 -1 overall
This message was automatically generated. |
| try (HBaseAdmin admin = conn.unwrap(PhoenixConnection.class).getQueryServices() | ||
| .getAdmin()) { | ||
| assertEquals(false, admin.tableExists(TableName.valueOf(fullTableHName))); |
There was a problem hiding this comment.
Aren't you already doing this check in test_bothTableAndIndexHaveDifferentNames which you just called?
| // Drop row and check | ||
| conn.createStatement().execute("ALTER TABLE " + fullTableName + " DROP COLUMN NEW_COLUMN_1"); | ||
There was a problem hiding this comment.
Looks like we drop but don't check as the comment says we will? Or is the lack of an exception the only check we need here?
There was a problem hiding this comment.
Will update the comment. Yes lack of exception
stoty
commented
Apr 9, 2021
💔 -1 overall
This message was automatically generated. |
| return table; | ||
| } | ||
| private PName getPhysicalTableName(Region region, byte[] tenantId, byte[] schema, byte[] table, long timestamp) throws IOException { |
There was a problem hiding this comment.
You think adding this to SchemaUtil make any sense. I see a lot of implementation of getPhysicalTableName there
virajjasani
commented
Apr 18, 2021
Thanks @gokceni. Is PR against master branch open? |
gokceni
commented
Apr 19, 2021
@virajjasani I merged all of these on master and 4.x Closing |
No description provided.