Uh oh!
There was an error while loading. Please reload this page.
PHOENIX-6124 : Conditionally block adding/dropping a column on a parent view - #917
PHOENIX-6124 : Conditionally block adding/dropping a column on a parent view#917virajjasani wants to merge 3 commits into
Conversation
stoty
commented
Oct 13, 2020
💔 -1 overall
This message was automatically generated. |
stoty
commented
Oct 13, 2020
💔 -1 overall
This message was automatically generated. |
virajjasani
commented
Oct 14, 2020
It's strange that build data is not present over ci-hadoop jenkins. |
stoty
commented
Oct 14, 2020
It is indeed. |
virajjasani
commented
Oct 14, 2020
Thanks @stoty for taking a look. |
virajjasani
commented
Oct 14, 2020
INFRA Jira is filed. FYI https://issues.apache.org/jira/browse/INFRA-20984 |
stoty
commented
Oct 15, 2020
💔 -1 overall
This message was automatically generated. |
virajjasani
commented
Oct 15, 2020
@ChinmaySKulkarni@gjacoby126 could you please review this PR? |
stoty
commented
Oct 15, 2020
💔 -1 overall
This message was automatically generated. |
stoty
commented
Oct 16, 2020
💔 -1 overall
This message was automatically generated. |
yanxinyi
commented
Oct 17, 2020
LGTM +1. |
| @BeforeClass | ||
| public static synchronized void doSetup() throws Exception { | ||
| Map<String, String> serverProps = Maps.newHashMapWithExpectedSize(1); | ||
| serverProps.put(QueryServices.ALLOW_SPLITTABLE_SYSTEM_CATALOG_ROLLBACK, "true"); |
There was a problem hiding this comment.
I think Phoenix already tested add/dropColumnOnParentTableView when ALLOW_SPLITTABLE_SYSTEM_CATALOG_ROLLBACK=false so no dup tests are needed.
Just want to double confirm :)
There was a problem hiding this comment.
Thanks @yanxinyi , I think there are tests related to ALLOW_SPLITTABLE_SYSTEM_CATALOG_ROLLBACK=false (default value) but CANNOT_MUTATE_TABLE error code is not tested for table and view both. Also, without this source code change, this test will fail because we don't have coverage for View. Hence, thought of writing it separately to cover all 4 cases together: add/delete and table/view.
Hence, I think for false value of ALLOW_SPLITTABLE_SYSTEM_CATALOG_ROLLBACK, we don't need additional test :)
Sounds good?
stoty
commented
Oct 20, 2020
💔 -1 overall
This message was automatically generated. |
No description provided.