[ 
https://issues.apache.org/jira/browse/HIVE-18453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548618#comment-16548618
 ] 

Eugene Koifman commented on HIVE-18453:
---------------------------------------

[~ikryvenko],
I don't think this is going to work.  I don't think you are actually creating 
transactional tables in your tests.
for example {{update transactional_table_test set value='foo';}} in 
create_transactional.q would fail.

Incidentally, in SemanticAnalyzer
      {{tblProps = addDefaultProperties(tblProps, isExt, storageFormat, 
dbDotTab, sortCols, isMaterialization, true);}}
why is the last param true?

I think you'd need to add another param to addDefaultProperties() to indicate 
that it's called because of "create transactional" so that this method acts as 
if CREATE_TABLES_AS_ACID and HIVE_CREATE_TABLES_AS_INSERT_ONLY are both true.

> ACID: Add "CREATE TRANSACTIONAL TABLE" syntax to unify ACID ORC & Parquet 
> support
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-18453
>                 URL: https://issues.apache.org/jira/browse/HIVE-18453
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Gopal V
>            Assignee: Igor Kryvenko
>            Priority: Major
>         Attachments: HIVE-18453.01.patch, HIVE-18453.02.patch, 
> HIVE-18453.03.patch, HIVE-18453.04.patch, HIVE-18453.05.patch
>
>
> The ACID table markers are currently done with TBLPROPERTIES which is 
> inherently fragile.
> The "create transactional table" offers a way to standardize the syntax and 
> allows for future compatibility changes to support Parquet ACIDv2 tables 
> along with ORC tables.
> The ACIDv2 design is format independent, with the ability to add new 
> vectorized input formats with no changes to the design.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to