[jira] [Commented] (IMPALA-10475) SYNC_DDL docs should clarify that it only affects DML

2021-02-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-10475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17280016#comment-17280016
 ] 

ASF subversion and git services commented on IMPALA-10475:
--

Commit 81d5377c27f1940235db332e43f1d0f073cf3d2f in impala's branch 
refs/heads/master from Shajini Thayasingh
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=81d5377 ]

IMPALA-10475: [DOCS] elaborate SYNC_DDL option

call out that SYNC_DDL applies to all filesystem-based tables

Change-Id: I3f1bfce8430c681515101d00cabf9d70ae52e5ec
Reviewed-on: http://gerrit.cloudera.org:8080/17027
Tested-by: Impala Public Jenkins 
Reviewed-by: Tim Armstrong 


> SYNC_DDL docs should clarify that it only affects DML
> -
>
> Key: IMPALA-10475
> URL: https://issues.apache.org/jira/browse/IMPALA-10475
> Project: IMPALA
>  Issue Type: Task
>  Components: Docs
>Reporter: Tim Armstrong
>Assignee: shajini thayasingh
>Priority: Major
>
> https://impala.apache.org/docs/build/html/topics/impala_sync_ddl.html
> {noformat}
> Although INSERT is classified as a DML statement, when the SYNC_DDL option is 
> enabled, INSERT statements also delay their completion until all the 
> underlying data and metadata changes are propagated to all Impala nodes. 
> Internally, Impala inserts have similarities with DDL statements in 
> traditional database systems, because they create metadata needed to track 
> HDFS block locations for new files and they potentially add new partitions to 
> partitioned tables. 
> {noformat}
> I saw someone read this as applying to all tables (Kudu, HBase, etc) but it 
> only inherently applies to traditional non-transactional filesystem-based 
> tables. It also applies to transactional tables until IMPALA-8631 is fixed, 
> after which they will be more strongly consistent.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Commented] (IMPALA-10475) SYNC_DDL docs should clarify that it only affects DML

2021-02-04 Thread Tim Armstrong (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-10475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17279237#comment-17279237
 ] 

Tim Armstrong commented on IMPALA-10475:


I think I was a bit sloppy saying "traditional", we don't use that in the doc. 
I guess maybe we should actually just say that it does apply to all 
filesystem-based tables - transactional tables will be strongly consistent 
anyway, so the user-facing behaviour will be the same as if SYNC_DDL was used.

Maybe we can just weave it into the original sentence "Although INSERT is 
classified as a DML statement, when the SYNC_DDL option is enabled, INSERT 
statements on filesystem-based tables ..."

> SYNC_DDL docs should clarify that it only affects DML
> -
>
> Key: IMPALA-10475
> URL: https://issues.apache.org/jira/browse/IMPALA-10475
> Project: IMPALA
>  Issue Type: Task
>  Components: Docs
>Reporter: Tim Armstrong
>Assignee: shajini thayasingh
>Priority: Major
>
> https://impala.apache.org/docs/build/html/topics/impala_sync_ddl.html
> {noformat}
> Although INSERT is classified as a DML statement, when the SYNC_DDL option is 
> enabled, INSERT statements also delay their completion until all the 
> underlying data and metadata changes are propagated to all Impala nodes. 
> Internally, Impala inserts have similarities with DDL statements in 
> traditional database systems, because they create metadata needed to track 
> HDFS block locations for new files and they potentially add new partitions to 
> partitioned tables. 
> {noformat}
> I saw someone read this as applying to all tables (Kudu, HBase, etc) but it 
> only inherently applies to traditional non-transactional filesystem-based 
> tables. It also applies to transactional tables until IMPALA-8631 is fixed, 
> after which they will be more strongly consistent.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Commented] (IMPALA-10475) SYNC_DDL docs should clarify that it only affects DML

2021-02-04 Thread shajini thayasingh (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-10475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17279081#comment-17279081
 ] 

shajini thayasingh commented on IMPALA-10475:
-

[~tarmstrong] so can I just add this statement "{color:#de350b}_SYNC_DDL only 
applies to traditional non-transactional filesystem-based tables and does not 
apply to tables such as Kudu, HBase, etc_{color}"? I will add this statement 
following the para you have called out in the description " Although {{INSERT}} 
is classified as a DML statement, when the {{SYNC_DDL}} option is --"

In the long run SYNC_DDL will not apply to "Transactional tables" so I am 
considering NOT to mention "transactional tables". Please share your opinion 
here.

 

> SYNC_DDL docs should clarify that it only affects DML
> -
>
> Key: IMPALA-10475
> URL: https://issues.apache.org/jira/browse/IMPALA-10475
> Project: IMPALA
>  Issue Type: Task
>  Components: Docs
>Reporter: Tim Armstrong
>Assignee: shajini thayasingh
>Priority: Major
>
> https://impala.apache.org/docs/build/html/topics/impala_sync_ddl.html
> {noformat}
> Although INSERT is classified as a DML statement, when the SYNC_DDL option is 
> enabled, INSERT statements also delay their completion until all the 
> underlying data and metadata changes are propagated to all Impala nodes. 
> Internally, Impala inserts have similarities with DDL statements in 
> traditional database systems, because they create metadata needed to track 
> HDFS block locations for new files and they potentially add new partitions to 
> partitioned tables. 
> {noformat}
> I saw someone read this as applying to all tables (Kudu, HBase, etc) but it 
> only inherently applies to traditional non-transactional filesystem-based 
> tables. It also applies to transactional tables until IMPALA-8631 is fixed, 
> after which they will be more strongly consistent.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org