quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cramja <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #129: Partial inserts
Date Thu, 17 Nov 2016 22:16:31 GMT
Github user cramja commented on a diff in the pull request:

    --- Diff: storage/StorageBlockLayout.cpp ---
    @@ -154,11 +154,7 @@ StorageBlockLayout* StorageBlockLayout::GenerateDefaultLayout(const
       TupleStorageSubBlockDescription *tuple_store_description = description->mutable_tuple_store_description();
    -  if (relation_variable_length) {
    -    tuple_store_description->set_sub_block_type(TupleStorageSubBlockDescription::SPLIT_ROW_STORE);
    -  } else {
    -    tuple_store_description->set_sub_block_type(TupleStorageSubBlockDescription::PACKED_ROW_STORE);
    -  }
    +  tuple_store_description->set_sub_block_type(TupleStorageSubBlockDescription::SPLIT_ROW_STORE);
    --- End diff --
    Just kidding. We need the default block type to be `SPLIT` because, if it's not, then
the now-required partial bulk insert method which has not been implemented in the packed row
store will cause a crash during query execution..

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message